MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/20pd5h/angularjs_20/cg5lr10/?context=3
r/programming • u/sidcool1234 • Mar 18 '14
71 comments sorted by
View all comments
Show parent comments
11
Angular doesn't use an Observer pattern because it didn't want to use a Model object like some other frameworks. In angular you can use any plain old javascript object I want as long as I attach it to the $scope.
11 u/Asmor Mar 18 '14 plain old javascript objectDude, you gotta call them POJOs or else people will ignore them because it doesn't sound sexy if it doesn't have an acronym. 3 u/bitspace Mar 18 '14 Except that's already in use for Java. 2 u/Asmor Mar 18 '14 Meh.It fits JS pretty damn well too.
plain old javascript object
Dude, you gotta call them POJOs or else people will ignore them because it doesn't sound sexy if it doesn't have an acronym.
3 u/bitspace Mar 18 '14 Except that's already in use for Java. 2 u/Asmor Mar 18 '14 Meh.It fits JS pretty damn well too.
3
Except that's already in use for Java.
2 u/Asmor Mar 18 '14 Meh.It fits JS pretty damn well too.
2
Meh.
It fits JS pretty damn well too.
11
u/NeverSpeaks Mar 18 '14
Angular doesn't use an Observer pattern because it didn't want to use a Model object like some other frameworks. In angular you can use any plain old javascript object I want as long as I attach it to the $scope.