Book Image

KNOCKOUTJS BLUEPRINTS

By : Carlo Russo
Book Image

KNOCKOUTJS BLUEPRINTS

By: Carlo Russo

Overview of this book

Table of Contents (12 chapters)
KnockoutJS Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. From Idea to Realization

In this chapter, we are going to assume that your experience with KnockoutJS is very minimal; here, we will introduce how to get it and start using it. We will also learn the philosophy behind this great library and the pattern, Model-View-ViewModel (MVVM).

We will learn all this while building a simple, small e-commerce web application and we will see why everything is easier when you work thinking about models instead of document object model (DOM) nodes.

By the end of this chapter you'll know:

  • What KnockoutJS is

  • What are and how to use KnockoutJS observables, computed observables, and data binding

  • What benefits the MVVM design pattern gives you

  • The magic behind this library

  • How to apply MVVM using KnockoutJS

If you already know how to use KnockoutJS, you can take a quick read through this chapter.