hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

implement the Database API on top of the Google Gears Database API... #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
it would be cool if the gwt-mobile-webkit API could reuse the Google Gears 
GWT API under the covers if the browser does not support HTML5's database 
API but does have Gears installed

http://code.google.com/p/gwt-google-apis/

then gwt-mobile-webkit's Database API could become the universal API for 
GWT for databases; be it HTML5 or Gears

Original issue reported on code.google.com by james.st...@gmail.com on 17 Aug 2009 at 11:00

GoogleCodeExporter commented 9 years ago
I am all ears to this feature!

Gears API description: http://code.google.com/apis/gears/api_database.html

This seems perfectly attainable, it only turns Gears into an asynchronous API.

Anybody know a OSS project which already did this at the Javascript level, by 
any chance? :-)

Original comment by bguijt on 17 Aug 2009 at 12:57

GoogleCodeExporter commented 9 years ago
...and here it is!

article: 
http://googlecode.blogspot.com/2009/05/gmail-for-mobile-html5-series-common.html
project: http://code.google.com/p/webstorageportabilitylayer/

Original comment by bguijt on 17 Aug 2009 at 1:10

GoogleCodeExporter commented 9 years ago
This feature would be interesting for the Opera Mobile platform as well - they 
don't employ the HTML5 database 
API, but do employ the Gears database API.

Anyway, I can give it a hot only after I am able to get the AppCache feature 
out. Which will probably be in about 
two weeks.

Original comment by bguijt on 17 Aug 2009 at 1:56

GoogleCodeExporter commented 9 years ago
Awesome - great find on the link to that JS abstraction library too!

Original comment by james.st...@gmail.com on 17 Aug 2009 at 2:05

GoogleCodeExporter commented 9 years ago
BTW one added benefit of this feature would be, folks would be able to run 
their GWT
application against Gears when using things like GWTTestCase or Hosted Mode in 
GWT
for debugging - yet be able to run against Safari/iphone et al when deploying 
the
code. It would certainly make things a little easier on the developer in 
GWT-land

Original comment by james.st...@gmail.com on 17 Aug 2009 at 2:16