Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 1998 17:30:37 -0500
From:      Russ Panula <rpanula@mplspop1.mpls.uswest.net>
To:        isp@FreeBSD.ORG
Subject:   Re: Anyone running FrontPage with Apache on stable/current?
Message-ID:  <35EDC70D.B54CC72E@mplspop1.mpls.uswest.net>
References:  <Pine.BSF.3.96.980903032327.5910E-100000@aniwa.sky>

next in thread | previous in thread | raw e-mail | index | archive | help
Andrew McNaughton wrote:
> Many of my CGI programs use templates with embedded perl.  Assuming you
> trust the code, it's a simple matter to pass the template through a regex
> to produce something exec'able.  This can be done in advance also, storing
> both the template and the executable code.
> 
> It's imperfect.  Syntax errors can wind up being oddly reported, and
> embedding a single curly brace to mark the end of a loop is a bit ugly.
> Various embellishments are possible, but for a simple hack it seems pretty
> cool to me.

My latest favorite toy has been Apache built with
Frontpage+mod_perl+Embperl+DBI.  If you haven't used Embperl or
mod_perl, check them out!

It's loads faster than standard CGI, and you can use your favorite HTML
editor to embed perl in your documents.  (Did I mention persistent
database connectivity?  8-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35EDC70D.B54CC72E>