FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WebUI
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
WebUI
Posted: Tue May 28, 2024 03:47 AM
I found something great!!
WebUI: https://github.com/webui-dev/webui
Test on fivewin!!

compiler BCC 7.4/x32
Code (fw): Select all Collapse
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
line ID: ssbbstw

WeChat ID: ssbbstw
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: WebUI
Posted: Tue May 28, 2024 05: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

Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
Re: WebUI
Posted: Tue May 28, 2024 07:03 AM

The applications I developed have already started to move to the web!

line ID: ssbbstw

WeChat ID: ssbbstw
Posts: 400
Joined: Tue Oct 16, 2007 05:51 PM
Re: WebUI
Posted: Tue May 28, 2024 02: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
Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: WebUI
Posted: Tue May 28, 2024 02:54 PM

Looks really cool,

Thanks for share, I will play with it.

Regards,

Lailton Fernando Mariano
Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: WebUI
Posted: Tue May 28, 2024 03: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/main/src/webview

8)
Regards,

Lailton Fernando Mariano
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: WebUI
Posted: Tue May 28, 2024 04: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

Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: WebUI
Posted: Tue May 28, 2024 06:49 PM
it worked fine on Mac M1.

Regards,

Lailton Fernando Mariano
Posts: 231
Joined: Fri Jul 20, 2012 01:49 AM
Re: WebUI
Posted: Tue May 28, 2024 06: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
Posts: 400
Joined: Tue Oct 16, 2007 05:51 PM
Re: WebUI
Posted: 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 (fw): Select all Collapse
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
Puedes mostrar el archivo de compilacion para crear el exe con BCC 7.4/x32
Saludos,
Regards,

Albeiro Valencia
www.avcsistemas.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WebUI
Posted: Thu May 30, 2024 05:38 PM
Se puede hacer lo mismo usando WebView con FWH :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
Re: WebUI
Posted: Tue Jun 11, 2024 03: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
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
Re: WebUI
Posted: Tue Jun 11, 2024 03: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/main/src/webview

8)
The WebUI can use BCC x32 compiler.
line ID: ssbbstw

WeChat ID: ssbbstw

Continue the discussion