It seems that the consensus is to put the blocks into elements and if
they have data use a requestAction inside the element that returns a
data array containing whatever information you need. There are lots of
other ways to skin this cat, depending on your situation and how many
blocks you are talking about.
Using requestAction(controller/action, array('return' => 'true'); is
easier but the overhead of multiple views being rendered will kill you
if you have several blocks per page.
I am currently changing my whole project over to the elements /
requestAction combo instead of the RequestAction / view (return =>
true) way of doing things.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---