bwaters wrote:
> 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.
Hello Brian.
Where are you putting all the elements together? e.g:
domain/pages/home.thtml or in view? I am also currently doing a small
project where I need to access different controlelrs on each page - so
this post is very interresting to me.
Best regards.
Asbjørn Morell.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---