I don't think that will slow things down significantly. Cake caches
paths (in debug=0) and locations of classes.
Logically the more directories php has as include paths the more time
an include will take but that is also very little extra time and
probably hardly measurable in this case.

/Martin


On Aug 12, 1:09 am, Jeebs24 <anthony.doming...@gmail.com> wrote:
> Trying to have flexibility with having multiple Apps but having one
> Core App for common functions I wanted to use the bootstrap.php's
> $controllerPaths, $modelPaths and $viewPaths.  I want to know if this
> will affect speed.
>
> In folder called 'core_app' I created a file called
> 'core_users_controller.php':
>
> class CoreUsersController extends AppController {}
>
> and 'users_controller.php':
>
> App::import('Controller', 'CoreUsers');
> class UsersController extends CoreUsersController {}
>
> In another folder 'app_a' I use the bootstrap to load the controllers
> in 'core_app.'  This will allow me to use the Users controller but if
> need be allow me to override the Users controller by creating a new
> 'users_controller.php' file in 'app_a.'  The same would apply for the
> Models and Views.
>
> I don't know if this is the best way but any other suggestions would
> be greatly appreciated.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to