data icon indicating copy to clipboard operation
data copied to clipboard

Syching with couchdb without requiring node.js

Open depeele opened this issue 14 years ago • 1 comments

data.js looks amazing -- especially the offline caching and synchronization! I'd love to use it in a project I'm beginning. However, the requirement for two servers (node.js and couchdb) seems overkill. Especially for a small web-app given couchdb's ability to serve all resources (html, js, css, images) directly.

The ability to connect to a couchdb backend directly from the browser would be a huge benefit. It would also allow for much simpler use cases, reducing the number of required backend servers.

Are there plans to include this capability?

depeele avatar Dec 09 '11 13:12 depeele

Not yet, since Data.js does some post-processing/filtering on the view results. Thus Couch should ideally run on the same machine (or network) for performance reasons.

michael avatar Dec 11 '11 20:12 michael