It is currently Mon Nov 30, 2020 6:37 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: SWV: A better webview control for building beautiful GUI
PostPosted: Wed Feb 12, 2020 1:58 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
@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. :)

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Wed Feb 12, 2020 3:24 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Oct 06, 2006 3:57 pm
Posts: 570
Location: England
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 ? )


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Wed Feb 12, 2020 7:00 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Nov 09, 2010 10:15 pm
Posts: 1687
firace wrote:
I will release SWV as a very easy-to-use DLL (for a reasonable price), if enough people are interested.

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.


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Wed Feb 12, 2020 8:14 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat Oct 06, 2007 11:20 pm
Posts: 292
Location: France
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.
Code:
main_UI_filepath$ = GetCurrentDirectory()+"gui_ex2_pure.htm" ; GetPathPart(ProgramFilename()) + "gui_ex2_pure.htm"


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

_________________
~Ar-S~

My webSite (french) with PB apps : LDVMULTIMEDIA
PB - 5.4x LTS / 5.7x - W10 x64 - Ryzen 7 3700x
Repeat : try : until done = 1


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Thu Feb 13, 2020 9:14 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sun Sep 11, 2016 2:17 pm
Posts: 752
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).


The possibilities are great and all but the footprint is just insane.
Im to oldschool so this will never be be a option for me.


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Thu Feb 13, 2020 12:03 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
Mijikai wrote:
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).


The possibilities are great and all but the footprint is just insane.
Im to oldschool so this will never be be a option for me.


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.

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Last edited by firace on Thu Feb 13, 2020 12:28 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Thu Feb 13, 2020 12:07 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
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:

Code:
if FindString(eventdetails$, "Event type: mousedown") and FindString(eventdetails$, "Button: 3")     : beep_(2424,141) : endif  ;; Button 3 is the right mouse button

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Thu Feb 13, 2020 12:14 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
Tenaja wrote:
firace wrote:
I will release SWV as a very easy-to-use DLL (for a reasonable price), if enough people are interested.

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.


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.

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Sun Feb 16, 2020 12:26 pm 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
Testing some new UI elements:

Image

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Sun Feb 16, 2020 7:57 pm 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3965
Location: Berlin, Germany
Cool. 8)

//edit:
https://www.radsix.com/files_swv/SWV_De ... ve_x86.zip
Quote:
Not found on this server

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Mon Feb 17, 2020 12:10 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
Little John wrote:
Cool. 8)

//edit:
https://www.radsix.com/files_swv/SWV_De ... ve_x86.zip
Quote:
Not found on this server


Hi, thanks for reporting the issue - Demo download link has been fixed. :)

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Mon Feb 17, 2020 6:25 am 
Offline
Addict
Addict
User avatar

Joined: Tue Oct 09, 2007 2:15 am
Posts: 1144
firace wrote:
Little John wrote:
Cool. 8)

//edit:
https://www.radsix.com/files_swv/SWV_De ... ve_x86.zip
Quote:
Not found on this server


Hi, thanks for reporting the issue - Demo download link has been fixed. :)


Sorry, it's not fixed.
Quote:
Not found on this server

_________________
PureBasic 5.72 LTS (Windows x86/x64) | Windows10 Pro x64 | Z370 Extreme4 | i7 8770k | 64GB RAM | iChill GeForce RTX 2080 Super | HAF XF Evo​​
English is not my native language... (I often use DeepL to translate my texts.)


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Mon Feb 17, 2020 6:30 am 
Offline
Addict
Addict

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 3965
Location: Berlin, Germany
Bisonte wrote:
Sorry, it's not fixed.
Quote:
Not found on this server

Confirmed at 6:29 o' clock CET.
Fortunately, half an hour ago I was able to download the ZIP archive. :-)

_________________
Please excuse my flawed English. My native language is PureBasic.
Search
RSBasic's backups


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Mon Feb 17, 2020 10:25 am 
Offline
User
User

Joined: Fri Dec 06, 2013 11:57 am
Posts: 57
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...


Top
 Profile  
Reply with quote  
 Post subject: Re: SWV: A simple HTML/JS desktop GUI engine for PB
PostPosted: Mon Feb 17, 2020 10:34 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Nov 09, 2011 8:58 am
Posts: 616
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...


I just changed it back to Demo1 - hopefully this should clear up any confusion.

_________________
My new project: A simple HTML/CSS UI engine for PB desktop apps
viewtopic.php?f=7&t=74582


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye