[Xitami] CGI School

xitami@lists.xitami.org xitami@lists.xitami.org
Sat, 8 Dec 2001 01:11:28 -0600


Scott,
    As has been mentioned here, and I agree completely, each person will
have their favorite tools.....that said, I'd reply to your comment by saying
"you always get what you pay for"  :)

   PB comes with tools that parse form data very easily.  You basically use
a string buffer to put the contents in, then strip off the variable values.
To create the resulting page, you use a line similar to:

WriteCGI "<b>The result of your query " & Request$ & " is: " & ResultValue$
& </b>"

The real power happens between the post/get data and the WriteCGI sections.
Execution speed, even opening a sequential file, reading through it for a
specific value, closing and processing it is amazing, even on low end
hardware.  I'd be more than happy to email you some samples I've wipped
together.  There is also a ton of very impressive source code on the PB user
forums on PowerBasic's web site.

It all comes down to what you're comfortable with.  I think Bob Zale has
created an awesome product (ever since Borland TurboBasic), the support is
exceptional, and even though its not free, I find I can do things with PB
faster and easier than any other tool *most of the time* and to me, that's
worth paying for.   Your mileage may vary.  :)

--Joe


----- Original Message -----
From: "Scott Tyson" <scott@therubberroom.org>
To: <xitami@lists.xitami.org>
Sent: Friday, December 07, 2001 6:56 PM
Subject: Re: [Xitami] CGI School


> Too bad it costs 150.00 vs PHP's $0.
>
> So are the any tutorials on how to write a PB executable/DLL that is can
> handle a form post and can act like a PHP or perl script that has logic
and
> barfs out a resulting page?  I've seen sites that are run off a DLL or EXE
> with query sting parms so I'm assuming that is what you'd do with PB?
>
> On Thu, 6 Dec 2001 19:58:12 -0600
> Joe@ByrneWorld.com wrote:
>
> > Jay,
> >    I've used them all, PHP, PERL, Java, etc. but when I really need a
good
> > solid Web application, one that does exactly what I want with speed and
> > stability, there is no substitute for the PowerBasic Console Compiler.
> > (www.powerbasic.com) Hands down, end of discussion best option going.
From
> > the sounds of things, you'd feel right at home with PB and it behaves
> > perfectly with Xitami.
> >
> > --Joe
> >
> > ----- Original Message -----
> > From: "Control-Freak" <control-freak@cfl.rr.com>
> > To: <xitami@lists.xitami.org>
> > Sent: Thursday, December 06, 2001 2:51 PM
> > Subject: [Xitami] CGI School
> >
> >
> > > Hello,
> > >
> > > I got Xitami 'cause I got tired of someone else running my server for
me,
> > > and telling me what I can and can't do.  I can, and have, spent all
day
> > > looking around the internet for pre-made CGI scritpts with idiot
> > > step-by-step instructions on how to install it, and have the script do
> > > almost what I want it to do.
> > >
> > > But, I would really rather make my own scripts that do exactly what I
want
> > > them to do.  I don't even really know what I want them to do yet.  I
am
> > > inspired by discovered possibilty.
> > >
> > > I am a programmer by trade, but I am still very new to any sort of
> > internet
> > > programming.  I mainly know old-school (GW BASIC, FORTRAN, COBOL) and
a
> > > half-dozen very proprietary languages.  Currently my Xitami FTP/HTTP
> > server
> > > is running on Windows ME.
> > >
> > > I was wondering if anyone could help me with:
> > >
> > > A) What would be a good first scripting method to begin with on
Xitami?
> > > (PHP,  Perl, etc.)
> > >
> > > B) Where are the good beginner tutorial sites, PDFs available for this
> > type
> > > of scripting?
> > >
> > > Thanks in advance for any help.
> > >
> > > Jay Aldrich
> > >
> > >
> > > --
> > > Xitami Users Mailing List -- For Xitami support
> > > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
> > >
> >
> >
> >
> > --
> > Xitami Users Mailing List -- For Xitami support
> > To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>
> --
> Scott Tyson <scott@therubberroom.org>
> ICQ: 125581
>
>
> --
> Xitami Users Mailing List -- For Xitami support
> To unsubscribe: http://lists.xitami.org/mailman/listinfo/xitami
>