Howdy, On Mon, 13 Sep 2004 19:48:25 +0100 (BST), Christian Smith <[EMAIL PROTECTED]> wrote: > On Mon, 13 Sep 2004, Stefan Neumann wrote: > >I think sqlite could be ideal for this purpose. Does anybody know > >of any intentions to make something like an XPCOM-wrapper for > >sqlite? Could this mean a lot of work and is there any project that > >could serve as a starting-point? > > My company did just this. We're using SQLite to manage installation > information, and use Mozilla as a frontend. We wrote an XPCOM component > against SQLite 2.8.x to provide access to the data in a uniform way across > C++ and Javascript. > > I can see if we're willing to release the code. No promises, mind. And I'm > not even sure what we wrote would be a good template, as it provides just > the limited functionality we required in house.
I'm starting to develop some core mozilla data storage bits, backed by sqlite 3.. part of this is a "light" xpcom-y binding for sqlite, as well as richer/easier to use interfaces for clients that don't want to use SQL directly (RDF, for example). This is not "near term" stuff though, maybe a few months out for something usable; if you need just simple access to a local database, you can probably do it through the sql extension (that someone pointed out earlier), or just write a thin binding to sqlite. - Vlad