Knockout.js: Building Dynamic Client-Side Web ApplicationsUse 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.
|
Contents
Chapter 1 Getting Started with KnockoutJS | 1 |
Chapter 2 The Ins and Outs of Data Binding | 7 |
Chapter 3 Understanding the Data Binding Context | 11 |
Chapter 4 Dynamically Changing Properties | 21 |
Chapter 5 Working with Forms | 31 |
Chapter 6 Multiple ViewModels Custom Data Bindings and Templates | 39 |
Chapter 7 Enhancing Observables | 47 |
Other editions - View all
Common terms and phrases
20 Recipes ActionScript AJAX request Android and iPhone AppleScript autocomplete binding DOCTYPE Binding with KnockoutJS</title body books array bound button cartItems changes CHAPTER client-side computed observable conditional statement contains context Cross-Platform Mobile Development custom function data binding data-bind="value data-bound Development for Android Development With CakePHP displayed dynamically executed firstName foreach binding function ViewModel head inside isbn jQuery JSON Knockout binding ko.applyBindings ko.applyBindings(viewModel ko.observable ko.observableArray lastName mapping plugin matchedTags name property object object-oriented programming observable array observableArray placeholder="Enter previous example Programming MVC Programming PhoneGap publishedDate pureComputed Rapid Application Development Recipes for Programming Safari Books Online script type='text/javascript self.books self.firstName self.lastName self.name server shopping cart showExtraData shown in Example Smarter Web Development span data-bind="text src="js/jauery.js'></script src="js/knockout subscribers tbody td data-bind="text tells Knockout template textarea thead TinyMCE title>Data Binding unordered list updated user interface user’s value binding valueAccessor XAMPP