MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/20pd5h/angularjs_20/cg5z679/?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. 4 u/jyper Mar 18 '14 or POJSOs (to not confuse them with java objects) 1 u/nomeme Mar 18 '14 They are really just maps, so it's POJMs(the POJO term in java is stupid and makes no sense btw)
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.
4 u/jyper Mar 18 '14 or POJSOs (to not confuse them with java objects) 1 u/nomeme Mar 18 '14 They are really just maps, so it's POJMs(the POJO term in java is stupid and makes no sense btw)
4
or POJSOs (to not confuse them with java objects)
1 u/nomeme Mar 18 '14 They are really just maps, so it's POJMs(the POJO term in java is stupid and makes no sense btw)
1
They are really just maps, so it's POJMs
(the POJO term in java is stupid and makes no sense btw)
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.