Hacker News new | ask | show | jobs
by HodGreeley 3319 days ago
Couchbase (not CouchDB) gives you a whole bunch of things. You get the embedded document database, sync/replication, conflict management, auth, scale, data routing, querying, and more. Not every project needs all these things, of course. It's just damn hard to get this stuff right when you do need it.

I also personally find it way easier to use than the standard stores on Android and iOS for on-device persistence. 2.0 is coming up and should simplify the use a bit, too. So as it stands now I'd say the main sweet spots are, ironically, around the two ends of the spectrum. Easy to use for persistent local storage with no sync, and the industrial strength solution when used with sync.

(I work for Couchbase on the mobile side.)

1 comments

Actually, it looks really good, I'll look into it more.

I have lots of business logic on back-end tho, how hard is that to implement on the server?

I haven't used Mongo before. I have always been a Ruby/SQL shop, but now using Elixir/CouchDB. It was an awkward transition away from SQL, but I'm betting on this as a future stack.

Most notable: You write your logic in JS (See _view and _list functions). There are no transactions. Geolocation is not easy.

MEAN, transitioning away from angular though.
I thought this was a native app?
My product is essentially a SaaS for location based data collection with mobile app front ends. It's for businesses that service lots of clients at client locations and want to track work done. It's super easy to setup and is super customizable, has a flexible custom form builder, etc.