Titre : | Knockout.js : building dynamic client-side web applications |
Auteurs : | Jamie Munro |
Type de document : | Books |
Editeur : | Sebastopol, CA [United States] : O'Reilly Media, 2015 |
Article en page(s) : | XI, 86 p. |
ISBN/ISSN/EAN : | 978-1-4919-1431-1 |
Langues: | Anglais |
Index. décimale : | 005.3/76 |
Catégories : | |
Tags : | JavaScript (Computer Program Language) |
Résumé : |
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 |