Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Web framework under both mod_perl and CGI

by Cubes (Pilgrim)
on Aug 06, 2001 at 08:26 UTC ( [id://102389]=note: print w/replies, xml ) Need Help??


in reply to Web framework under both mod_perl and CGI

Chalk up another vote for HTML::Template. Works equally well with CGI and mod_perl, since it's only involved in the content delivery phase. It doesn't give you all the bells and whistles of the other frameworks; then again, it's a single perl module that you can install yourself on any server that lets you run perl CGI scripts. There are may ways to handle your own access/authorization control and logging in a CGI environment, and with a little thought and planning you should be able to come up with something that you can convert easily to mod_perl when the time comes.

I'm using HTML::Template right now, and I recently found out for real just how nice it is to separate the design from the code when a designer gave the application I'm working on a facelift. I didn't have to change a single line of my code. She didn't have to learn anything about perl. I didn't have to stop working on my stuff while she made changes. In fact, I didn't even know she was doing it until she plopped the new templates in place and the pages appeared with the new design!

  • Comment on Re: Web framework under both mod_perl and CGI

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-19 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found