3 ms·
This is one of the reasons I'm fond of Perl's Template::Declare. It's a declarative syntax for generating HTML that's still just plain Perl. http://search.cpa
by tene 16y ago
This is one of the reasons I'm fond of Perl's Template::Declare. It's a declarative syntax for generating HTML that's still just plain Perl.
http://search.cpan.org/~sartak/Template-Declare-0.43/lib/Template/Declare.pm http://search.cpan.org/~sartak/Template-Declare-0.43/lib/Tem...
I certainly understand the use case of more-limited and embedded template languages, for working with designers or people less-comfortable with actual programming, or whatever, but when I'm just working on my own, or only with other programmers, Template::Declare works so much more nicely for me.
- zbrock 16y agoThere's a ruby equivalent that's pretty nice called Erector: http://erector.rubyforge.org/ http://erector.rubyforge.org/ http://pivotallabs.com/users/alex/blog/articles/1029-why-wouldn-t-you-use-erector- http://pivotallabs.com/users/alex/blog/articles/1029-why-wou...