Hi all, I'm using cake for a CMS system that breaks the page in to blocks that may be html, flash, image etc...
So there is a "pages" table, a "blocks" table with "page_id", then the block needs to have detail. So, there are "htmls", "images" and "flashs" tables with "block_id"s to relate them back. However, if i only want the detail for the relevant block type (blocks also has a block_type_id). I could unbind model based on the type, but is there a way to automate this using behaviours or extra model logic? If so is there an advantage (reduced db requests)? If not maybe it doesn't matter if all data is pulled back eve if it is empty. What do you all think? Thanks TWIOF --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
