Page 2 of 2

Re: Harbour CGI

PostPosted: Sat Sep 24, 2022 8:21 am
by Antonio Linares
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

Re: Harbour CGI

PostPosted: Sat Sep 24, 2022 8:30 am
by Enrico Maria Giordano
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.

Re: Harbour CGI

PostPosted: Sun Oct 02, 2022 7:44 am
by Otto
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


Image

Re: Harbour CGI

PostPosted: Sun Oct 02, 2022 8:15 am
by Antonio Linares
Dear Otto,

good morning

thank you so much for your great feedback :-)

Re: Harbour CGI

PostPosted: Sun Oct 02, 2022 8:21 am
by Antonio Linares
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 :-)