I'm brand new to Cake and struggling a little with the best way to
structure my files. Prior to cake I typically had an 'includes'
directory and a 'templates' directory. In the 'includes' directory I'd
usually put all of my database query code and logic files. In my
'templates' directory I'd usually put template files that would then
include the appropriate file from the 'includes' directory.

I understand the logic of MVC but am just at that critical point where
I'm trying to understand how to do in Cake, what I used to do in a
more standard PHP way.

Any help would be great, here are some specifics that I need help
with...

A typical site I work on will have the following blocks of
information:

1) masthead
2) primary navigation
3) content
4) footer

In CakePHP would each of these be separate views? Would the masthead
and footer go into a layout so that they can get reused? Would the
primary navigation, if it's generated from the database, be a view
with a model and controller?

Just  looking for some direction. thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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