WebUI

WebUI

Postby ssbbs » Tue May 28, 2024 3:47 am

I found something great!!
WebUI: https://github.com/webui-dev/webui
Test on fivewin!!

compiler BCC 7.4/x32

Code: Select all  Expand view

func main()
  msgInfo('begin')
  WebUI()
  msgInfo('end')
return

#pragma BEGINDUMP
#include "webui.h"
HB_FUNC(WEBUI){
    size_t my_window = webui_new_window();
    webui_show(my_window, "<html><head><script src=\"webui.js\"></script></head> Hello World ! </html>");
    webui_wait();
    return 0;
}
#pragma ENDDUMP
 


Image
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Postby Otto » Tue May 28, 2024 5:43 am

ssbbs,
I think one should start with the official FiveTech programs first.

The problem is that these niche products do not achieve significant user numbers and fall asleep.
WebView2 is also used by other desktop languages and has a user base.

In our group, it is almost non-existent. I have noticed that interest in the web in our group has drastically decreased.

The regular Skype sessions that used to be on Fridays now take place only sporadically, and in principle, there are no contributions to web development here, and I read along in the xBase group, also there.
Where do you actually see the problem with an Apache server?

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: WebUI

Postby ssbbs » Tue May 28, 2024 7:03 am

The applications I developed have already started to move to the web!
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Postby albeiroval » Tue May 28, 2024 2:43 pm

ssbbs, looks greats.

Can you put the "C" and header "h" files that you included in the example ?
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
User avatar
albeiroval
 
Posts: 372
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Re: WebUI

Postby Lailton » Tue May 28, 2024 2:54 pm

Looks really cool,

Thanks for share, I will play with it.
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 153
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: WebUI

Postby Lailton » Tue May 28, 2024 3:22 pm

Just to let you know, it uses the webview2 ( same that Antonio already have added to fivewin )
https://github.com/webui-dev/webui/tree ... rc/webview

8)
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 153
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: WebUI

Postby Otto » Tue May 28, 2024 4:38 pm

Dear Lailton,

You are one of the first Fivewin users to specialize in web development and one of the most knowledgeable.

Do you use APACHE server?
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: WebUI

Postby Lailton » Tue May 28, 2024 6:49 pm

it worked fine on Mac M1.

Image
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 153
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: WebUI

Postby Lailton » Tue May 28, 2024 6:52 pm

Hi Otto,

Yes, I have some projects running with Apache/NGINX/IIS and some pure exe without it.
Can I help you with something?
You can contact me on Email/Skype lailton@paysoft.com.br

Otto wrote:Dear Lailton,

You are one of the first Fivewin users to specialize in web development and one of the most knowledgeable.

Do you use APACHE server?
Best regards,
Otto
Regards,
Lailton Fernando Mariano
User avatar
Lailton
 
Posts: 153
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil

Re: WebUI

Postby albeiroval » Thu May 30, 2024 12:53 pm

ssbbs wrote:I found something great!!
WebUI: https://github.com/webui-dev/webui
Test on fivewin!!

compiler BCC 7.4/x32

Code: Select all  Expand view

func main()
  msgInfo('begin')
  WebUI()
  msgInfo('end')
return

#pragma BEGINDUMP
#include "webui.h"
HB_FUNC(WEBUI){
    size_t my_window = webui_new_window();
    webui_show(my_window, "<html><head><script src=\"webui.js\"></script></head> Hello World ! </html>");
    webui_wait();
    return 0;
}
#pragma ENDDUMP
 


Image


Puedes mostrar el archivo de compilacion para crear el exe con BCC 7.4/x32
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
User avatar
albeiroval
 
Posts: 372
Joined: Tue Oct 16, 2007 5:51 pm
Location: Barquisimeto - Venezuela

Re: WebUI

Postby Antonio Linares » Thu May 30, 2024 5:38 pm

Se puede hacer lo mismo usando WebView con FWH :-)
regards, saludos

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

Re: WebUI

Postby ssbbs » Tue Jun 11, 2024 3:22 am

albeiroval wrote:ssbbs, looks greats.

Can you put the "C" and header "h" files that you included in the example ?


Download Project file: https://github.com/webui-dev/webui
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan

Re: WebUI

Postby ssbbs » Tue Jun 11, 2024 3:23 am

Lailton wrote:Just to let you know, it uses the webview2 ( same that Antonio already have added to fivewin )
https://github.com/webui-dev/webui/tree ... rc/webview

8)


The WebUI can use BCC x32 compiler.
line ID: ssbbstw
WeChat ID: ssbbstw
User avatar
ssbbs
 
Posts: 104
Joined: Mon Oct 17, 2005 3:03 am
Location: Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

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

cron