Introduction to Knockout js with Play template


Knockout is a JavaScript library that is based on Model–view–viewmodel (MVVM) that helps to build responsive UI display. This makes clear separation between model(Domain model/ stored data), view(User Interface) and view-model(presentation of model in which binder communicates between view and data-binder).

Why Knockout js?

1. Declarative bindings : This is a convenient way to bind the html to the data model. When we try to manipulates the DOM with the declarative binding all the bounded element remain connected

2.Dependency Tracking : Whenever you modify or update your data model, It will automatically updates the associated UI.

3.MVVM Design Pattern: knockout build a connection between ViewModel and View, and it any updation take place it will automatically update the UI element.

4.Extensible – This implements custom behaviors as new declarative bindings for easy reuse in just a few lines of code..

5. and many more


View original post 214 more words


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s