O'Reilly logo

KnockoutJS Web Development by John Farrar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Coding – AJAX, Binding Properties, Mapping, and Utilities

There is an aspect of Knockout that takes repeated tasks out of the way. There is also the reality that we never expect it to do 100 percent of our work. It also makes sense that we do not have Knockout doing so much as it is not good at its core strengths. Here, we will learn how to extend our reach into Knockout and how to connect to the world outside Knockout and do even more. This chapter will focus on:

  • Working with JSON
  • Mapping versus manual ViewModels
  • Working with AJAX requests
  • Unmapping your data
  • Managed mapping
  • Utility functions

In this chapter, we will be learning about some of the commonly used aspects of Knockout—working with JSON and the mapping plugin. These two are simple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required