braintree / curator

Model and repository framework
MIT License
350 stars 39 forks source link

Documentation for Writing DataStores #6

Closed bencrouse closed 12 years ago

bencrouse commented 12 years ago

Any chance you could write up some documentation on how to implement different data stores? Specifically, what methods are required, expected method behavior, how to register the data store.

benmills commented 12 years ago

That seems like a good idea. We'll try to get that added soon!

pgr0ss commented 12 years ago

We're also working on an in-memory data store. Once we have that, we'll have two back-ends so it will be more clear what's required.

pgr0ss commented 12 years ago

The in-memory back-end is merged in, so feel free to take a look. We now have three back-ends (riak, resettable_riak and memory). We'll also try to get some documentation written. Is there a specific back-end that you are interested in?

bencrouse commented 12 years ago

That's great, thanks! I'm looking for MongoDB, but I now notice there's already a pull request open for it, so I'm going to pay attention to that.

pgr0ss commented 12 years ago

The MongoDB back-end has been merged in, so feel free to take a look.