You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by webmeiker <in...@webmeiker.com> on 2010/11/26 08:55:12 UTC

Recommended technology for pages layout in Struts2

Hi,

Based on your experience, what do you consider the “best” technology for
layout in Struts2?

Do you recommend me Sitemesh, Tiles2 or what?



(Personally, I think the latest should be the “best”, because it’s developed
with improvement over similar/current technologies in mind. But this is a
debateable question.)


Thanks

--

Re: Recommended technology for pages layout in Struts2

Posted by Dave Newton <da...@gmail.com>.
c:import, c:param, etc. Actually did my last few projects using just that
and it worked fine, although I didn't do any real performance comparisons.

I suspect it's not adequate for some common usecases, but for all the stuff
I'm currently involved in, it's fine.

Dave

On Fri, Nov 26, 2010 at 5:10 PM, webmeiker <in...@webmeiker.com> wrote:

> What do you mean? (jsp includes and things like that?)
>
> 2010/11/26 Dave Newton <da...@gmail.com>
>
> > For lots of stuff I just use JSP's built-in mechanisms.
> >
> > On Fri, Nov 26, 2010 at 4:39 AM, Maurizio Cucchiara <
> > maurizio.cucchiara@gmail.com> wrote:
> >
> > > I prefer SM. You should consider that both use different approaches:
> > > 1. tiles uses composition pattern.
> > > 2. SM decoration pattern instead.
> > >
> > > SM needs to wrap every response, in order to decorate them, and after
> > > sends output to browser. So if one of your goals is performance or
> > > even you need to handle big outputs, SM is not the best choice.
> > >
> > > 2010/11/26 Volker Karlmeier <vo...@magiccode.eu>:
> > > > I prefer tiles :)
> > > >
> > > > Am 26.11.2010 um 08:55 schrieb webmeiker <in...@webmeiker.com>:
> > > >
> > > >> Hi,
> > > >>
> > > >> Based on your experience, what do you consider the “best” technology
> > for
> > > >> layout in Struts2?
> > > >>
> > > >> Do you recommend me Sitemesh, Tiles2 or what?
> > > >>
> > > >>
> > > >>
> > > >> (Personally, I think the latest should be the “best”, because it’s
> > > developed
> > > >> with improvement over similar/current technologies in mind. But this
> > is
> > > a
> > > >> debateable question.)
> > > >>
> > > >>
> > > >> Thanks
> > > >>
> > > >> --
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Maurizio Cucchiara
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
>
>
>
> --
>

Re: Recommended technology for pages layout in Struts2

Posted by webmeiker <in...@webmeiker.com>.
What do you mean? (jsp includes and things like that?)

2010/11/26 Dave Newton <da...@gmail.com>

> For lots of stuff I just use JSP's built-in mechanisms.
>
> On Fri, Nov 26, 2010 at 4:39 AM, Maurizio Cucchiara <
> maurizio.cucchiara@gmail.com> wrote:
>
> > I prefer SM. You should consider that both use different approaches:
> > 1. tiles uses composition pattern.
> > 2. SM decoration pattern instead.
> >
> > SM needs to wrap every response, in order to decorate them, and after
> > sends output to browser. So if one of your goals is performance or
> > even you need to handle big outputs, SM is not the best choice.
> >
> > 2010/11/26 Volker Karlmeier <vo...@magiccode.eu>:
> > > I prefer tiles :)
> > >
> > > Am 26.11.2010 um 08:55 schrieb webmeiker <in...@webmeiker.com>:
> > >
> > >> Hi,
> > >>
> > >> Based on your experience, what do you consider the “best” technology
> for
> > >> layout in Struts2?
> > >>
> > >> Do you recommend me Sitemesh, Tiles2 or what?
> > >>
> > >>
> > >>
> > >> (Personally, I think the latest should be the “best”, because it’s
> > developed
> > >> with improvement over similar/current technologies in mind. But this
> is
> > a
> > >> debateable question.)
> > >>
> > >>
> > >> Thanks
> > >>
> > >> --
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> >
> > --
> > Maurizio Cucchiara
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>



--

Re: Recommended technology for pages layout in Struts2

Posted by Dave Newton <da...@gmail.com>.
For lots of stuff I just use JSP's built-in mechanisms.

On Fri, Nov 26, 2010 at 4:39 AM, Maurizio Cucchiara <
maurizio.cucchiara@gmail.com> wrote:

> I prefer SM. You should consider that both use different approaches:
> 1. tiles uses composition pattern.
> 2. SM decoration pattern instead.
>
> SM needs to wrap every response, in order to decorate them, and after
> sends output to browser. So if one of your goals is performance or
> even you need to handle big outputs, SM is not the best choice.
>
> 2010/11/26 Volker Karlmeier <vo...@magiccode.eu>:
> > I prefer tiles :)
> >
> > Am 26.11.2010 um 08:55 schrieb webmeiker <in...@webmeiker.com>:
> >
> >> Hi,
> >>
> >> Based on your experience, what do you consider the “best” technology for
> >> layout in Struts2?
> >>
> >> Do you recommend me Sitemesh, Tiles2 or what?
> >>
> >>
> >>
> >> (Personally, I think the latest should be the “best”, because it’s
> developed
> >> with improvement over similar/current technologies in mind. But this is
> a
> >> debateable question.)
> >>
> >>
> >> Thanks
> >>
> >> --
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>
> --
> Maurizio Cucchiara
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Re: Recommended technology for pages layout in Struts2

Posted by Maurizio Cucchiara <ma...@gmail.com>.
I prefer SM. You should consider that both use different approaches:
1. tiles uses composition pattern.
2. SM decoration pattern instead.

SM needs to wrap every response, in order to decorate them, and after
sends output to browser. So if one of your goals is performance or
even you need to handle big outputs, SM is not the best choice.

2010/11/26 Volker Karlmeier <vo...@magiccode.eu>:
> I prefer tiles :)
>
> Am 26.11.2010 um 08:55 schrieb webmeiker <in...@webmeiker.com>:
>
>> Hi,
>>
>> Based on your experience, what do you consider the “best” technology for
>> layout in Struts2?
>>
>> Do you recommend me Sitemesh, Tiles2 or what?
>>
>>
>>
>> (Personally, I think the latest should be the “best”, because it’s developed
>> with improvement over similar/current technologies in mind. But this is a
>> debateable question.)
>>
>>
>> Thanks
>>
>> --
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>



-- 
Maurizio Cucchiara

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Recommended technology for pages layout in Struts2

Posted by Volker Karlmeier <vo...@magiccode.eu>.
I prefer tiles :)

Am 26.11.2010 um 08:55 schrieb webmeiker <in...@webmeiker.com>:

> Hi,
> 
> Based on your experience, what do you consider the “best” technology for
> layout in Struts2?
> 
> Do you recommend me Sitemesh, Tiles2 or what?
> 
> 
> 
> (Personally, I think the latest should be the “best”, because it’s developed
> with improvement over similar/current technologies in mind. But this is a
> debateable question.)
> 
> 
> Thanks
> 
> --

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org