Page 1 of 1

My Bookmark WebView

Posted: Fri Feb 13, 2026 6:14 am
by susan
After doing enough work onĀ My (Simple) Bookmark Manager for now, and being pretty happy with the results (although a search command would be nice to add in the future), I wondered about trying something similar, but with using the WebView Gadget.

So here is My Bookmark WebView! I haven't called it a manager because it's too incomplete (for example, you can't edit or delete bookmarks), but making it gave me the confidence to think that a more complete desktop application could be made without using the Gadget UI, and instead sticking with HTML5 with JavaScript and CSS for the main window.

This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.

The Folder/Bookmarks tree itself is very basic, taken from an example on W3Schools and I can imagine that by using some JavaScript libraries, a much more capable tree could be presented. But in this case, I wanted to keep the HTML and CSS as simple as possible, to see how well it would work having as much PureBasic code as possible and reusing most of my first bookmark manager code.

Below is a link to what it looks like, and a zip file with all the sources so you can run it in the IDE or make it yourself.

Image of the main window:
https://notebook.zohopublic.com/public/ ... 8b75434d54

Source:
https://workdrive.zohoexternal.com/exte ... eb0a61c7a7

Re: My Bookmark WebView

Posted: Fri Feb 13, 2026 3:52 pm
by threedslider
@susan : Great job on that but although not yet tested, I would ask to put your source code in github similar because your web will be not longer exist in futur and nobody can't access your stuff :lol:

Re: My Bookmark WebView

Posted: Sat Feb 14, 2026 6:37 am
by susan
Those links are for a cloud service that I pay for, so I am not too worried about them going bad. They should be good as long as I keep my subscription active, which I plan to do for many years, as I am pretty happy with Zoho.

Re: My Bookmark WebView

Posted: Sat Feb 14, 2026 7:19 pm
by spikey
Nice project.
susan wrote: Fri Feb 13, 2026 6:14 am This is the first time I have ever tried binding events/callbacks in PureBasic, and I think I may become a convert to that technique instead of a big event loop with many nested select and conditional statements. It was all much simpler to keep organised than I imagined.
Yes, I agree with you there. All my new projects use binding and whenever I go back to an old one I always think "I really need to refactor this" at some point! It also lends its self to component reusability across projects if you plan it right.

Re: My Bookmark WebView

Posted: Sat Feb 14, 2026 7:38 pm
by Kwai chang caine
Veery nice... the great class :shock:
Thanks for sharing 8)

Re: My Bookmark WebView

Posted: Sat Feb 14, 2026 10:35 pm
by Sergey
Define works as Protected :o
The code is written very well and legibly