On Sat, May 16, 2009 at 5:45 AM, Saurabh Pawar <saurabh.pa...@ymail.com> wrote:
>
> I have been using sqlite3 for my engine based programs and now would like to 
> use it for my web based applications which are completely based on html and 
> javascript. So I would like to have some information if available on how to 
> connect to sqlite database through javascript and access the same.Also would 
> like to know if there are any disadvantages in doing so over a normal MYSQL 
> database(which is done through PHP and which is what i want to avoid).
> Thank You.
>
>

Javascript runs in the client, and the db is sitting on the server, so
there is no obvious way to use js to extract data from sqlite.
However, HTML5 offers a way of working a db. See Apple's example of
using HTML5 and databases with Safari. It uses sqlite to create the db
on the client's computer. In other words, every user gets his/her own
db, not a server db.


-- 
Puneet Kishor http://www.punkish.org/
Carbon Model http://carbonmodel.org/
Charter Member, Open Source Geospatial Foundation http://www.osgeo.org/
Science Commons Fellow, Geospatial Data http://sciencecommons.org
Nelson Institute, UW-Madison http://www.nelson.wisc.edu/
-----------------------------------------------------------------------
collaborate, communicate, compete
=======================================================================
Sent from Karlstad, Sweden
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to