Chapter 3. Extending Knockout with Preprocessors and Providers
In the previous chapter, we looked at adding custom binding handlers to Knockout in order to add features and integrate them with third-party tools. This capability was part of Knockout when it was first released, and it allows for powerful extensions to Knockout's functionality. In this chapter, we are going to look at some more advanced techniques for extending, or even changing, Knockout binding behaviors. You will learn how to create:
- Binding handler preprocessors
- Node preprocessors
- Binding providers
After we cover this, we will take a look at the Knockout Punches library, which is a collection of preprocessors and extensions by Knockout developer Michael Best.