Saturday, January 30, 2010

Admin Section as plugin

Hello,

i want to create a plugin, which covers a little admin section, e.g.
Usermanagement,Basic Authentication and website Settings....
The idea is to have a admin section which is easy maintainable, but
also extendable to fit the needs of different projects...

Do I run into problems creating this as plugin?
Could it be possible involve other plugins in my admin plugin?
Can I use the plugin layout in other plugins?


One point could be the navigation menu. But if I store the menu array
in the session i could easily extend the menu in other plugins...

An example:
I have my admin plugin ready, with basic stuff. In one project i need
a newsletter module/plugin, which should be triggered by the admin
section... The specific newsletter models, controller and views are
handled by the newsletter plugin, but uses the layout of the admin
plugin...

Now, if i do adjustments to the basic stuff in the admin plugin, I
simply update the plugin and could be sure, that the newsletter plugin
is working as usual!

I could easily update the admin plugin in several projects, without
touching other areas of the different projects!

Sure, all other plugins need to folllow a kind of conventions the
admin plugin dictates... But that shouldn't a problem at all...

Is this a stupid idea? Anyone of you implented something similiar
before?
I would like to hear your opinions !

Regards,
AxlF

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: