From: ivan <iva...@42...> - 2001-05-21 15:54:32
|
On Sun, May 13, 2001 at 10:42:17PM -0500, Linas Vepstas wrote: > On Sun, May 13, 2001 at 12:39:26PM -0400, Michael Diehl was heard to remark: > > > > PHP works like ASP or JSP so that you can include PHP code in your HTML > > page, it just has top be escaped with <?PHP ... your code... ?>. > > So it fits more with the most popular way of doing things at the moment. > > When you are using templates, this becomes a bit meaningless, of course. > > (And you can integrate Perl into the server as well) > > FYI, 'eperl' by ralf engelschall does the same thing for perl. > It was recently converted to an apache module (mod_eperl, I beleive). > I think the escape is <? but I think <: also works ... eperl is not well-maintained (the most recent release is from 1998 and does not work with perl 5.005 or 5.6) and most of the userbase has moved on to more current templating packages. In the "little language" category, Embperl and Template Toolkit are popular, maintained choices, while in the "eval" category, HTML::Mason and Apache::ASP are maintained and widely used. -- meow _ivan |