Yii Framework Forum: Separate Gii - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Separate Gii

#1 User is offline   Rodrigo Coelho 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 664
  • Joined: 05-August 10
  • Location:Rio de Janeiro, Brazil

Posted 11 April 2013 - 09:49 AM

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.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users