SWV: A simple HTML/JS desktop GUI engine for PB
Re: SWV: A better webview control for building beautiful GUI
@All: Many thanks for your feedback!
@KCC: Yes, to clarify, this control is not intended to be used for typical web browsing. Instead, its main purpose is to enable beautiful HTML/JS based GUIs to be used in PB applications, and make communication between PB and the UI as intuitive as possible.
@srod: Yes, the current version uses the default Windows provided libraries (Trident for rendering, Chakra for JS)
Sorry, the Chromium version will also be Windows only, as I am not knowledgeable enough with the details of Mac and Unix development.
@Kiffi:
Agreed, as a modern browser, Trident is a weak option, but as a rendering engine for modern HTML/JS UIs, it seems to be capable enough for most use cases.
The idea will be to offer a choice between Trident and Chromium, which both have benefits and drawbacks. (Trident's main benefit for PB coders being its tiny size and memory footprint, IMHO)
By the way, I'm already familiar with RSBasic's CEF module, which is really awesome.
@KCC: Yes, to clarify, this control is not intended to be used for typical web browsing. Instead, its main purpose is to enable beautiful HTML/JS based GUIs to be used in PB applications, and make communication between PB and the UI as intuitive as possible.
@srod: Yes, the current version uses the default Windows provided libraries (Trident for rendering, Chakra for JS)
Sorry, the Chromium version will also be Windows only, as I am not knowledgeable enough with the details of Mac and Unix development.
@Kiffi:
Agreed, as a modern browser, Trident is a weak option, but as a rendering engine for modern HTML/JS UIs, it seems to be capable enough for most use cases.
The idea will be to offer a choice between Trident and Chromium, which both have benefits and drawbacks. (Trident's main benefit for PB coders being its tiny size and memory footprint, IMHO)
By the way, I'm already familiar with RSBasic's CEF module, which is really awesome.
- captain_skank
- Enthusiast
- Posts: 636
- Joined: Fri Oct 06, 2006 3:57 pm
- Location: England
Re: SWV: A simple HTML/JS desktop GUI engine for PB
I'd buy it now if it was available, as it will make my programs look more modern and negates the need to have custom gadgets/grids as html handles grids really easily.
The biggest issue would be laying out new 'forms' and how much bigger programs would get ( what do we have to include with each program ? )
The biggest issue would be laying out new 'forms' and how much bigger programs would get ( what do we have to include with each program ? )
Re: SWV: A simple HTML/JS desktop GUI engine for PB
I've burned by enough closed source dll's that get orphaned that even though I've been looking for something like this, I could only sponsor it if code was shared with me. Gnozal's libraries are perfect examples.firace wrote:I will release SWV as a very easy-to-use DLL (for a reasonable price), if enough people are interested.
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Yo.
It's an amazing good idea !
Working well on PB 5.71 x86 - W10x64
I just changed the second path line to compil it without making an exe.
The PB Gui Possibilities are pretty hot to improve even with canvas (hoppefully they are here) but the possibilities of css/js as bootstrap are wonderfull.
BIG THANKS
It's an amazing good idea !
Working well on PB 5.71 x86 - W10x64
I just changed the second path line to compil it without making an exe.
Code: Select all
main_UI_filepath$ = GetCurrentDirectory()+"gui_ex2_pure.htm" ; GetPathPart(ProgramFilename()) + "gui_ex2_pure.htm"
BIG THANKS
~Ar-S~
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4
My Image Hoster for PB users
My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 3.x / 5.7x / 6 - W11 x64 - Ryzen 7 3700x / #Rpi4
Code: Select all
r3p347 : 7ry : un71l d0n3 = 1
Re: SWV: A simple HTML/JS desktop GUI engine for PB
The possibilities are great and all but the footprint is just insane.firace wrote:...but of course keep in mind that resulting applications will be much much bigger (about 100MB for a simple Hello world application, vs 100KB for the current native version).
Im to oldschool so this will never be be a option for me.
Re: SWV: A simple HTML/JS desktop GUI engine for PB
I also prefer small non-bloated executables and low memory usage - that's why I will always keep Chromium as an option, not the default engine.Mijikai wrote:The possibilities are great and all but the footprint is just insane.firace wrote:...but of course keep in mind that resulting applications will be much much bigger (about 100MB for a simple Hello world application, vs 100KB for the current native version).
Im to oldschool so this will never be be a option for me.
Last edited by firace on Thu Feb 13, 2020 12:28 pm, edited 1 time in total.
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Demo updated:
- Fixed some bugs
- Added a sortable list example (with file system access)
- Added detection for middle and right mouse buttons.
Check line 79 for an example:
- Fixed some bugs
- Added a sortable list example (with file system access)
- Added detection for middle and right mouse buttons.
Check line 79 for an example:
Code: Select all
if FindString(eventdetails$, "Event type: mousedown") and FindString(eventdetails$, "Button: 3") : beep_(2424,141) : endif ;; Button 3 is the right mouse button
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Yes, it's still too early, but when/if the time comes, I will think a little more about pricing matters. Sharing source code with sponsors and top customers could be an option.Tenaja wrote:I've burned by enough closed source dll's that get orphaned that even though I've been looking for something like this, I could only sponsor it if code was shared with me. Gnozal's libraries are perfect examples.firace wrote:I will release SWV as a very easy-to-use DLL (for a reasonable price), if enough people are interested.
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Testing some new UI elements:
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Hi, thanks for reporting the issue - Demo download link has been fixed.Little John wrote:Cool.
//edit:
https://www.radsix.com/files_swv/SWV_De ... ve_x86.zipNot found on this server
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Sorry, it's not fixed.firace wrote:Hi, thanks for reporting the issue - Demo download link has been fixed.Little John wrote:Cool.
//edit:
https://www.radsix.com/files_swv/SWV_De ... ve_x86.zipNot found on this server
Not found on this server
-
- Addict
- Posts: 4527
- Joined: Thu Jun 07, 2007 3:25 pm
- Location: Berlin, Germany
Re: SWV: A simple HTML/JS desktop GUI engine for PB
Confirmed at 6:29 o' clock CET.Bisonte wrote:Sorry, it's not fixed.Not found on this server
Fortunately, half an hour ago I was able to download the ZIP archive.
Re: SWV: A simple HTML/JS desktop GUI engine for PB
If I use the link on the first post, download works.
Please recognize, that the link was changed, it is no longer ...Demo1... but ...Demo1b...
Please recognize, that the link was changed, it is no longer ...Demo1... but ...Demo1b...
Re: SWV: A simple HTML/JS desktop GUI engine for PB
I just changed it back to Demo1 - hopefully this should clear up any confusion.hoerbie wrote:If I use the link on the first post, download works.
Please recognize, that the link was changed, it is no longer ...Demo1... but ...Demo1b...