Browser Widget/HTML5/LC Integration

Sannyasin Brahmanathaswami brahma at hindu.org
Fri Jan 27 17:10:15 EST 2017


How many devs here would be willing to pitch in $ to cover the cost for HQ to add "deep integration" between the browser widget and Livecode.

Currently there is a "wall" between LC and the browser widget. Jonathan Lynch, myself and Andre have been looking into this very closely. There is no way for a javacript to "ping" LC and get an immediate response.

Our use case is simple: the browser widget by default can only store data in the web indexDB space.  But if you want to run a SQLLite database in your mobile app, and use html5 for either, complete robust small app modules or even as light weight "views" … you need to have the browser widget act and behave and communicate with the LC back like any other control. Presently if, e.g. you issue click down in the browser widget to fire some handler in LC (to store some data in the database)  and the LC handler is supposed to store the data.. that handler's response never gets back to the Javascript. You have to start building up crazy solutions where you set values in LC and then other JS handler check those… it turns into "call back hell" with no means to control the timing.

I've as HQ to quote on this… I'm wondering if anyone else is interested. It expands the horizons for you team, as you could engage some young html5 wizard to build stuff, that could be fully integrated into your LC platform.

Brahmanathaswami








More information about the use-livecode mailing list