PDA

View Full Version : Single MVC store file



hermann.s
22 Nov 2013, 9:27 AM
Hi,
I currently have the following structure for my stores :

46968

It was proposed to replace all of the .js store files with one single Store.js file that will contain all of the stores required for the application.

Is this possible, and if so, how would it work?
What would I include in the controllers' stores array, or in the app.js stores array?

Are there any advantages/disadvantages with this approach?
Any recommendations?

scottmartin
22 Nov 2013, 11:21 AM
It was proposed to replace all of the .js store files with one single Store.js file

By who and why?

The goal is to make your code organized and easy to follow.. why create one JS?