Chapter 2. Creating a Simple Knockout.js Application

In this chapter, we'll create a simple Knockout.js application in pure JavaScript, which uses the fundamental concepts from Chapter 1, Introduction to Knockout.js. Also, we'll discuss how to use advanced Knockout.js features, such as working with special bindings, and computed observables.

This experience is needed to create any Knockout.js application of medium level. Also, it's needed to understand client-server interaction in real ASP.NET MVC applications.

We will cover the following topics in this chapter:

  • Text and appearance bindings
  • Form field bindings
  • Control flow bindings
  • Computed observables
  • Observable arrays

Creating the Model, View, and ViewModel

In this chapter, we will develop a Single ...

Get Getting Started with Knockout.js for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.