3 ms·
Isn't CouchDB fully capable of doing this by itself? Why add the Node.js layer? (Genuine question)
by detst 16y ago
Isn't CouchDB fully capable of doing this by itself? Why add the Node.js layer? (Genuine question)
- cloudhead 16y agoYes, but not well. I'm using a commit-style approach to synchronize clients, so the document is never sent as a whole. I might be wrong, but I don't think couch can do that on its own. Even so, it gives me an extra layer of control, which I like. I considered making a CouchApp, but I didn't want to feel restricted.
- thenduks 16y agoI'm not that familiar with CouchDB-only apps but it seems to me that with node you get access to any number of other libs/technologies you may need. What if you want to aggregate a twitter feed? Connect to MongoDB for logging? Memcache? Do some image generation/processing? Websockets? Etc.
- axod 16y agoIf you didn't add Node.js no one would have upvoted it. Node.js is so hot right now.