[Xitami] basic as a script cgi code
Magnus Wedberg
mw at 9000.org
Thu Jun 5 00:15:45 CEST 2008
Paul Reid wrote, On 2008-06-04 23:50:
> > basic as a cgi code
>
> ANY DOS/Win program (likewise anything executable under unix) can be run
> as a CGI.
...if they write to standard output. Turbo Pascal programs, for example
(yeah old), have some own routines for that and cannot be used to run
CGI -- they must be wrapped in a batch file (!) for that to work. So,
strange workarounds may be needed.
> Don't over-think, over-design, or get into strange little solutions.
At this point in time, CGI and SSIs -- once used most everywhere --
would /be/ the strange little solution. ;-)
> OTOH, unless you are married to BASIC, Perl and PHP run under Xitami.
> PHP has one function, coded to an Apache quirk/flaw, which bombs under
> Xitami; otherwise it is sweet. Perl and PHP have library functions which
> make hard-work in old BASIC too-easy. (VBscript may do more... but then
> why not go all-the-way and use MS IIS server?)
Yes, PHP is great, but the overhead of starting up a PHP process for
every page reload is /very/ significant. Apache with PHP as a module
absolutely smokes Xitami, despite Xitami being much faster for static
content.
--
Magnus Wedberg
http://www.magnuswedberg.com/
mw AT 9000.org
Warning! Objects in viewfinder may be closer than they appear.
More information about the Xitami
mailing list