[GSOC] Database API
Daniel Gibson
metalcaedes at gmail.com
Tue Mar 29 01:59:53 PDT 2011
Am 29.03.2011 01:18, schrieb Masahiro Nakagawa:
> On Sun, 27 Mar 2011 07:11:01 +0900, David Nadlinger <see at klickverbot.at>
> wrote:
>
>> On 3/26/11 12:44 AM, Masahiro Nakagawa wrote:
>>> Currently, many databases exist.
>>>
>>> * SQL based: MySQL, PostgresSQL, SQLite, etc..
>>> * KVS: Cassandra, HBase, Kumofs, Redis, etc...
>>> * Document Oriented: MongoDB, CouchDB, etc...
>>>
>>> I think next Database API should support these types.
>>
>> I don't think this is the way to go, as there is a huge conceptional
>> difference between relational database systems and »NoSQL« systems
>> such as, say, CouchDB or Cassandra.
>
> It's an open question.
>
> Ruby / Rails has Arel (note that Arel is data access abstraction,
> not database access abstraction. But Database access is a part of data
> access).
> Haskell has Database.Persistent.
> I think other languages will support similar library in the future.
I think proper support for relational databases with SQL is more
important right now.
Once it is done some abstraction for generic data access can be
developed, using the relational database support for these databases and
something else (probably more specific to each NoSQL-Database, because
AFAIK they are even less compatible to each other than relational DBs)
for NoSQL-DBs.
Cheers,
- Daniel
More information about the Digitalmars-d
mailing list