flatiron / resourceful

an isomorphic Resource engine for JavaScript
http://github.com/flatiron/resourceful
Apache License 2.0
354 stars 56 forks source link

REST API engine #18

Open mmalecki opened 12 years ago

mmalecki commented 12 years ago

Implement an engine which would be able to talk to REST APIs.

bmeck commented 12 years ago

I wonder how we would do filtering with REST though, since rest is a simple key-value store, and iterating all of the documents every time would destroy performance. Also might be pertinent to wrap a provider as well as consumer for REST.

provider somewhat like : https://gist.github.com/1373917

2011/11/17 Maciej Małecki < reply@reply.github.com

Implement an engine which would be able to talk to REST APIs.


Reply to this email directly or view it on GitHub: https://github.com/flatiron/resourceful/issues/18

indexzero commented 12 years ago

@bmeck Not every core engine method is expected to be implemented on every engine. See: https://github.com/flatiron/resourceful/blob/master/lib/resourceful/engines/couchdb/index.js#L36-38