Cover photo
Lê Thị Mỹ Linh
Works at Harvey Nash plc
Attended University of Science, Ho Chi Minh
Lives in Ho Chi Minh
2,011 followers|17,809 views


Lê Thị Mỹ Linh

Shared publicly  - 
MVC vs MVVM vs MVP. What a controversial topic that many developers can spend hours and hours debating and arguing about.

For several years +AngularJS was closer to MVC (or rather one of its client-side variants), but over time and thanks to many refactorings and api improvements, it's now closer to MVVM – the $scope object could be considered the ViewModel that is being decorated by a function that we call a Controller.

Being able to categorize a framework and put it into one of the MV* buckets has some advantages. It can help developers get more comfortable with its apis by making it easier to create a mental model that represents the application that is being built with the framework. It can also help to establish terminology that is used by developers.

Having said, I'd rather see developers build kick-ass apps that are well-designed and follow separation of concerns, than see them waste time arguing about MV* nonsense. And for this reason, I hereby declare AngularJS to be MVW framework - Model-View-Whatever. Where Whatever stands for "whatever works for you".

Angular gives you a lot of flexibility to nicely separate presentation logic from business logic and presentation state. Please use it fuel your productivity and application maintainability rather than heated discussions about things that at the end of the day don't matter that much.

#AngularJS   #MVW
10 comments on original post
Add a comment...

Lê Thị Mỹ Linh

Shared publicly  - 
great woman :d
Add a comment...

Lê Thị Mỹ Linh

Shared publicly  - 
In a previous example, “Creating a simple Petfinder API client using Node.js”, we saw how you could create a simple client for the Petfinder API using Node.js and the “http” module. The following example shows how you can convert the petfinder function to a reusable Node.js module.
Lê Thị Mỹ Linh's profile photo  (express for node)
Add a comment...

Lê Thị Mỹ Linh

Shared publicly  - 
Hello, CSS lover! Code used in this page. /* Shorthand version */ #hello { display: inline-block; border: 1px dashed #000; padding: 10px; background: #ffffa2; height: 20px; opacity: 0.3; /* Firefox */...
Add a comment...
Have her in circles
2,011 people
Hà Trần Thu's profile photo
Chat Online's profile photo
Thành Tuân Nguyễn's profile photo
Nhan Huu Nguyen's profile photo
Kinh Vồn's profile photo
Nguyễn Thu Hà's profile photo
Giỏi Giáo Viên's profile photo
Trung Lùn's profile photo
batuoc Kenvin's profile photo
  • Harvey Nash plc
    SD, present
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Ho Chi Minh
Bình Tân - Hồ Chí Minh
Keep all in my mind
  • University of Science, Ho Chi Minh
    IT, 2005 - 2009
Basic Information