Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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
(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.

    Cheers,
    Ovid

    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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (18)
As of 2014-12-18 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls