Re: Organizing Controllers into subfolders in CakePHP 2
Yeah but that doesn't correlate to a 1-to-1 relationship to
controllers. I've had apps with 60+ models but maybe only 20-30
controllers.
But again it depends on the app.
On Dec 21, 12:05 pm, Brad Koch <bradkoch2...@gmail.com> 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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home