Re:Choosing the Right JavaScript Framework
by compedit on Thursday August 21, 2014 @01:57PM
(#8208676)
There's no standards, but at this point I'd say Flux + React-router are quickly becoming it. react-router is made in the spirit of Ember's which is pretty well liked.
- Flux Architecture Pattern [0]
- React Router [1]
Note that there isn't really a prescribed model in Angular aside from $scope either.
Re:Choosing the Right JavaScript Framework
by megaman821 on Thursday August 21, 2014 @03:29PM
(#8209125)
I like react-router that looks quite nice. Flux looks like a description of an idea rather a JavaScript library. Is there a flux store that persists to a REST backend?
A model really isn't part of Angular core since it was split out but something like angular-resource is what I am talking about.
Re:Choosing the Right JavaScript Framework
by compedit on Thursday August 21, 2014 @04:07PM
(#8209289)
I'd recommend looking at the docs on Flux, it explains it all better than I could.
Re:Choosing the Right JavaScript Framework
by andrewvc on Thursday August 21, 2014 @01:56PM
(#8208670)
Well, react/flux completely replaces backbone except for the router. The models go away completely, as do the views.
There are a couple React-only routers but a lot of React.js people (including myself) use Backbone for the router/controller.
I think they just could have added the line "As an alternative to using underscore templates in Backbone, you can use React instead."