It depends on your project's design to some extent.
It has all the preformance downsides of using requestAction but this
can be helped by caching the views in some cases.
On the up-side you can have a setup where the home-page does not need
to be altered whenever a module is added, removed or changed. This is
very important for my application since each installation will have a
varying number of plugins.

/Martin


On Sep 24, 7:21 am, Bookrock <[EMAIL PROTECTED]> wrote:
> Thanks
>  RequestAction is good instead of $uses = array('module1', 'module2',
> 'module3', 'module4',
> 'module5');, is it your mean?
>
> On Sep 23, 11:59 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > This kind of portal-page is one place where I have put requestAction
> > to good use. In combination with caching, it works pretty well.
> > The main benefit is that each independent "module" (mine are plugins)
> > can internally decide what to render and show on the front-page. The
> > front-page does not need to know anything about what each module is
> > all about.
>
> > On Sep 22, 1:53 pm, Bookrock <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
> > > I am working on a dynamic content website. I want to implement home
> > > page. This home page
> > > of my site needs to have a lot of dynamic content generated on it.
> > > Dynamic contents are coming from different module.
>
> > > I have implemented it like this.
>
> > > 1 Make HomesController
> > > 2 Use of $uses = array('module1', 'module2', 'module3', 'module4',
> > > 'module5');
> > > 3 Make a index action
> > > 4 configure routes.php
>
> > > It's working fine..but in terms of page performance , I don't know is
> > > it good?
>
> > > Can any one suggest me any other good way?
>
> > > Please help me
>
> > > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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