[Catalyst-dev] Tutorial updates...
hkclark at gmail.com
hkclark at gmail.com
Mon May 19 18:08:55 BST 2008
Hi Bogdan,
Thanks for the input. There have been a number of discussions about TTSite
vs. straight TT and using the default template vs. $c->stash->{template}
that I have seen over the past 2 years (and probably a bunch more that I'm
not aware of).
Re TTSite, I tend to think it's pretty cool. Yeah, I like to customize it,
but especially for a tutorial, I think it's nice to type one helper command
and instantly get examples of various "advanced TT features" (nested
templates, central config file, etc.) vs. having to painfully walk through
similar stuff step-by-step. I agree that experienced TT folks might want to
go with something different in their next project if TTSite makes a bunch of
assumptions they don't like, but it seems pretty good as a starting point
for a tutorial for me.
Does the group have specific things they don't like about TTSite? If so,
should we consider making a new TTSite2 (or whatever name we want) that
doesn't have these limitations?
Re default template, I was under the impression that it was better to
explicitly set the template because of situations like $c->forward. I think
I have seen other reasons, but I don't recall them at the moment. So I
added an example of the default template in the tutorial so people know
about it, but made most of it use $c->stash->{template}. I was under the
impression that folks like MST and JRock recommended $c->stash->{template}.
Am I wrong?
Thanks,
Kennedy
On Mon, May 19, 2008 at 11:35 AM, Bogdan Lucaciu <bogdan at wiz.ro> wrote:
> On Monday 19 May 2008 18:11:41 Gerda Shank wrote:
> > And switch away from using yaml for
> > config (though that should probably be coordinated with a change to the
> > way the default application is set up).
>
> If we're switching away from stuff, we might as well get rid of TTSite and
> use
> TT, and stop manually setting $c->stash->{template}
>
> --
> Bogdan Lucaciu
> http://www.wiz.ro
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20080519/5=
b852c97/attachment-0001.htm
More information about the Catalyst-dev
mailing list