old-www/HOWTO/Apache-Overview-HOWTO-17.html

59 lines
2.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Apache Overview HOWTO: Perl</TITLE>
<LINK HREF="Apache-Overview-HOWTO-18.html" REL=next>
<LINK HREF="Apache-Overview-HOWTO-16.html" REL=previous>
<LINK HREF="Apache-Overview-HOWTO.html#toc17" REL=contents>
</HEAD>
<BODY>
<A HREF="Apache-Overview-HOWTO-18.html">Next</A>
<A HREF="Apache-Overview-HOWTO-16.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc17">Contents</A>
<HR>
<H2><A NAME="s17">17. Perl</A></H2>
<P>Perl and Apache make a powerful and popular combination. There are several projects
that use these two technologies.
<H2><A NAME="ss17.1">17.1 Embperl</A>
</H2>
<P>Embperl allows embedding of Perl in HTML pages. These pages are processed in the server
before they are delivered to the client. It is similar to
<A HREF="Apache-Overview-HOWTO-18.html#php">PHP</A>.
You can learn more
<A HREF="http://perl.apache.org/embperl/index.html">here</A>.
<H2><A NAME="ss17.2">17.2 Mason</A>
</H2>
<P>The
<A HREF="http://www.masonhq.com/">Mason project</A> embeds Perl in HTML
with a reusable component model approach. It allows caching, templating, etc.
<H2><A NAME="mod_perl"></A> <A NAME="ss17.3">17.3 Mod_Perl</A>
</H2>
<P>
<A HREF="http://perl.apache.org/">mod_perl</A> is one of the most
veteran and successful Apache projects. It embeds a Perl interpreter
in Apache and allows access to the web server internals from
Perl. This allows for entire modules to be written in Perl or a
mixture of Perl and C code. In the 1.3 Apache versions, one
interpreter has to be embedded in each child, since the server is
multiprocess based. In heavy traffic dynamic sites, the increased
size could make a difference. Apache 2.0 is multithreaded, as recent
versions of Perl are. The next generation of mod_perl takes advantage
of this and allows for sharing of code, data and session state among
interpreters. This results in a faster, leaner solution.
<P>Make sure you also check
<A HREF="Apache-Overview-HOWTO-16.html#axkit">axkit</A><P>
<P>
<P>
<P>
<HR>
<A HREF="Apache-Overview-HOWTO-18.html">Next</A>
<A HREF="Apache-Overview-HOWTO-16.html">Previous</A>
<A HREF="Apache-Overview-HOWTO.html#toc17">Contents</A>
</BODY>
</HTML>