[Xitami] CGI School

Marc Doigny xitami@lists.xitami.org
Sat, 08 Dec 2001 08:28:15 +0100


Hello !

It's not cheap, for a rather simple program, but if it's the right one, the 
money is well spend.
You don't need the DLL-version, only the console one, since you can 
#INCLUDE all the needed recurrent functions in your source (this will also 
speed execution, since there is no loading and linking of DLL's at run time).
If you have any programming experience in basic, writing complete programs 
in PB is easily done. It's a well structured language. It's that simple you 
don't need any tutorial. There is a windows help file included in the 
package for the case you're a newbee in basic.

Xitami will send your program the query string and even parse the form 
fields (if you use a <form method=POST ...> in your html source) by setting 
the environ. It's that simple i could't believe it at first!
And writing output to the browser is even more simple: you simply PRINT it 
to the provided temp-file!
I can mail you a small source code that sends the complete environment 
back, ideal for checking what Xitami actually sends to your program, 
depending on how you call the program.

There are all sorts of available basic routines for parsing data, but don't 
be fooled, you won't need them.

Marc


At 01:56 8/12/01, you wrote:
>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
> >

------------------<Mailserver VERFAILLIE BAUWENS>------------------
Alle uitgaande mails gecontroleerd op virussen door onze mailserver
Virusdefinities dagelijks aangepast.  -<postmaster@verfaillie.com>-