On Thu, Jun 21, 2012 at 6:07 AM, the_woodsman <elwood.casey@gmail.com> wrote:
>
> * Encourages less coupled code - in theory these modules could almost be
> framework agnostic,
That's what the Vendors folder is for. Anything in there that's
Cake-specific should be in Plugins. And *those* are called "plugins"
specifically because they're designed to PLUG IN to Cake. They're not
framework-agnostic and were never meant to be.
> whereas lumping files in /controller etc doesnt'
> encourage that way of thinking
If you don't like cluttering up a single folder with all your
controllers then create plugins for these things. Then you can put all
your controllers each by themselves in their own individual
directories.
But that's got nothing at all to do with writing code that works in
any framework. It's not like there are any Symfony "actions" classes
that would work in Cake.
--
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
Thursday, June 21, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment