Waterline adapter for felixge's node-dirty
Want to see pretty graphs? Log in now!
npm install waterline-dirty
|1||downloads in the last day|
|31||downloads in the last week|
|117||downloads in the last month|
|Last Published By|
|Version||0.5.0 last updated a year ago|
|Keywords||waterline, database, in-memory, sails, dirty, dirtydb|
|Dependencies (6)||node-uuid, async, dirty, underscore, fs-extra, underscore.string|
Waterline adapter for the great felixge's Dirty database. (https://github.com/felixge/node-dirty) Dirty is an in-memory and disk-persisted JSON store which works great as a bundled, starter database (with the strict caveat that it is for non-production use only).
Waterline is a new kind of storage and retrieval engine. It provides a uniform API for accessing stuff from different kinds of databases, protocols, and 3rd party APIs. That means you write the same code to get users, whether they live in mySQL, LDAP, MongoDB, or Facebook. Waterline also comes with built-in transaction support, as well as a configurable environment setting.
NOTE: Waterline is currently in unreleased alpha-- that means it's not production ready! If you want to use waterline in a production app, please contribute. Currentliy, the plan is for an open alpha release early next year (2013). Thanks! You can learn more about
Waterline repo: https://github.com/mikermcneil/waterline
Writing your own adapters
It's easy to add your own adapters for integrating with proprietary systems or existing open APIs. For most things, it's as easy as
require('some-module') and mapping the appropriate methods to match waterline semantics.