Why ->new it each time? :) On 2010/12/3 15:30, sawyer x wrote:
** TOP POSTED **
Hey guys,
I've already written one. You can find it here <http://search.cpan.org/%7Exsawyerx/Dancer-Template-Tiny-0.02/lib/Dancer/Template/Tiny.pm>[1].
Enjoy. :)
[1] http://search.cpan.org/~xsawyerx/Dancer-Template-Tiny-0.02/lib/Dancer/Templa... <http://search.cpan.org/%7Exsawyerx/Dancer-Template-Tiny-0.02/lib/Dancer/Template/Tiny.pm>
On Fri, Dec 3, 2010 at 4:52 AM, Fayland Lam <fayland@gmail.com <mailto:fayland@gmail.com>> wrote:
if you view the source code of the module: http://cpansearch.perl.org/src/XSAWYERX/Dancer-1.2001/lib/Dancer/Template/Te...
you'll find that's super simple to create a Dancer::Template::TemplateTiny. just some replaces and test it. anyway, for sure that would be great if it's in core.
Thanks
On 2010/12/3 10:32, Puneet Kishor wrote:
sigzero wrote:
I just want to suggest Template::Tiny as an alternative to Template::Toolkit. For most of the templating needs it gives you want you want with less dependencies (lighter) and better memory usage.
Agree completely. I am using T::Tiny exclusively for two web sites, one simple, and the other fairly complicated. Haven't yet come across a templating need that T::Tiny can't do... that is because it is fairly easy to design even a complicated web site without resorting to complicated templating needs. I believe T::Tiny is significantly, perhaps hugely lighter than T::Toolkit.
I love the advent stuff too.
Thanks for it all!
Robert
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
-- Fayland Lam // http://www.fayland.org/
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org <mailto:Dancer-users@perldancer.org> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
-- Fayland Lam // http://www.fayland.org/