Abstract Database Interface

Jacob Carlborg doob at me.com
Mon Oct 29 08:28:34 PDT 2012


On 2012-10-29 15:42, BLM768 wrote:

> That's a good point. I haven't had any experience with other ORM
> libraries, so ActiveRecord was the closest thing that came to mind.
>
> I definitely do want to eventually capture some of ActiveRecord's
> features, but probably not all of them. I feel like the solution should
> be implemented in a way that fits well with a statically typed language,
> so I'll definitely have to drop some of the features. It won't be quite
> as nice to use, but it will be simpler in dome ways, which is one of my
> primary goals as a developer. Tools like ActiveRecord are more fun to
> use, but thinking of all the hash table lookups makes me cringe. :)
>
> If and when the library matures, though, I might think about adding some
> more ActiveRecord-like features if enough people miss them.

You can have a look at DataMapper. That's also for Ruby but it's not 
specific for SQL, if I recall correctly. Have a look at some ORM library 
written in Scala, I would guess they can be quite innovative and it's 
statically typed.

http://squeryl.org/index.html
http://datamapper.org/

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list