Profile

Cover photo
Lê Thị Mỹ Linh
Works at Harvey Nash plc
Attended University of Science, Ho Chi Minh
Lives in Ho Chi Minh
1,785 followers|16,878 views
AboutPostsPhotosYouTube

Stream

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
9 comments on original post
1
1
Tim Vo's profile photo
Add a comment...

Lê Thị Mỹ Linh

Shared publicly  - 
 
great woman :d
1
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 */...
1
Add a comment...
In her circles
158 people
Have her in circles
1,785 people
Tuấn Anh Vũ's profile photo
Sằm Công's profile photo
Nguyen Truong Hoang's profile photo
tuan nguyen anh's profile photo
Cỏ Dại's profile photo
Sai Gon Le Vu's profile photo
thong thai seed thailand's profile photo
Hieu Trung's profile photo
Kinh Doanh's profile photo

Lê Thị Mỹ Linh

Shared publicly  - 
 
great!
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.
1
Lê Thị Mỹ Linh's profile photo
 
http://expressjs.com/guide.html  (express for node)
Add a comment...
People
In her circles
158 people
Have her in circles
1,785 people
Tuấn Anh Vũ's profile photo
Sằm Công's profile photo
Nguyen Truong Hoang's profile photo
tuan nguyen anh's profile photo
Cỏ Dại's profile photo
Sai Gon Le Vu's profile photo
thong thai seed thailand's profile photo
Hieu Trung's profile photo
Kinh Doanh's profile photo
Work
Occupation
SD
Employment
  • Harvey Nash plc
    SD, present
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Ho Chi Minh
Previously
Bình Tân - Hồ Chí Minh
Links
Contributor to
Story
Introduction
Keep all in my mind
Education
  • University of Science, Ho Chi Minh
    IT, 2005 - 2009
Basic Information
Gender
Female