CGI - Web using xharbour

HMG Samples and Enhancements

Moderator: Rathinagiri

Post Reply
User avatar
marco_malac
Posts: 11
Joined: Mon Dec 08, 2008 12:54 pm
Location: Brazil , São Paulo-SP

CGI - Web using xharbour

Post by marco_malac »

Hello All,

I didn't find anything about how to use CGI / WEB with xharbour.
Does anybody have anything to post, sample or experiences ?

Thanks a lot !
========================================================
"Better than to know about the information is to know what to do with the information that you have."
Marco Antonio ( marco_malac )
Car Tuning / Bikes and adventure around the earth.
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: CGI - Web using xharbour

Post by apais »

1) hmg is harbour based (xharbour is a differenet beast )
2) cgi doesn't require a GUI layer so HMG or any other GUi is usseless
3) harbour tree has examples on cgi and an especific GT griver for that ( gtcgi )
4) form cgi point of view harbour is identical to clipper but 32 bits and with better performance ( any clipper cgi program can be recompiled with harbour with no much changes )

HTH
Angel
Angel Pais
Web Apps consultant/architect/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
User avatar
marco_malac
Posts: 11
Joined: Mon Dec 08, 2008 12:54 pm
Location: Brazil , São Paulo-SP

Re: CGI - Web using xharbour

Post by marco_malac »

Thanks for the answer angel !

in your opnion : what is the best way to use xbase with web for a simple application ? cgi or another one ?
Does the Hmg have any procedure to web ? Sorry for the insistence but i'm looking for for a long time and didn't find the asnwer yet. for me, the CGI method was a light in the tunel end. i would like to study this subject more as deeply as possible. I found a example, but it has a bugs and i didn't get to compile.

My target is to use a QR code with my database that will be showed over the internet. the web code is easy, but to show the database in xbase...

Could you help me ? or any tip ?
========================================================
"Better than to know about the information is to know what to do with the information that you have."
Marco Antonio ( marco_malac )
Car Tuning / Bikes and adventure around the earth.
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: CGI - Web using xharbour

Post by apais »

Currently with harebour you have 2 options:
1) traditional cgi stuff.
Pros: can ru on any web server already installed
2) Harbour has an httpserver made in pure .prg code called uhttpd (micro httpd) in the samples section.
Mindaugas (the author) have published a more recent version in his own site. (sorry but I don't have the link )
Angel Pais
Web Apps consultant/architect/developer.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com
Post Reply