CHAPTER 2

image

HTML5 and JavaScript Apps with MVVM and Knockout

In Chapter 1 we built an XAML-based app using MVVM and in this chapter we build a JavaScript-based data-driven app using HTML5, CSS, and Knockout JS.

Knockout JS is a popular open source MVVM JavaScript framework. This framework helps us to adpot some of the principles like BaseModel, inheritance, and data binding in a way that helps us write code that remains manageable, testable, and maintainable.

This chapter begins by helping you get started with Knockout, going through the resources and tools needed to start with Knockout and use it with Visual Studio. We then provide a demonstration ...

Get Beginning Windows 8 Data Development: Using C# and JavaScript now with the O’Reilly learning platform.

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