I apologize if this question has been asked.  I searched the topics and
did not see anything related to my question.

What I would like to do is group by controllers in subdirectories based
on logic functions.  For example the application I am building is
comprised of a set of admin tasks, user tasks, and general tasks.  I
would like to create a directory structure under the controllers
directory as such:

/app
      /controller
             /admin
                       function1_controller.php
                       function2_controller.php
                       function3_controller.php
                       function4_controller.php

/app
      /controller
             /user
                       function1_controller.php
                       function2_controller.php
                       function3_controller.php
                       function4_controller.php

etc..

I think I can handle this by creating entries in my routes.php file,
but if I understand how that file works I would need to create a
seperate entry for each of my functionx_controllers.  Is that correct?
Is there a better approach?

Thanks in advance.

Peter


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

Reply via email to