Hi Clint,

Of course you can have as many controllers as you need. Since you're
not familiar with Cake yet, maybe the best thing to do is to learn by
reading some code, just go through some of these applications:

http://book.cakephp.org/view/511/Applications
http://cakeforge.org/top/mostactive.php

and try to figure out how they work (with the assumption that you're
already familiar with regular PHP).

Welcome to cake family! ;)

On Nov 6, 4:30 pm, justclint <[EMAIL PROTECTED]> wrote:
> Thank you so much Anja and dr. Hannibal. This helps me very much. As
> you described dr. Hannibal your not sure why I would want many apps
> for what Im doing and nor do I. So having you confirm that I can do
> all this in a single cake folder is a relief.
>
> So I guess than its true to say that I can have one app folder and I
> can just keep adding as many controllers, models and views as I
> please.
>
> I really do appreciate your help here.
>
> Thanks again!
>
> Clint
>
> On Nov 6, 2:02 am, "dr. Hannibal Lecter" <[EMAIL PROTECTED]> wrote:
>
> > I'm not sure why would you want many apps for what you've described.
> > Your "products section" would actually be ProductsController and
> > Product model, your "search" and "download" functionality are just
> > SearchController and DownloadsController and their respective models
> > and views etc..
>
> > Normally, a single app is enough for all your needs. Even if it isn't,
> > you can still use cake plugins..
>
> > Hope that helps!
>
> > On Nov 6, 8:40 am, justclint <[EMAIL PROTECTED]> wrote:
>
> > > Hello all, thanks for having this group available for newbies like
> > > myself. I have a pretty basic question that Im having a very difficult
> > > time finding an answer on. I've done google searches, read the cakephp
> > > manual and I am also reading the book "Beginning CakePHP" by David
> > > Golding which is a great book by the way.
>
> > > Any way I've never used a framework before and Im totally new to the
> > > MVC concept. Ive done a couple tutorials such as the blog and also a
> > > to-do list. I have a site I will be converting over to cakephp and
> > > want to make sure I am using best practices and that I understand the
> > > basic concept.
>
> > > So my question is; if Im building a whole website, is the whole
> > > website a "cakephp app" or does my whole website have many "cakephp
> > > apps"?
>
> > > Through my reading it seems every tutorial is based on just a piece of
> > > a website (ie: blog) and every tutorial required a new cake folder
> > > with the usual contents (app, controllers, views, webroot etc.).
>
> > > I need to make a single typical website with the usual stuff like
> > > products section, support section with search/download functionality
> > > and contact/request forms.
>
> > > Im not sure if each one of these things are supposed to be different
> > > apps or if the whole site is in one app. It seems a bit cumbersome to
> > > keep adding cake folders over and over on a single site but nothing
> > > Ive read says otherwise. Also, If you are supposed to keep adding cake
> > > folder after cake folder you would endup with multiple webroot folders
> > > which also kinda of boggles my mind.
>
> > > Your help is greatly appreciated and I do apologize for having such a
> > > primitive question but I have no where else to go but here.
>
> > > Thanks again!
>
> > > Cheers,
>
> > > Clint
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to