[Wellington-pm] Catalyst

Grant McLean grant at mclean.net.nz
Fri Aug 31 03:18:43 PDT 2012


On Fri, 2012-08-31 at 21:00 +1200, Travis Holton wrote:
> On 31.08.2012 8:00 PM, Cliffp wrote:
> > On 31/08/12 14:37, William Travis Holton wrote:
> >>
> >> Like everything, it is really a matter of personal taste. Catalyst
> >> is fine and has lots of cool features. However, I would definitely
> >> recommend giving Mojolicious a try. I (personally) think the syntax
> >> for controllers looks a little nicer than Catalyst (eg. you don't
> >> have to drag around the extra "$c" context variable everywhere).
> >> Although, I admit my experience with it is fairly limited.
> >>
> > I saw that ($c) and thought that it was pretty cool. But maybe I'm
> > easily pleased?
> >
> I didn't want to imply that $c is bad. I just think it's a bit redundant
> that you always have to pass that extra parameter around. In mojolicious
> at least, the context stuff is in $self directly.

And in Dancer you don't need $self or $c.

Grant




More information about the Wellington-pm mailing list