NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
But everyone does it with TT too! (Score:2)
At least, the two places I've worked at that used TT (Socialtext and LiveText) both had gobs and gobs of logic in the templates. And TT's crippled language made dealing with this much harder than dealing with the same thing in Mason, since at least with Perl you have a sane language to use.
People keep saying TT helps with this problem, but I have yet to see a good example of using it cleanly.
Re: (Score:2, Insightful)
I agree that there are people who abuse TT by putting application logic in templates. But given enough rope, there will always some people who end up hanging themselves, or at best, tripping themselves up.
TT's language is deliberately "crippled" because it's a presentation language, not a programming language. And the fact that TT makes it so trivially easy to write and use a plugin means that no-one should ever be doing "programming" using TT.
But they do :-(
However, that fact that some people don'
Re:But everyone does it with TT too! (Score:2)
I am convinced there's no such thing as a perfect separation of application and presentation logic.
That said, we've done quite well with TT in Slash over the years.
Reply to This
Parent