[futurebasic] Re: [FB] Re: [X-FB] DIM FB AS cgi

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 2000 : Group Archive : Group : All Groups

From: "Steven J. Stratford" <sstrat@...>
Date: Fri, 24 Nov 2000 23:09:03 -0600
When I checked my e-postbox, I found e-mail from jonathan
<jonnnathan@...> sent on 11/24/00 12:51 PM that said:

> le 2000/11/22 16:27, tedd à tedd@... a écrit :
> 
>> I use Perl for my cgi scripts -- however, I would love to use FB
>> instead. How do you use FB for cgi stuff? It looks like to me that
>> the server would have to be able to run FB.
> 
> No, as FB is compiled not interpreted so any complied app can be used as
> part of a CGI as long as it does what its supposed to do. However you would
> have to have a Mac OS server (probably not OS-X), and today these are pretty
> slow besides 'nix boxes (plus the advantages that 'nix runs on cheap
> (w)intel boxes). But anyway the cost of a permanent connection is so high
> that... well, most folks'll go with a host service, so this means mainly
> Linux or NT... so Perl (or PHP) is the choice for neat CGI work.

There are some folks, of course, who have a permanent connection for their
Macs provided through their job or their school, and others who work for
people running Mac servers. I would expect that at least some of them would
like to write their own CGIs. FB^3 makes perfectly fine, fast, stable,
well-behaved CGIs. There are some free pre-compiled ones on my web site
(http://www.internetyx.com) you can download. If you think a Mac server is a
slouch, try some of my CGI demos.

My (free) CGI programming framework for FutureBASIC is on the latest CD (a
better documented version is available on my website). Within a few minutes
you can write your own CGIs. For example, plug in this statement:

FN Kahuna(t, "Title", "Hello World")

into my framework in the appropriate place, compile, stick it in the cgi-bin
on your server, and presto, a call to the CGI from the browser will return a
page with the message "Hello World".

--Steve

> 
> :-j
> 
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
>