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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.