On Mon, 17 May 1999, Alain Farmer <[EMAIL PROTECTED]> wrote:
> > Anthony : Of course, Apache & Linux would be
> > better... but, oh well <g>.
>
> Alain : One of my colleagues keeps pestering me about Linux, Apache and
> Perl. He insists that they are the future, and that we should phase out
> our commitment to the MacOS and mac-specific tools. I am not so sure.
> For one thing, it would entail a lenghty non-productive re-learning
> phase that I can't personally afford to do for now. Is my colleague
> right ? Is the "Linux, Apache and Perl" trio so hot that they can no
> longer be avoided? How long does it take to port one's Mac experience
> to this new configuration? Would you be willing to give me a helping
> hand ?
How about doing something better? Use MetaCard! It runs on Linux
with Apache (even LinuxPPC), and offers about the same performance and
functionality as Perl (including regular expressions) with a much
smaller learning curve and a fraction of the maintenance headaches.
MetaCard is even free for this use (no script limits). What it lacks
that Perl has is a community of developers that are building
special-purpose packages (like a voting system) in it. There are
examples of this use of MetaCard on the MetaCard WWW site. Just to
give you a taste, here's a simple script that echos back the results
of a CGI GET or POST:
#!mc
# This MetaTalk script loops over all the environment variables
# set by the server when it runs a CGI application printing out
# its name and value.
on startup
# loop over all of the global variables, getting name and value
repeat for each item i in the globals
put i && "=" && value(i) & return after buffer
end repeat
# write minimal set of HTTP headers to stdout
read from stdin until empty
put it after buffer
put "Content-Type: text/plain" & cr
put "Content-Length:" && the length of buffer & cr & cr
put buffer
end startup
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...