
Knockout.js
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
Additional editions

Content
- Intro
- Table of Contents
- Preface
- Dynamic Client-Side Applications
- Installing KnockoutJS
- Conventions Used in This Book
- Using Code Examples
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. Getting Started with KnockoutJS
- Data Binding Syntax
- Data Binding Example
- What Is MVVM
- Creating a ViewModel
- Object-Oriented ViewModels
- ViewModels with Parameters
- Chapter 2. The Ins and Outs of Data Binding
- Binding HTML Data
- Binding HTML Attributes, CSS Classes, and CSS Styles
- Condition-Based Data Binding
- Chapter 3. Understanding the Data Binding Context
- foreach Binding
- foreach Callbacks (Events)
- with Binding
- Chapter 4. Dynamically Changing Properties
- Defining an Observable
- pureComputed Observables
- Showing and Hiding Elements
- Adding and Removing Elements
- When to Use Observables
- Chapter 5. Working with Forms
- Form Data Bindings
- Event Data Bindings
- Listening for Changes
- Unobtrusive Form Validation
- Chapter 6. Multiple ViewModels, Custom Data Bindings, and Templates
- Binding Multiple ViewModels
- Binding to a WYSIWYG Editor
- Binding to a Knockout Template
- Chapter 7. Enhancing Observables
- Extending Observables
- Adding Custom Functions to Observables
- Rate-Limiting Observables
- Chapter 8. Server-Side Interaction
- Sending Data
- Receiving Data
- Chapter 9. The Mapping Plugin
- Map from an Object
- Map from JSON (or a Server)
- Observing and Ignoring Specific Properties
- Chapter 10. A Practical Example
- Building a Shopping Cart
- Chapter 11. Next Steps
- The Simplicity of Knockout
- The User's Context
- Page Reloads for Content Updates
- Conclusion
- Index
- About the Author
System requirements
File format: PDF
Copy-Protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our eBook Help page.