On 3 May 2010, at 8:14am, Gilles Ganault wrote:

> On Sun, 2 May 2010 20:31:15 +0100, Simon Slavin
> <slav...@bigfraud.org> wrote:
>> How are you seeing this ?  You send your SQL queries via HTTP and it answers 
>> by replying with XML ?
> 
> XML or TAB-separated text. Using regexes, it's easy to parse data,
> unless someone knows of a better way.
> [snip]

If you're going to mostly pass data for use with web applications then JSON is 
possibly a more appropriate format, since it can be used to construct 
JavaScript objects just by using the single command 'eval'.  A good 
implementation would do any of the three, depending on what was passed in the 
URL or URI.

> For those great C developers out there: What do you think of this
> idea?

The problem is not in coding it -- that's relatively easy.  The problem is in 
who would use it.  I think that would be mostly people who already use PHP to 
write a backend data server.  The advantage of this is that it can be done 
using just the hugely popular and tested Apache: it already has SQLite built in.

On the other hand, Apache is huge, complicated and hard to test.  A minimal kit 
including just HTTP and SQLite would be smaller and simpler and therefore more 
in the spirit of SQLite.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to