The Perl You Need to Know: Part 4 "On-the-Fly HTML and Web Templates"
July 12, 1999
|
Despite the old cooking adage, not everything is better when
made from scratch. In last month's
"The Perl You Need to Know Part 3:
Maintaining State,"
we touched on creating on-the-fly
HTML using
Perl and the
CGI module, though not the main focus of that article.
Typically, we use Perl to generate HTML when Web pages need
to be constructed live because they incorporate information
relevant to or provided by a particular visitor. This month
our focus swings squarely towards HTML output and the use of
Web templates in generating Web pages on-the-fly with Perl
scripts and the CGI module. This article assumes at least a
familiarity with Perl and the CGI module and, ideally, time
spent with the previous three parts of
"The Perl You Need to Know"
series.
|
Contents:
Code Like Grandma Used to Make
CGI.pm, the Middleman
Tantalizing Templates: Live Date
Tantalizing Templates: Build-a-Pizza Meets the Smallville Gazette
Conclusion
The Perl You Need to Know
Code Like Grandma Used to Make
|