Skip to content Skip to sidebar Skip to footer

Managing JavaScript Complexity In A Large Project

What should I use to manage growing number of JavaScript files in my application? We are building a django application with several apps. Each app has different functionality, and

Solution 1:

Backbone.js is used to organize javascript heavy applications in an MVC-style pattern. It's going to take some learning, but it's definitely something you'll want to look into and learn a bit about even if you don't end up using it.

It's used on quite a few pretty impressive projects

And, here's a site to learn more with tutorials.


Solution 2:

Typically, grouping libraries by commonality (like your second example) would be preferred. However, more importantly would be making sure you have namespaced or otherwise make them unique so that you are unlikely to get naming collisions with other potential scripts.


Post a Comment for "Managing JavaScript Complexity In A Large Project"