Sunday, September 27, 2009

Re: General organization question...

yeah, Cake supports subfolders. See this thread for details - it's
about elements, but there's stuff further down about the other bits
and pieces as well.

http://groups.google.com/group/cake-php/browse_thread/thread/9a1fb0bea96f2161

On Sep 27, 4:53 am, Matt Palermo <palermom...@gmail.com> wrote:
> I realize that there will be several MVC files for an app.  I'm just worried
> that if I have a CMS with a bunch of modules, that it will build up into TOO
> many to easily deal with.  For example, I'm working on putting in a photo
> gallery module into the CMS now.  That is basically a whole application by
> itself, since there will be a lot of functionality for it.  This is just one
> of many modules for the CMS.  I'm worried that each MVC folder will grow to
> the point where it's not easy to keep track of it anymore.  Perhaps if it
> were possible, I could create subfolders inside the MVC folders for each
> module to keep them separated, but I don't know if Cake supports that...
> Anyone know if that can be done?
>
> On Sat, Sep 26, 2009 at 3:29 PM, Hols Kay <hol...@googlemail.com> wrote:
>
> > Well, you can do the whole thing as plugins, I guess, but it's really
> > easier to do it all as one app and only create plugins for the parts
> > that you might want to port to another system later. You always get
> > loads of files and folders when you're using MVC, it's just something
> > that you've got to live with, to be honest. It is daunting at first,
> > but it really doesn't take long to get used to it.
>
> > On Sep 26, 7:05 pm, Matt Palermo <palermom...@gmail.com> wrote:
> > > I previously asked about using Cake for a CMS (content management system)
> > > I'm building.  I'm looking for advice for this.  I know that I can create
> > > multiple "apps" for use in Cake.  My main question is should the whole
> > CMS
> > > be one big app?  Or should the CMS core and each module/component be
> > their
> > > own separate apps that can all interact with each other?  If possible, I
> > > would like to keep them all separate apps to make it a little more
> > organized
> > > for me, otherwise I might have a TON of model/view/controller files in
> > > folders to look through when I want to develop the system.
>
> > > Any general advice here would help a lot.  Thanks!
>
>
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: