Move config.io to Ext.io.Controller?

Move config.io to Ext.io.Controller?

As part of my experimentation with Ext.io.Controller, I've created an Authentication controller that simply extends Ext.io.Controller and implements custom methods as necessary. Seems to work just fine.

At the moment, all of the config for io is set in the main application config. Just a thought, but does it make sense to allow that configuration to be set in the controller itself (or extends of the controller)?

Thanks for the feedback. We could build the controller this way where the developer extends Controller like they do Stores and add their configuration and extensions. We will explore this as we continue to refine the API.

The main reason why the config is part of the application at the moment is because you can only have one sencha.io application configured and running at a time. If the config is part of the controller then someone might be tempted to have two controllers in the same application with different configs which at the moment would cause problems.