I'm setting up my first cakePHP site. Let me explain what I have so
far. Am I off to the right start? Then there are some other questions
below.

I'm doing my home page first. I have the following

views\layouts\default.thtml
- this is the general site html that's repeated everywhere.  I have
the title_for_layout and the content_for_layout properties, as well as
a renderElement('navbar') for my navigation element. There'll surely
be some other renderElement calls.

views\home\index.thtml
- the view of the homepage, nothing in there yet.

controllers\home_controller.php
- Is this naming convention cool? It seems like it would be odd to
name it homes_controller.php. Right now there is just the index
method.

I have not created my home.php model and I got an error saying it
didn't exist. I know I will need one, but just out of curiosity, what
If I never reference my home model in my home controller? I was sort
of thinking I would use more fine grained models like user, game, etc.
So, do I reference those child models from the home model?


--~--~---------~--~----~------------~-------~--~----~
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