Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Structuring of application state objects

$
0
0
Hi Justin,

Thanks for your feedback, that example is exactly what I was looking for.

Regarding the hooking up of the controls via the DOM, we also have all controls for a particular site listed in the main js file so that they get included in the optimisation step.  The reason we chose to do it this way is just to provide a way to auto hook up the controls, as in the future they will be added via our cms.  Down the line we might even create our own custom optimization step as all our view are precompiled so this way we know exactly what modules are needed, so in theory we can automate this. In theory :)

Will be working on the application state handling the next couple of days so will report back if we came up with anything interesting.

Thanks again for your help!

/Adam



Viewing all articles
Browse latest Browse all 3491

Trending Articles