NoRMatic: a gooey sugar layer for NoRM/MongoDB
It's been out on the Githubs for a few weeks now, but I wanted to do a quick writeup on NoRMatic. If you're using MongoDB with .NET or Mono, it's pretty likely that you've come across NoRM, the great driver and LINQ provider for MongoDB. While NoRM is awesome, it can be a little low-level at times and for Crew we needed a library to abstract a few common bits.
Some of the features that NoRMatic provides:
- ActiveRecord style interface (Save, Delete, GetById methods, etc)
- SoftDelete
- Versioning
- Validation (via DataAnnotations attributes)
- Save and Delete Callbacks (Before/After)
- Global Query Filters
- Basic Auditing (DateUpdated, UpdatedBy)
- Simple Log Listener
- Connection String Provider (to connect models to different databases)
Check out the documentation at the Github page for more information.