Page 1 of 1

to sql or not to sql?

Posted: Wed Feb 29, 2012 6:09 am
by GregJohnson

Is there a way to connect a internal database created with openDatabase to a select list etc. the way you can with a service?


to sql or not to sql?

Posted: Wed Feb 29, 2012 7:54 am
by maxkatz

Internal database - are referring to Web SQL Database?


to sql or not to sql?

Posted: Wed Feb 29, 2012 1:30 pm
by GregJohnson

I guess so, still learning the terminology. IOW still part of HTML5 but not the localStorage keys.


to sql or not to sql?

Posted: Wed Feb 29, 2012 9:54 pm
by maxkatz

You can use PhoneGap API to access the database: http://docs.phonegap.com/en/1.4.1/pho...


to sql or not to sql?

Posted: Thu Mar 01, 2012 2:48 am
by GregJohnson

Ya, but that just shows how to access the DB, what I mean is there a way to connect that to say a select list the same way I would connect the results of a REST call. Or do I need to use some custom JS to populate the select list?


to sql or not to sql?

Posted: Thu Mar 01, 2012 8:12 am
by maxkatz

Not yet, it's something we are planning to do. You can definitely do it with JavaScript today.