Live data from Hacker News

Realm 1.0

realm.io

31–40 of 112 posts

Re: Realm 1.0

#31
post #17

Earlier quoted context omitted.

Sorry my edit was after your answer. Yeah well, literally ORM has relational in it, but you probably know what I mean. So it behaves more like a graph store? - Can I query bottom up / through collections ? I'm really interested in the technical details and their implications.

Yes, thinking about the internal structure as a graph will give you the right ideas. We don't have support for collecting objects bottom up yet, bu t it is tracked here: https://github.com/realm/realm-java/issues/2232 Realm Swift/Objective C has support for bi-directional references and we are adding that to Realm Java shortly as well: https://github.com/realm/realm-java/issues/607 ..That will also help when doing bo…

Thanks !

I'm reading through the docs and it seems very appealing. Especially the Observability of changes. I assume this works well because it is contained in one Process.

Re: Realm 1.0

#33

VP Product at Realm here. Thanks to everyone on HN for the support over the years! We came out of YC in Summer 11 and it’s been a fantastic ride growing over the past few years. Would love to hear y’alls thoughts on what we should add next. Is there any reason why you’d still use SQLite?

1. "Realm is not an ORM, and is not built on top of SQLite. Instead we’ve built a full database for mobile app developers, one that uses native objects that are dynamically mapped to a full, custom database engine (not just a key-value store)." => Why not use the terms "object database" or "OODBMS", then ? 2. "Realm supports Java, Objective-C, React Native, Swift and Xamarin." => "React Native" is not a language, why…

React Native isn't a language, but it is an application platform. JavaScript just happens to be the language for that platform. The Realm bindings for JS are specific to that platform and they won't work with traditional hybrid apps.

Re: Realm 1.0

#34
As I understand it Realm is an Object database. It's similar to the GemStone Smalltalk database in that regard but only local to the device.

How does Realm tackle data syncing between devices ?

Re: Realm 1.0

#35
In order to use this, you have to have know SQLite, given that, why would I spend time to learn something that wraps around it?

Most of the time you do a insert/update/view, something that a simple helper class would do well.

Re: Realm 1.0

#38
post #31

Earlier quoted context omitted.

Yes, thinking about the internal structure as a graph will give you the right ideas. We don't have support for collecting objects bottom up yet, bu t it is tracked here: https://github.com/realm/realm-java/issues/2232 Realm Swift/Objective C has support for bi-directional references and we are adding that to Realm Java shortly as well: https://github.com/realm/realm-java/issues/607 ..That will also help when doing bo…

Thanks ! I'm reading through the docs and it seems very appealing. Especially the Observability of changes. I assume this works well because it is contained in one Process.

No, the change notifications will work across processes as well. Realm Java still need to add multi-process support though (https://github.com/realm/realm-java/issues/1091), but it is working in Realm Swift/Objective C.

Re: Realm 1.0

#39
post #3

Congrats to the team for expanding their platform support. I'm still interested to see what sync looks like. If you are interested in mobile databases, you'd do well to evaluate Cocuhbase Mobile, which is 100% open source, available for most mobile platforms, and includes bulletproof synchronization with its open source secure cloud server. More info here http://developer.couchbase.com/mobile/

I do not think Realm has sync. Using couchbase for mobile development definitely makes it easy to get data from the device into the cloud (and back). The only complaint is it feels more geared to enterprise to have the best infrastructure for large set of users, but I guess that goes with the data size.

Do you have any comparison metrics of Couchbase and Realm or other mobile Databases?

Re: Realm 1.0

#40
post #35

In order to use this, you have to have know SQLite, given that, why would I spend time to learn something that wraps around it? Most of the time you do a insert/update/view, something that a simple helper class would do well.

> Realm is not an ORM, and is not built on top of SQLite. Instead we’ve built a full database for mobile app developers, one that uses native objects that are dynamically mapped to a full, custom database engine (not just a key-value store).
Post reply on HN