[sqlite] Javascript API for SQLite?

2012-09-14 Thread Jean-Denis Muys
Hello, I work on an application that uses an SQLite database as it's binary document format (with a custom extension). Now we want to develop a Web App variation of that application, that should be able to read and write those documents/databases. Since the Web App is written in Javascript, I

Re: [sqlite] Javascript API for SQLite?

2012-09-14 Thread Simon Slavin
On 13 Sep 2012, at 3:13pm, Jean-Denis Muys jdm...@cmd-informatique.com wrote: I work on an application that uses an SQLite database as it's binary document format (with a custom extension). Now we want to develop a Web App variation of that application, that should be able to read and write

Re: [sqlite] Javascript API for SQLite?

2012-09-14 Thread Clemens Ladisch
Jean-Denis Muys wrote: I am now looking for a Javascript implementation of the SQLite library. https://github.com/kripken/sql.js says: | sql.js is a port of SQLite to JavaScript, by compiling the SQLite | C code with Emscripten. It's completely in-memory, but: | Database objects ... have the

Re: [sqlite] Javascript API for SQLite?

2012-09-14 Thread Eleytherios Stamatogiannakis
There is a version of SQLite compiled in Javascript: http://www.syntensity.com/static/sqlite_wip.html But as others said, it is not possible to do block access on files from inside a Web browser's contained Javascript VM. Nevertheless, theoretically you could load the full DB file in memory

Re: [sqlite] Javascript API for SQLite?

2012-09-14 Thread Etienne
I work on an application that uses an SQLite database as it's binary document format (with a custom extension). Now we want to develop a Web App variation of that application, that should be able to read and write those documents/databases. Since the Web App is written in Javascript, I am