Easy and efficient database usage
w0rp via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 23 05:42:07 PDT 2015
I keep finding myself thinking about what an API in D for easy
and efficient database usage would look like. I started thinking
about how ORM is done in libraries in other languages, and
started to become obsessed with the notion that perhaps there
should be a library for D which is roughly as convenient to use
as an ORM, but tends towards greater efficiency, in particular
for encouraging more efficient queries through the API, and for
cutting down on the number of allocations done.
Has anyone had any thoughts on this so far? I work with Django in
my day-to-day work, but I have often thought that it would be
nice to have something for easy database access for D web server
backends. So you can write low to medium scale web applications
in some dynamic language, and high performance backends in D for
large scale web projects. Django provides a variety of nice
features for working with databases, and I wonder how they would
be represented in D.
Does anyone have any thoughts on this topic?
More information about the Digitalmars-d
mailing list