Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Is AngularJs MVVM or MVC? | MVVM vs MVC

Is AngularJs Mvvm or MVC?
AngularJs is MVVM not MVC and the MVVM stand for Model-View-View Model.

AngularJs is a framework for writing Single Page applications (SPA). It is just one of many JavaScript frameworks for developing SPA, but it is widely used.
 
What are the differences between MVC and MVVM?
MVC -
1.       MVC is a design pattern
2.       MVC work like disconnected mode
3.       MVC supported only one-way binding
4.       In MVC, not update UI automatically when your data model update. Need event to call data model and update it
5.       In MVC, model parts directly bind with the view page

MVVM
1.       MVVM is a design pattern
2.       MVVM supported two ways binding
3.       The UI is update automatically when your data model update


This post first appeared on Programming, please read the originial post: here

Share the post

Is AngularJs MVVM or MVC? | MVVM vs MVC

×

Subscribe to Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×