Hello,

The application I am currently developing will make the use of
plugins.

Currently in the app/app_controller.php beforeFilter (which is
probably the wrong place) I get a list of plugins. I then check to see
if a config file exists for the plugin, and execute the file.

I would also like to allow the plugin to define routes (could be
dangerous I know).

Should I include a custom file in bootstrap.php and from there load in
the various plugins routes?  Can I use the nice File and Folder
classes from a file loaded with bootstrap.php?

The long and short of it is, how do I define more routes in a
controller? Is there a better way of doing this?

Sorry if this isn't clear, or if I'm horribly breaking the MVC way.

Many Thanks,

Chris.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to