Knockout is a JavaScript library that makes it easier to create rich, desktop-like user interfaces with JavaScript and HTML, using observers to make your UI automatically stay in sync with an underlying data model. It works particularly well with the MVVM pattern, offering declarative bindings somewhat like Silverlight but without the browser plugin.
Knockout combines some different ideas that open up very powerful possibilities:
Automatic dependency tracking:
At the heart of Knockout is a system of observable variables and other variables computed as functions of them.
Declarative bindings:
By adding a data-* attribute (part of the HTML 5 spec, and works fine in older browsers, including IE 6) you can quickly bind appearance and behaviour in your HTML to properties on a view model.
Nested templates:
When you have a rich structure of view model data to display, it makes sense to display it using a template to keep your code simple.
Maheshvishnu, if this helps please login to Mark As Answer. | Alert Moderator