Re:AngularJS: Factory vs. Service vs. Provider
by nahname on Sunday May 04, 2014 @10:23PM
(#7696718)
Do you have any open source projects for others to learn from?
Used backbone a few times, always turns into a train wreck.
Re:AngularJS: Factory vs. Service vs. Provider
by hcarvalhoalves on Sunday May 04, 2014 @11:06PM
(#7696802)
Unfortunately it's a commercial product so no source. Drop me a mail though (see profile), I can give some pointers.
I know what you mean by Backbone, and all I can say is that often wiring up the views is the culprit. Models and routers work nicely and that's all I used from Backbone in this project.
One of the nicest things about React.js is not having to deal with such a layered architecture, you work at the right level of abstraction ("components"), and those components are composable. Some people freak out with JSX but it pays off to finally have a proper GUI pipeline for web apps instead of manipulating the DOM directly, or being limited to directives embedded in HTML.