Hi there,

I'm setting up a new site with cake 1.1. As a cake-newby, maybe you
could give me your 5 cents (or even more? :) :
The site uses user-generated images in different places (user profile,
galeries, articles etc)
I'm thinking of setting up just one table which stores image
information (meta's etc) and joining this table via HABTM (eg.
articles_images to the refering table articles). Is this a good
practice in cake, or in general? Or would it be more efficient (and
more resource-friendly) to use separate tables for each referer, as a
HasMany relation (articles HasMany articleImages). Which models would
be faster concerning requests?

Best regards,
thanks for your cents in advance,
Benjamin


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