Building Enterprise Application
I'm trying to come up with the best architecture for enterprise (very large) application.
First of all, I would like to say that I really like the idea of having both back-end and front-end MVC. Everything is well organized and its easy to navigate.
However, when you are dealing with very large applications, it becomes difficult to manually write hundreds of front-end files (models, stores, charts, etc). So now it becomes necessary to auto generate these classes using the back-end. But now you are going back to mixing back-end code with front-end.
What is the best way to achieve this?