37 ms·
Angular is great but it has some problems , and i dont think one framework is suitable for all use cases. - For an app that is form/list oriented ( LOB ) angul
by camus 14y ago
Angular is great but it has some problems , and i dont think one framework is suitable for all use cases.
- For an app that is form/list oriented ( LOB ) angularJS is the best, plays very well with Bootstrap.
- For an app where i need full control over object lifecycle(create custom events , hook into object creating/destruction), when some animated transition between views or states are needed, i would use BackboneJS or EmberJS, these frameworks play well with require-js.
Iadapted a backbone showcase to angularJS , the whole app is opensourced on github : https://github.com/Mparaiso/silex-bookmarkly https://github.com/Mparaiso/silex-bookmarkly and you can test the app live here : http://markme.alwaysdata.net/application http://markme.alwaysdata.net/application .
My 2 cents :
- AngularJS can get slow when using repeaters on large object lists , i never had that problem with Backbone or Ember.
- Directives are tricky , and some tricks( $timeout , element.ready , etc ... ) feel like you dont control anything at all.
- since angularJS uses $ to namespace it's variable on models , there is some model corruption happening while loading stuffs from the server.
- i found using requireJS was a bit hard ,and having both AMD and IOC containers is ugly ( but orthogonal ).
- AngularJS doesnt too much stuff under the hood imho.
Overall , AngularJS is one of the best framework out there for html client apps.