2 ms·
From Addy @ - http://coding.smashingmagazine.com/2012/07/27/journey-through-the-javascript-mvc-jungle/ http://coding.smashingmagazine.com/2012/07/27/journey-thr
by stickhandle 14y ago
From Addy @ - http://coding.smashingmagazine.com/2012/07/27/journey-through-the-javascript-mvc-jungle/ http://coding.smashingmagazine.com/2012/07/27/journey-throug... ::
I want something flexible which offers a minimalist solution to separating concerns in my application. It should support a persistence layer and RESTful sync, models, views (with controllers), event-driven communication, templating and routing. It should be imperative, allowing one to update the View when a model changes. I’d like some decisions about the architecture left up to me. Ideally, many large companies have used the solution to build non-trivial applications. As I may be building something complex, I’d like there to be an active extension community around the framework that have already tried addressing larger problems (Marionette, Chaplin, Aura, Thorax). Ideally, there are also scaffolding tools (grunt-bbb, brunch) available for the solution. Use Backbone.js.
I want something declarative that uses the View to derive behavior. It focuses on achieving this through custom HTML tags and components that specify your application intentions. It should support being easily testable, URL management (routing) and a separation of concerns through a variation of MVC. It takes a different approach to most frameworks, providing a HTML compiler for creating your own DSL in HTML. It may be inspired by upcoming Web platform features such as Web Components and also has its own scaffolding tools available (angular-seed). Use AngularJS.