Simplified data modeling in Javascript

Introducing DML 1.0

Working on Voltra Co., I’ve needed a lot of data models. I’ve tried some pretty clever solutions for validating and describing data. But after working daily with these libraries, I’ve found that the javascript just gets in the way. Too much syntax, too much boiler plate, etc. 50+ models with 30+ entities can become a nightmare to read and maintain.

Anyway, after much GTD I took a break to put together DML. DML is a simple language with the goal of making your data models readable and maintainable. The javascript implementation is only a few hundred lines. The documentation is a work in progress at the moment but the syntax looks like this…

This is in the very early stages. Visit the project on Github. If you like it star it, fork it, etc.