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 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 ...

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