Page 1 of 1

[DEPRECATED]PB5.31; Win7/8; WebGadget; Mozilla/HTML/JS

Posted: Wed May 27, 2015 3:47 pm
by HanPBF
Hello!

As I know the current status for the WebGadget is, that IE is used and Mozilla is not possible.
From IE I know there is a newer version in pipeline (Edge) which does no more have ActiveX elements; so, maybe no more HTAs, etc.

Here is the question:
What possibilities are available to have the GUI built in HTML/JS and connect to PB?
So, clearly web gadget with IE works, Mozilla Firefox does not.
Does anyone know, if You can use Mozilla Firefox to build applications?
XULRunner only (which seems to be an older implementation)?

Or something connecting Appjs, Node-WebKit to PureBasic?
But, AppJS in in a minor or beta version and Node-WebKit uses chrome; a problem in office.
Even a network approach?

I'd really appreciate any idea!

Problem is, that I can't rely on PBs GUI framework as You have to do very much with CanvasGadget to have all stylings available and that I get these things "at no cost" from web technology via DHTML/CSS/JS.
I don't want complain about the PB abilities concerning GUI; I knew what I got.
But layouting, styling is far easier with JS as You have the complete DOM with many, many frameworks.

And I know what I have when using PB. Lightspeed compiling, reliable debugging and easy programming at all.
And a real stable tool.

Best would be to have a browser (Firefox) in app/window kiosk mode and exchange messages with PB.


Thanks a lot

Re: PB5.31; Win7/8; WebGadget; Mozilla/HTML/JS

Posted: Wed May 27, 2015 4:01 pm
by TI-994A
Hi HanPBF. Have you looked at PureBasic's sister product, SpiderBasic? :wink:

Re: PB5.31; Win7/8; WebGadget; Mozilla/HTML/JS

Posted: Wed May 27, 2015 7:22 pm
by HanPBF
Hi Ti-994A,

thanks for the proposal.

What I am looking for is a client side development based on web technic like it was possible with HTA (HTML application).

Also with embedding a browser gadget into another client side dev tool like PB it was possible to use web technology.
But interfacing with the client software is the problem.

And spiderBasic does translate into JS which then can be run in browser from server but without being an app having access to file system or database from client side.

So, even not a PB theme directly I was curious how others may handle this...

Thanks a lot!

Re: PB5.31; Win7/8; WebGadget; Mozilla/HTML/JS

Posted: Sat Jun 13, 2015 11:29 pm
by HanPBF
I think the best solution in the today "we-want-office-COM-.NET-JAVA-all-in-browser-and-always-looking-like-bootstrap"-IT-world is
- HTML/JS/CSS with its one million frameworks for GUI
- database and file system access with a local, portable web server (assuming no central web server at server site currently...)
- portable web server written in PB
- doing data exchange with GUI via AJAJ
- no need to non-blocking-requests like in node.js (PB has threading which simply works)
- available to serve templated HTML pages or parts like ASP/PHP
- no more need to wait for appjs or tidekit or how long will MS support HTA

What to check is
- how the win firewall will react at user site without admin rights.
- to puzzle out the details in http communication (via JSON)
- and in new HTML5 websockets
- if there is a small portable web server which could bridge between browser and PB (no, no IIS at client site...)

As usual -> any command appreciated indeed!

Why I am still working with PB even nothing seems to move forward: it's small, it's smart, it's fast, it's stable!