Hello node.js. May I introduce the data mapper pattern?
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.coffeelint.json
.gitignore
LICENSE
README.md
index.js
makefile
package.json

README.md

spigg.js

spigg.js brings the Data mapper pattern to node.js, giving you database- agnostic mappers for data persistence and entities for business logic, to ensure DRY principles and testability across your application.

spigg.js is lightweight by design and only ships with a handful of methods to get, set, unset and clear your data and thereby leaves everything else up to you.

Read about the data mapper pattern here.

Please visit http://vaikava.github.com/spigg/ for full documentation.

Installation

npm install spigg

License

See LICENSE file.

Copyright (c) 2012 Joakim B