How knockout js different from MVC ?

How knockout js different from MVC ?

·   Knockout js is a MVVM pattern.
·   MVC is a design pattern.

·   Knockout js work like connected mode.
·   MVC work like disconnected mode.

·   Knockout js supported two types of binding
o   One-way binding
·   MVC supported only one-way binding.

·   In Knockout js, UI part automatically update when your data model update.
·   In MVC, not update UI automatically when your data model update. Need event to call data model and update it.

·   In MVC, model part directly bind with the view page.
·   In Knockout js, model part is not directly bind with the view page. Model directly bind with the view-model and view-model directly with the view page.

ANIL SINGH

Anil Singh is an author, tech blogger, and software programmer. Book writing, tech blogging is something do extra and Anil love doing it. For more detail, kindly refer to this link..
My Blogs - https://code-sample.com and https://code-sample.xyz
My Book1 - BEST SELLING ANGULAR BOOK (INCLUDING ALL VERSIONS 2, 4, 5, 6, 7)
My Book2 - ANGULAR 2 INTERVIEW QUESTIONS BOOK - Both Books are Available on WorldWide.

www.code-sample.com/. Powered by Blogger.