http://www.perlmonks.org?node_id=521612


in reply to Templating Suggestions?

I like HTML::Template::Compiled. (Well, you do not to be fast, since you are generating your pages offline, but it has actually more magic than HTML::Template.)

Replies are listed 'Best First'.
Re^2: Templating Suggestions?
by perrin (Chancellor) on Jan 06, 2006 at 20:22 UTC
    Are you saying that HTML::Template::Compiled is better for this than the suggestion he already has of TT? I don't see how.
Re^2: Templating Suggestions?
by vek (Prior) on Jan 07, 2006 at 09:30 UTC

    Be advised that in a related node I mentioned that Tina Mueller does not recommend H::T::C for production code.

    -- vek --
      well, in pileofrogs's case, he is using the template system offline, so there are now security issues. In online modus, there is the danger that the precompiled templates (stored in the filesystem) could be changed by a attacker, but that can happen also to people that use the precompiling stuff in TT. And yes, i prefer HTC over TT.

        so there are now security issues. In online modus, there is the danger that the precompiled templates (stored in the filesystem) could be changed by a attacker, but that can happen also to people that use the precompiling stuff in TT

        Tina's suggestion to not use H::T::C in production wasn't because of security issues, it was because of potential memory issues and lack of a test suite.

        And yes, i prefer HTC over TT.

        I wasn't questioning why you prefer H::T::C over TT, just pointing out that the author of H::T::C has reservations about using it in production.

        -- vek --