Template Engine Night 2014/10/17 ã®è³æã§ã
Template Engine Night 2014/10/17 ã®è³æã§ã
â»1ï¼Xslateã§ã¯ãã³ãã¬ã¼ãã®ã³ã³ãã¤ã«çµæããã£ãã·ã¥ã§ãã â»2ï¼ããã©ã«ãã¯$ENV{HOME}/.xslate_cacheã ãã$ENV{HOME}ãæ¸ãè¾¼ã¿å¯è½ã§ãªããã°ã»ãã®ãã£ã¬ã¯ããªã試ã â»3ï¼ããã³ãã¬ã¼ãã®æ§æã«ãã£ã¦ããã©ã«ãã¯å¤ããããããã¯ããã©ã«ãæ§æKolonã®ããã©ã«ãå¤ ãªã¹ã8ããªãã·ã§ã³ãæå®ããï¼hello_xslate2.plï¼ use strict; use Text::Xslate; my %vpath = ( header => "- - - - - - - - - - -\n", footer => "- - - - - - - - - - -\n", hello => "Hello, Xslate world!\n", ); my $tx = Text::Xslate->new( path => \%vpath, header =
Introducing Text::Xslate Text::Xslate is one of the latest inventions by Goro Fuji. It's yet another template engine -- and since it is yet another template engine, I could easily see everybody going "oh, *another* one....". Yeah, I get the idea. I feel the same for most new template engines. But I have to say, this time... this one /is/ worth looking at. First off, it's blazing fast. For trivial
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}