Page 1 of 1

Reel Media Productions

Posted: Tue Feb 10, 2004 10:06 am
by Dare2
At the foot of pages on www.ReelMediaProductions.com there is the following statement:

"The entire PureBasic Resources Site and all web pages are maintained and generated by a 14kb cgi application written in PureBasic.
Now that's cool !! "

That is very cool.

And very interesting. Does anyone know much about it and would willing to explain it a bit? (No trade secrets, just overview).

For example, does it create html on the fly using rules and dynamic data, or use templates, or use scripting?

Posted: Tue Feb 10, 2004 4:14 pm
by Paul
The CGI was written in PureBasic and compiled to an EXE in console mode. It uses El_Choni's excellent CGI Library for reading and writting the data to the web pages.

The pages are created dynamically "on the fly" and pull information out of a MSAccess database, which contains stuff like User Names, Program Names, Links, Locations, Topics, News, etc.

After a few years of operation the database holding all the data has grown to 800kb but the PB cgi is still the fast and tiny size we have grown to know and love :)


No need for big bloated MySQL databases and fancy Servers using all sorts of scripting languages when these 2 little components do such a good job. (PB cgi + Access DB)

Posted: Tue Feb 10, 2004 5:32 pm
by Dare2
Hi Paul,

Thanks for the overview. That is impressive. And it sounds like a low maintenance site, so congrats on a good initial design. :)

I haven't looked at the CGI stuff by El Choni - One pretty clued up player! (I'm still going through El Choni's excellent MDI example).

How does it go with handling heavy traffic?

I would assume you have your heavy traffic moments, but I haven't noticed any real delays when I've been on site, and I've been on a few times.

Posted: Wed Feb 11, 2004 2:19 am
by ricardo
@Paul

Can this be done in other OS that windows?

Posted: Wed Feb 11, 2004 2:43 am
by Paul
The Resources Site CGI relies on El_Choni's CGI Lib to talk back and forth with the Server/Browser. As far as I know there is no such tool for the Linux version of PB (although it has been requested many times to Fred that native CGI commands are greatly needed on both WIn and Linux version of PB) ;)