You Can still set alternative locations for everything in the
bootstrap though.

I do this for my CMS.  So everything for the cms is in one place, and
the stuff specific to the site is in another.

w

App::build(array(
      'Plugin' => array(ROOT . '/Tractor/Plugin/'),
      'Controller' => array(ROOT . '/Tractor/Controller/'),
      'Model' => array(ROOT . '/Tractor/Model/'),
      'Model/Behavior' => array(ROOT . '/Tractor/Model/Behaviour/'),
      'View' => array(ROOT . '/Tractor/View/'),
      'View/Helper' => array(ROOT . '/Tractor/View/Helper/'),
  ));


On Dec 22, 4:14 pm, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> Having an admin interface that allows you to manage 'static' data would lead 
> to at least one controller for each model/table, probably.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 21 Dec 2011, at 20:05:29, Brad Koch wrote:
>
>
>
>
>
>
>
> > So, in summary:
> > * Don't use subfolders anymore.
> > * If you want to start making partitions between files, use a plugin.
>
> > @Miles, just an example.  Lots of models would equal lots of
> > controllers.  I've had schemas that had over 60 tables before, so it
> > wouldn't be unreasonable at all to see up to 100.  I promise there's
> > no hideous case of abuse going on =)
>
> > On Dec 20, 9:55 pm, José Lorenzo <[email protected]> wrote:
> >> I would use plugins, it is a very natural way of organizing related code
> >> into logical and reusable chunks
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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