Hello world,

I am new to CakePHP and getting around the framework quite quickly. If
some of the developers watch this list, my compliments for the recipe.

Now I have been actively using the hasMany and hasAndBelongsToMany
feature to model my data, in my example a Medical Practice  has many
users, and places many orders.

The question I have is that since models contains the other, should I
infact have a controller for something like orders, or use the practice
controller to add new orders? Order and users are obviously defined as
models.

The same questions applies to something like Order contains
OrderLineItems. So should OrderLineItem have a controller at all or
just use the Order controller to add OrderLine items?

Any suggestions are welcome. Thanks in advance for your time.


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