ibm-js/dapp

Update the Init controller to handle the creation of the stores and the creation of the other controllers.

edchat opened this issue · 3 comments

This will require a new config setting to specify the "initController" so that controller can be created by main, and it can then create the others.
"initController": "dapp/controllers/delite/Init",
This will give the app developer an easier way to modify the way controllers and stores are created.

I'm not 100% sure other controller should be off loaded to Init controller. I agree with the general aim of moving more stuff to Init but maybe all controllers for consistency reasons should be started from main.

Ok, that is fine with me, and I talked to Barry and he is fine with the controller creation staying in main. So I will leave that and only move the store creation to the init controller.

Done as of db863da