FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index mod_harbour Harbour CGI
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour CGI
Posted: Sat Sep 24, 2022 08:21 AM
Dear Enrico,

Ok, I understand

Yes, basically they are the same, but modharbour CGI provides a set of functions that easy the work very much:
https://github.com/FiveTechSoft/mod_harbour/wiki
Please review the functions and classes.

The wiki may be not completed, so we should scan modharbour sources and see what functions are not documented yet.
modharbour has from "sessions" to automatic cookies management, it provides as hashes the "GET" and "POST" pairs, many things
that really easy the web development work

It has the experience as almost three years working and learning with mod_harbour
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: Harbour CGI
Posted: Sat Sep 24, 2022 08:30 AM
Antonio Linares wrote:Dear Enrico,

Ok, I understand

Yes, basically they are the same, but modharbour CGI provides a set of functions that easy the work very much:


Thank you.
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: Harbour CGI
Posted: Sun Oct 02, 2022 07:44 AM
Dear Antonio,
I copied my harbourWriter project from htdocs (modharbour) into the cgi-bin folder and start my programme with the mod-cgi version.
Everything works without a single change.

The application runs as fast as an arrow.
Best regards,
Otto


Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour CGI
Posted: Sun Oct 02, 2022 08:15 AM

Dear Otto,

good morning

thank you so much for your great feedback :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Harbour CGI
Posted: Sun Oct 02, 2022 08:21 AM

Cristobal reached to the conclusion that if you generate your screens from the PRGs instead of reading them from external files,
that you could also save that time and speed it up the web app :-)

Along these three years using mod_harbour we have been learning and improving...

The same applies to your PRGs. If you place them inside the modharbour.exe, then there is no need to read, compile, etc. The code is simply executed and this also speeds up the app very much.

thats why after these years I have to admit the facts: mod_harbour cgi runs extremelly well :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion