New mod_harbour "viewer"

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

New mod_harbour "viewer"

Postby Antonio Linares » Sun Jul 05, 2020 8:57 am

New mod_harbour "viewer" allows you to use your mod_harbour apps as "desktop" apps, without having to use a web browser (this is the basic concept of "electron")

https://github.com/FiveTechSoft/mod_harbour/tree/master/viewer

Simply download viewer.exe and webview2loader.dll
syntax: viewer.exe url

This is the technique used by Microsoft vscode, WhatsApp desktop and many other modern apps:
Just one app for the desktop and for the web

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New mod_harbour "viewer"

Postby Otto » Sun Jul 05, 2020 10:49 am

Dear Antonio,
Thank you so much. This now enables so many new opportunities.
I just tested WINHOTEL web with the new viewer.
It can now be seamlessly integrated into my desktop application.
Best regards,
Otto

Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: New mod_harbour "viewer"

Postby Enrico Maria Giordano » Mon Jul 06, 2020 3:03 pm

This is interesting, but I would like to know on which browser the viewer is based. Isn't dangerous to navigate the web without protection?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New mod_harbour "viewer"

Postby Antonio Linares » Mon Jul 06, 2020 4:41 pm

Enrico,

It uses Microsoft Edge engine:

https://github.com/webview/webview
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New mod_harbour "viewer"

Postby Enrico Maria Giordano » Mon Jul 06, 2020 5:37 pm

Ok, great. Another question: it would be much better if there were a statusbar showing the url of the link we are about to click.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Re: New mod_harbour "viewer"

Postby Otto » Mon Jul 06, 2020 6:45 pm

Hello Enrico,
I copy this from SLACK:

Angel Pais 18:32 Uhr
First sight advantages: users can't write anything on the address bar, users can't hit the back button

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: New mod_harbour "viewer"

Postby Enrico Maria Giordano » Mon Jul 06, 2020 7:39 pm

Yes, I agree: no address bar and no back button. And if one is restricted to a known application, even the staturbar can be avoided, after all.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New mod_harbour "viewer"

Postby Enrico Maria Giordano » Mon Jul 06, 2020 7:45 pm

I just found that browser print doesn't work. Can it be supported?

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: New mod_harbour "viewer"

Postby Antonio Linares » Tue Jul 07, 2020 7:18 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42097
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: New mod_harbour "viewer"

Postby Otto » Tue Jul 07, 2020 8:26 pm

Dear Antonio,

Since viewer.exe is not working for me on WINDOWS 2012 servers, I downloaded this project for a test.

https://github.com/pmuellr/AnyViewer

This viewer works for me. But I don't know how to integrate my own website.
This also has PRINT option.
Maybe you can setup this one.

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 6 guests

cron