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 and powerful pivots where we will extend rapid application development with Knockout.