Hey, I was wondering what the best approach for creating widgets (type of elements) with Cake. What I mean by widgets is basically elements that pull data from something that may not relate to the current controller/ action the user is in.
For example, the default layout may have a sidebar of widgets. So when someone is on the home page of the cake app, the sidebar may load the following widgets on the left column sidebar as an example: top 5 news stories top 10 videos random photo random post All of those "widgets" (ie: elements) would be pulling data from several different models (news from Story, videos from Video, photo from Photo, and so on). Is requestAction the best approach to achieving something like this? I heard requestAction is heavy on resources. Is there another "cake way" of doing this? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
