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

Re: Sticky HTML Templates

by perrin (Chancellor)
on Oct 26, 2001 at 00:33 UTC ( #121533=note: print w/ replies, xml ) Need Help??

in reply to Sticky HTML Templates

I would have suggested what Masem did with the CGI plugin, but you could also post-process your HTML with HTML::FillInForm.

Comment on Re: Sticky HTML Templates
Replies are listed 'Best First'.
(Ovid) Re(2): Sticky HTML Templates
by Ovid (Cardinal) on Oct 26, 2001 at 02:51 UTC

    I read through HTML::FillInForm and have to admit that it would be a nifty solution. I can see pros and cons, however.

    Pros: As the HTML would be left relatively pristine, it would be much easier for our designers to work with it. Further, as the HTML changes, there would less synchronization. This is a huge win. This also appears to be a relatively easy solution to implement.

    Cons: We're running in an ISAPI environment here. While that's faster than straight CGI, it does not compare to the performance of mod_perl. Until such time that we can convince the Powers That Be that mod_perl (and Apache, and Linux and ...) is the way to go, we have to be careful about the performance of our applications. Already, using Template Toolkit is a serious issue, in terms of performance. I'm concerned that HTML::FillInForm would be the death knell. Any experience with how this might affect real-world performance? It seems to me that inserting the template markup tags directly into the HTML document would be the least performance-intensive alternative.


    Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

      I don't know how well it performs, but if you're having performance problems and need to use IIS, I would suggest PerlEx or Velocigen. (Is there a FastCGI for IIS?)

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2015-11-29 13:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (751 votes), past polls