Mastering KnockoutJS : use and extend Knockout to deliver feature-rich, modern web applications /: use and extend Knockout to deliver feature-rich, modern web applications. ([2014])
- Record Type:
- Book
- Title:
- Mastering KnockoutJS : use and extend Knockout to deliver feature-rich, modern web applications /: use and extend Knockout to deliver feature-rich, modern web applications. ([2014])
- Main Title:
- Mastering KnockoutJS : use and extend Knockout to deliver feature-rich, modern web applications
- Other Titles:
- Use and extend Knockout to deliver feature-rich, modern web applications
- Further Information:
- Note: Timothy Moran.
- Authors:
- Moran, Timothy
- Contents:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Knockout Essentials; The environment setup; Looking at the samples; JavaScript's compatibility; An overview of Knockout; Observables; Observable arrays; Computed observables; Writable computed observables; Pure computed observables; Manual subscriptions; Defining viewmodels; The this and self keywords; Problems with prototypes; Serializing viewmodels; The data-bind syntax; Binding with nested properties; Binding against functions; Binding with expressions. Binding with function expressionsUsing parentheses in bindings; Debugging with ko.toJSON; Control flow bindings; The if binding; The with binding; The foreach binding; Template binding; Reusable templates; Recursive templates; Dynamic templates; Containerless control flow; Extenders; Simple extenders; Extenders with options; Extenders that replace the target; The Contacts List application; Overview; The contact model; The Contacts page viewmodel; A philosophical note on a model versus a viewmodel; Mock data service; The view; The edit form; Contacts list; Summary. Chapter 2: Extending Knockout with Custom Binding HandlersThe data binding pattern; Components of a binding handler; Using custom binding handlers; Simple binding handlers; Animated binding handlers; Working with third-party controls; Modifying the DOM with bindings; Applying new bindings to new children elements; Applying accessors;Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Knockout Essentials; The environment setup; Looking at the samples; JavaScript's compatibility; An overview of Knockout; Observables; Observable arrays; Computed observables; Writable computed observables; Pure computed observables; Manual subscriptions; Defining viewmodels; The this and self keywords; Problems with prototypes; Serializing viewmodels; The data-bind syntax; Binding with nested properties; Binding against functions; Binding with expressions. Binding with function expressionsUsing parentheses in bindings; Debugging with ko.toJSON; Control flow bindings; The if binding; The with binding; The foreach binding; Template binding; Reusable templates; Recursive templates; Dynamic templates; Containerless control flow; Extenders; Simple extenders; Extenders with options; Extenders that replace the target; The Contacts List application; Overview; The contact model; The Contacts page viewmodel; A philosophical note on a model versus a viewmodel; Mock data service; The view; The edit form; Contacts list; Summary. Chapter 2: Extending Knockout with Custom Binding HandlersThe data binding pattern; Components of a binding handler; Using custom binding handlers; Simple binding handlers; Animated binding handlers; Working with third-party controls; Modifying the DOM with bindings; Applying new bindings to new children elements; Applying accessors; Controlling the order of binding handlers; Advanced binding handlers; Binding complex data with charts; Dynamically adjusting the chart type; Exposing APIs through bindings; Binding contexts and descendant bindings; Controlling descendant bindings. Child binding contextsExtending binding contexts; Setting a new root context; Containerless syntax with custom bindings; Using the virtual elements API; Summary; Chapter 3: Extending Knockout with Preprocessors and Providers; Binding the handler preprocessing; Creating preprocessors; The uppercase preprocessor; Wrapping existing bindings; Node preprocessors; Closing virtual template nodes; Supporting alternate syntaxes; Multiple syntaxes; Binding providers; Custom binding providers; Knockout punches; Embedded text bindings; Namespaced bindings; Dynamic namespaced bindings; Binding filters. Writing custom filtersFilters on other bindings; Adding additional preprocessors; Summary; Chapter 4: Application Development with Components and Modules; RequireJS -- AMD viewmodels; An overview of RequireJS; Asynchronous Module Definitions; Starting RequireJS; Configuration; Starting the app; The text plugin; Components; The basic component registration; Custom elements in IE 8 and higher; Template registration; The element ID; The element instance; An array of DOM nodes; Document fragments; HTML strings; Registering templates using the AMD module; The viewmodel registration. … (more)
- Publisher Details:
- Birmingham, UK : Packt Publishing
- Publication Date:
- 2014
- Copyright Date:
- 2014
- Extent:
- 1 online resource (1 volume), illustrations
- Subjects:
- 006.76
COMPUTERS -- Programming Languages -- JavaScript
Application software -- Development
Web applications
Application software -- Development
KnockoutJS
Web site development
COMPUTERS -- Computer Literacy
COMPUTERS -- Computer Science
COMPUTERS -- Data Processing
COMPUTERS -- Hardware -- General
COMPUTERS -- Information Technology
COMPUTERS -- Machine Theory
COMPUTERS -- Reference
Application software -- Development
Web applications
COMPUTERS -- Internet -- Application Development
Electronic books - Languages:
- English
- ISBNs:
- 9781783981014
1783981016
1783981008
9781783981007 - Related ISBNs:
- 9781783981007
- Notes:
- Note: Online resource; title from cover (Safari, viewed December 18, 2014).
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.87711
- Ingest File:
- 01_120.xml