JS MVC structures do not have a directory structure. You can dynamically load MVC components from directories, but this method is quite complicated.
Now I have the same problem with a big RIA. I use the Backbone framework , and I organized the directory structure myself (my structure looks exactly like yours). Then I included all the JS files in my HTML template. But for production mode, I merge all my JS files, and I put all parts of MVC into one file.
At first I tried to dynamically load part of MVC from the router, but I had a lot of problems with the loader for dependencies between models, controllers and views. It may also slow down your code.
So it is best to download all the js files you need at once, or use Require.js .
source share