Page 1 of 2

HMG & The Web

Posted: Wed May 27, 2020 8:31 pm
by karweru
Dear all,

Which way? Are we going to lose all our HMG code or there will be a way to transit our code to the web? I'm trying to follow mod-harbour, but having no experience in web development makes it quite hard. Any proposals one can follow that would ease the learning curve?

Re: HMG & The Web

Posted: Thu May 28, 2020 6:23 am
by serge_girard
For the time being I stick with Windows... Safer than web-app which is in fact open to use for anybody, while EXE is open if you have the EXE file on your computer.
Everyday I hear of sites being hacked and passwords are being sold. Leaks everywhere...

Serge

Re: HMG & The Web

Posted: Thu May 28, 2020 6:03 pm
by apais
Hi Gilbert

Web mode development advantages:
1) The same user interface for Windows, Linux, Mac.
2) You can convert your web app to a desktop one via electron if you plan it carefully.
Apps compiled with electron: Slack, Whatsapp desktop, Skype, Visual Studio Code and many more.
3) On Apache, you can mix Harbour and PHP server modules for expanded capabilities.
4) No installation needed and fast distribution of your app/updates to your organization.
5) This is what new customers are asking for these days.
6) A huge ecosystem of libraries to accomplish almost anything.

Disadvantages:
1) In a pure web model, you must take extra security measures.
2) Hard & little more complex development cycle.
3) You need to learn HTML, javascript, and CSS.

There must be some more things I've forgotten, but I hope you get the picture.

Tell me what else should I add to my site ( https://www.mod-harbour.com/ ) to make the transition easier for newcomers.

HTH
Angel Pais

PD: You can also join https://forum.mod-harbour.org/ and post your questions there.

Re: HMG & The Web

Posted: Thu May 28, 2020 7:06 pm
by karweru
Thank you Serge,

Thanks Angel.

AI have applied to join mod-harbour and looked up your site...I'll go into it in detail...I'm very eager to port all my destop apps into the web. Ever since this covid-19 epidemic, most of my clients are demanding i graduate my apps to the web, to leverage accessibility from anywhere. The Electron conversion sounds very very interesting.

I'm also worried about the security issues raised by Serge,...but everything seems to be going web.

Re: HMG & The Web

Posted: Thu May 28, 2020 7:08 pm
by karweru
I wonder why Roberto discontinued hmgweb...looked very promising?

Re: HMG & The Web

Posted: Thu May 28, 2020 7:14 pm
by mol
I've developed one application with hmgweb. It works fine. In my opinion it's almost finished.

Re: HMG & The Web

Posted: Thu May 28, 2020 7:46 pm
by serge_girard
Gilbert,

Of course you can put a limit on IP-addresses to access a website. I made a web based application (which is running on a tablet or even a phone or PC, Linux, Mac, ... etc. (not an IBM Mainframe z/OS, yet)) and access is now limited to 10 users with fixed IP address. Main updates/inserts (SQL database) however are done with HMG application (on Windows) on a few PC's. This is a rather safe method. On problem sometimes arise: IP-address can change so you need a human how can arrange access to IP-addresses. This depends on your host. The webapp is in PHP-HTML5-CSS....

Serge

Re: HMG & The Web

Posted: Thu May 28, 2020 7:47 pm
by serge_girard
Plus: The PC application is monitoring the databases and PDF-prints etc...

Re: HMG & The Web

Posted: Thu May 28, 2020 9:32 pm
by apais
Gilbert: I've already granted you access to the forum.

Re: HMG & The Web

Posted: Sat Jun 20, 2020 9:04 am
by karweru
Hi Angel,

I have posted twice on your forum, but the post is not visible...not sure if i'm doing something wrong.

I downloaded a win64 installer from github, run the install but I run into a problem at the very end ‘httpd.exe system error. Vcruntime140.dll not found’. I have installed Apache in c:\apache24 and mod_harbour in c:\modharbour

Kindly, if anyone can help.

I apologize for posting mod_harbour issues here.

Thanks,