Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Dancer + template toolkit default html filter

by Your Mother (Archbishop)
on Jul 25, 2021 at 22:27 UTC ( #11135390=note: print w/replies, xml ) Need Help??


in reply to Dancer + template toolkit default html filter

Excellent question and thought process on your part. FWIW, Text::Xslate and a couple other template systems default to escaped and are generally better view layers precisely because they donít have the kitchen sink of features TT does (I am a 20 year user of TT and I love how much it offers but itís frequently a case of offering enough rope to hang yourself); and also because they are drastically faster. AnywayÖ

Template::Stash::AutoEscaping is probably the best choice now without rolling your own. Iíve never used it, I use Xslate for everything new, but Shlomi Fish is a conscientious hacker so Iíd expect it to be right. TT hasnít seen a lot of development in 10 years so older modules are generally going to be fine or easy to fix if they arenít.

  • Comment on Re: Dancer + template toolkit default html filter

Replies are listed 'Best First'.
Re^2: Dancer + template toolkit default html filter
by AlexP (Scribe) on Jul 26, 2021 at 16:00 UTC

    Thanks! I will explore other template engines. Itís excellent that dancer is quite flexible in this.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2022-01-24 14:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?