Wednesday, December 21, 2011

Re: Organizing Controllers into subfolders in CakePHP 2

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 <jose....@gmail.com> 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 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: