O'Reilly logo

Getting Started with Knockout.js for .NET Developers by Andrey Akinshin

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 5. Advanced Features of Knockout.js

Unfortunately, the basic features of Knockout.js are often not enough to write a really complex application. In this chapter, we will discuss some advanced features that may be useful in specific development scenarios. The features can be used in a pure Knockout.js application and in an application with server ASP.NET MVC logic. Also, understanding some of its features will help you understand how Knockout MVC works (see the next chapter for more details).

The list of topics that will be covered in this chapter is as follows:

  • Loading and saving JSON data
  • Mapping
  • Binding context
  • Custom bindings
  • Extending observables
  • Using fn to add custom functions
  • Template binding

Loading and saving JSON data

In client-server ...

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