I’m starting a new project that will be heavy on javascript and am looking for a robust framework to prevent me from falling into chaotic structures again.
I’ve looked into JavascriptMVC but it seems to have a steep learning curve, which is fine but I don’t have the time for it on my current project. I need to get started practically right away.
I’ve played around with Backbone.js, which looks perfect.. only it pretty much just provides me the tools and does not help me much in terms of structure. I still need to manage loading JS files myself either with a third party library or by manually loading them when the page loads. Also it does not enforce any type of directory structure.
Basically I need a javascript framework which provides me with a MVC model (preferably), enforces a certain file structure and doesn’t take days to learn the basics of.
I’d appreciate any recommendations. Also if there are perhaps libraries that add this type of functionality on top of Backbone.js that would be an ideal solution.. but I haven’t been able to find it myself.
Thank you
Sounds like you are looking for a dependency manager that also provides routing, model management and enforces a folder structure. Most of these will take some time to learn (that’s just the nature of the beast). The fastest that I can think of would be to use Backbone.js (or Spine.js) coupled with Require.js for the dependency management. The layout of your application will not be enforced by your framework, but (on the bright side) you can enforce the layout in a way that follows the MVC pattern and makes the most sense to you.
Alternately, if you wanted a full-stack, includes everything you need setup, you could use Dojo or Sencha / ExtJS – but if you are used to jQuery, it will be quite a bit of a change-up for you.