Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Sleeper

Manually maintaining a database interaction layer is a waste of time. It's often thousands of lines of code, and it's none of it terribly original. Hibernate for Java showed us that it's not required. With Sleeper, database interaction happens in terms of your objects, in a natural and easily configured manner.

Currently, Sleeper is only available from svn, and not in a useable state. Current plans are for HQL support and a simple configuration mechanism:

mixin(dbfield!(int, "_myfield", "column: MyField; notnull: true; pk;"));
private int _myfield;