Thursday, November 6, 2008

Re: basic site concept

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 <justcl...@gmail.com> 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 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: