[Laszlo-user] Google Gears proof of concept
Monsieur Patate
cyril at misterpatate.fr
Mon Jun 4 12:30:44 PDT 2007
Hi all,
I have build a little proof of concept of interaction between Google Gears
and OpenLaszlo.
I have simply store the contain of a grid into the local database (SQLite
file) with the new Google Gears system.
The system is really easy to use with the DHTML runtime but i wanted to use
Flash for the demo, and it run after few hack.
- have used "flash.external.ExternalInterface.call()" function to call
Javascript functions
- as i wasn't able to import google gerars javascript object in OpenLaszlo,
I've add a little javascript function to run the SQL query and convert the
result as a multidimensional array (like that array[row][fields]). that i
can import and reuse to build a dataset.
I think google have made a really easy and powerful technology and
OpenLaszlo can be drastically extended by this mean.
You can download sources of my work here :
http://www.misterpatate.fr/blog/?p=251
direct link to sources : http://cyril.rouillon.free.fr/GG.rar
The website is in french but sources are in English ;)
--
Cyril Rouillon
- www.misterpatate.fr - Blog perso
- cyril.rouillon.free.fr - CV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070604/fd0db78e/attachment.html
More information about the Laszlo-user
mailing list