No Problem.

My 0.2 cents says go with associations because you can use persistmodel
= true for a perfomance boost.

Plus it makes more sense to me to keep the data relationships in the
model since anything very useful with the database will be very
dependent on the relationships and the structure of the database.

The other side is if you want a component that is truly re-usable in
another application you need to keep it independent.
-ie maybe your shopping cart stores id's and types (one of which might
be the string "product") and it's your controller that sticks in a
shoppingcart_type = "product" and then later looks it up using the
Product model


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to