Separate Gii

Hi guys,

The proposal is to separate Gii in two modules:

  • The first would be the infrastructure that provides a password-protected login, IP filter and a simple dashboard. This dashboard would be very simple and similar to the main Gii page as it is currently. Other modules could add links to themselves on this dashboard.

  • The other part would be the generator itself. The generator module would use the infrastructure of the module above and add a link to itself to the dashboard and work just like Gii works now.

The motivation is to be able to use the existing Gii’s infrastructure for activities other than code generation.

Good use cases would be modules to manage migrations and packages.

Please let me know what do you think about it.