[EMAIL PROTECTED] wrote:
> And finally, there is really no reason why someone [maybe even
> someone named Michael] can't set up a better-than-PHP system to
> show others. Apache with mod_perl and CGI.pm and DBI and DBD::MySQL
> all loaded already, with clear examples as in Lincoln Stein's
> CGI.pm book. I think Randy Kobes already maintains an Apache with
> mod_perl tarball. But remember: people who gravitate to the simplest
> languages do *not* want to learn an entire multipurpose programming
> language. They want something simple, albeit constraining.
With Perl's loadable modules, it would be pretty simple to provide
a similar environment (I think; I don't know PHP). Building on the
modules
you mentioned, someone could write a module or modules that would
provide
a useful (perhaps PHP-like) subset of the functionality required.
I know that I've been put off a bit by having to use SQL (yet another
language!)
to access databases using DBI [1]. But I could see someone making a
simple layer on
top of DBI for web tasks. Likewise, form parsing and other common tasks
might be
able to be simplified (though CGI's handling of forms would be hard to
improve on).
Mason provides template functionality already (and allows embedded
Perl). There's
lots of other template packages, as well.
[1] I've long regarded relational databases as merely an awkward way to
make objects
persistent, so I have a bit of a different slant than many people using
databases
(for whom the database is of primary interest).
--
Ned Konz
currently: Stanwood, WA
email: [EMAIL PROTECTED]
homepage: http://www.bike-nomad.com
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]