> I am following the post example in the manual and I wondered how the
> names connect.
>
> There is the file "post" with the class of the same name: how does the
> contoller connect with the "post" model ?

It's a convention, model is 'Singular' form of the database table,
controller is 'Plural'_Controller, if you follow it, cake will do the
automagic for you.

> Where does the "post" member on the controller come from ?

Cake will load it automaticalli since it's the Posts_Controller, it's
supposed to use the Post model (by default, you can overwrite).

> I ran cake and got a list of posts but problems:
> - no cake logo just an X
> - clicking to edit and page:http://127.0.0.1/posts/view/1is not found

Seems that you have mod_rewrite disabled in apache configuration.

You should read the manual carefully, specially the Conventions
chapter and the Installing chapter.

HTH,
- Dardo Sordi.


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