Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How to organize a CGI project?

by Aristotle (Chancellor)
on Jul 15, 2002 at 13:38 UTC ( [id://181765]=note: print w/replies, xml ) Need Help??


in reply to How to organize a CGI project?

app_func.pm
Functions used by all other scripts: print page_header (whith navigation bar, window-title and app.-logo), print page_foot, connect to database, define colors and what not)

With regards to the printing functions, that sounds like what you actually want to do is have a look at the various templating modules, such as the shooting star Template Toolkit II.

Update: perrin wrote a very good article for Perl.com on Choosing a templating system.

Makeshifts last the longest.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found