web browser control vs. localhost

web browser control vs. localhost

Postby Otto » Thu Oct 21, 2021 7:06 am

Hello friends,

I am thinking a lot about how I should develop WINHOTEL further.
I thought that changing the Dialogs to HTML with the web browser control might be a good option first.

I did a few more tests, but came to the conclusion that I will go the way, sending requests to the localhost from FIVEWIN.

I think that the modules later can be reused more easily and the complexity of the program is much smaller.

What are pros and cons for web browser control and what for localhost.

I am very much interested in your thoughts.
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: 6045
Joined: Fri Oct 07, 2005 7:07 pm

Re: web browser control vs. localhost

Postby Otto » Thu Oct 21, 2021 10:56 am

Dear friends,
Here you see a first test.
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: 6045
Joined: Fri Oct 07, 2005 7:07 pm

Re: web browser control vs. localhost

Postby Otto » Thu Oct 21, 2021 8:21 pm

Apache:
Setting the ServerName property in httpd.conf fixed the delays when calling localhost the first time.

# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
ServerName 127.0.0.1:80

I have to do more tests.


https://serverfault.com/questions/66347/why-is-the-response-on-localhost-so-slow
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6045
Joined: Fri Oct 07, 2005 7:07 pm

Re: web browser control vs. localhost

Postby Otto » Sat Oct 23, 2021 10:49 am

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 29 guests

cron