HMG & The Web

Issues and Discussions related to Harbour

Moderator: Rathinagiri

User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

HMG & The Web

Post 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?
Kind regards,
Gilbert.
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG & The Web

Post 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
There's nothing you can do that can't be done...
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: HMG & The Web

Post 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.
Angel Pais
Web Apps consultant/architect/developer.
User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: HMG & The Web

Post 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.
Kind regards,
Gilbert.
User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: HMG & The Web

Post by karweru »

I wonder why Roberto discontinued hmgweb...looked very promising?
Kind regards,
Gilbert.
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG & The Web

Post by mol »

I've developed one application with hmgweb. It works fine. In my opinion it's almost finished.
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG & The Web

Post 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
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3165
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG & The Web

Post by serge_girard »

Plus: The PC application is monitoring the databases and PDF-prints etc...
There's nothing you can do that can't be done...
User avatar
apais
Posts: 440
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF
Location: uruguay
Contact:

Re: HMG & The Web

Post by apais »

Gilbert: I've already granted you access to the forum.
Angel Pais
Web Apps consultant/architect/developer.
User avatar
karweru
Posts: 220
Joined: Fri Aug 01, 2008 1:51 pm
DBs Used: DBF,mysql,mariadb,postgresql,sqlite,odbc
Contact:

Re: HMG & The Web

Post 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,
Kind regards,
Gilbert.
Post Reply