Knockout.js: Building Dynamic Client-Side Web Applications
- Length: 102 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2015-01-03
- ISBN-10: 1491914319
- ISBN-13: 9781491914311
- Sales Rank: #1208681 (See Top 100 Books)
Use Knockout.js to design and build dynamic client-side web applications that are extremely responsive and easy to maintain. This example-driven book shows you how to use this lightweight JavaScript framework and its Model-View-ViewModel (MVVM) pattern. You’ll learn how to build your own data bindings, extend the framework with reusable functions, and work with a server to enhance your client-side application with persistence. In the final chapter, you’ll build a shopping cart to see how everything fits together.
If you’re a web developer with experience in JavaScript, HTML, and CSS, you’re ready for Knockout.
- Learn how to create a ViewModel
- Bind HTML data and attributes, and CSS classes and styles
- Understand data binding in Knockout’s context hierarchy
- Use properties that change dynamically through user interaction
- Work with forms by using several different bindings
- Bind multiple ViewModels on a single page
- Extend or attach custom functions to observables
- Perform server-side interactions with jQuery
- Map a JavaScript object or apply JSON data to a new object
Table of Contents
Chapter 1. Getting Started with KnockoutJS
Chapter 2. The Ins and Outs of Data Binding
Chapter 3. Understanding the Data Binding Context
Chapter 4. Dynamically Changing Properties
Chapter 5. Working with Forms
Chapter 6. Multiple ViewModels, Custom Data Bindings, and Templates
Chapter 7. Enhancing Observables
Chapter 8. Server-Side Interaction
Chapter 9. The Mapping Plugin
Chapter 10. A Practical Example
Chapter 11. Next Steps
Donate to keep this site alive
How to download source code?
1. Go to: https://www.oreilly.com/
2. Search the book title: Knockout.js: Building Dynamic Client-Side Web Applications
, sometime you may not get the results, please search the main title
3. Click the book title in the search results
3. Publisher resources
section, click Download Example Code
.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.