{"repo":"xslate/p5-Text-Xslate","free":true,"listed":false,"github":"https://github.com/xslate/p5-Text-Xslate","clone":"git clone https://github.com/xslate/p5-Text-Xslate.git","description":"Scalable template engine for Perl5","language":"Perl","stars":123,"topics":["perl","template","xslate","perl-library"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"NAME Text::Xslate - Scalable template engine for Perl5 VERSION This document describes Text::Xslate version v3.5.9. SYNOPSIS use Text::Xslate qw(mark raw); my $tx = Text::Xslate- new(); my %vars = ( title = 'A list of books', books = [ { title = 'Islands in the stream' }, { title = 'Programming Perl' }, # ... ], # mark HTML components as raw not to escape its HTML tags gadget = mark raw(' ... '), ); # for files print $tx- render('hello.tx', \\%vars); # for strings (easy but slow) my $template = q{ : for $books - $book { : } # for }; print $tx- render string($template, \\%vars); DESCRIPTION Xslate is a template engine, tuned for persistent applications, safe as an HTML generator, and with rich features. There are a lot of template engines in CPAN, for example Template-Toolkit, Text::MicroTemplate, HTML::Template, and so on, but all of them have some weak points: a full-featured template engine may be slow, while a fast template engine may be too simple to use. This is why Xslate is developed, which is the best template engine for web applications. The concept of Xslate is strongly influenced by Text::MicroTemplate and Template-Toolkit 2, but the central philosophy of Xslate is different from them. That is, the philosophy is sandboxing that the template logic should not have no access outside the template beyond your permission. Other remarkable features are as follows: Features High performance This engine introduces the virtual machine paradigm. Templates are compiled into inte","default_branch":null,"files":null,"tree":[],"storefront":"/r/xslate","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xslate/p5-Text-Xslate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}