Another SQLite3 wrapper
Alexey Khmara
alex.khmara at gmail.com
Tue Nov 16 03:46:14 PST 2010
>From user side it's not hard to make it simple. Differences could be minimized,
plugins added etc. I'll try to add MySQL, and if it's possible to implement
common interface, I'll do it. But I'm not sure that it will be easy.
2010/11/16 Diego Cano Lagneaux <d.cano.lagneaux at gmail.com>:
> [ ... ]
>>
>> In terms of support in D, there needs to be a low level drivers I am
>> sure, but having a way of interacting with SQLite, DB2, Oracle, even SQL
>> Server all from the same source code would be good.
>>
>
> On one hand, I agree with this. It's nice to be able to easily switch the DB
> backend without modifying the code.
> On the other hand, sqlite is a very small, lighweight, external-server-less
> DB backend, which makes it useful for projects where other systems aren't.
> Sometimes I want to use sqlite in a small project, and I don't need nor want
> the extra complexity. I just want sqlite. This actually led me to use
> directly the C library instead of DDBI in a D1 small project of mine a
> couple of years ago. Just one .d file dropped into my project dir.
>
> So maybe, it's possible to make the DB framework use plugins, and only
> install the one we want; or maybe two different projects with same syntax
> (more convenient for the user but bound to fail in the longer term).
>
--
С уважением,
Алексей Хмара
More information about the Digitalmars-d-announce
mailing list