benphane benphane - 3 years ago 433
Javascript Question

JavaScript sqlite

Best recommendations for accessing and manipulation of sqlite databases from JavaScript.

Answer Source

Well, if you are working on client side JavaScript, I think you will be out of luck... browsers tend to sandbox the JavaScript environment so you don't have access to the machine in any kind of general capacity like accessing a database.

If you are talking about an SQLite DB on the server end accessed from the client end, you could set up an AJAX solution that invokes some server side code to access it.

If you are talking about Rhino or some other server side JavaScript, you should look into the host language's API access into SQLite (such as the JDBC for Rhino).

Perhaps clarify your question a bit more...?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download