11

Couchbase以外のiOS用の安定したnosqlデータベースはありますか?Couchbaseはベータ版になり、多くのユーザーがいるアプリでは使用したくありません(Couchbaseはとても好きですが)

助言がありますか?スペシャルTHX!

4

3 に答える 3

16

CouchDB 互換の API をモバイル デバイスで利用できるようにするためのプロジェクトがいくつかあります。

  • TouchDB、ネイティブ iOS ビルド
  • PouchDB、Web および PhoneGap アプリ用の HTML5 実装
于 2012-05-07T00:06:58.450 に答える
6

編集(2016 年 4 月):


また、iOS に移植 (ラップ) された次のキー/値データベースも参照してください。

  • LevelDB (ポート: NULevelDB ): Google によって作成され、最速の 1 つと思われます。
  • TokyoCabinet ( Port: TSDocDB ): 非常に高速ですが、少し古くなっているようです。公式ページには、さらに高速な新しいバージョン (KyotoCabinet と呼ばれる) があると記載されていますが、そのためのポートはありません (私が知る限り)。 . また、LGPL としてライセンスされています (AppStore との完全な互換性はないようです)。
于 2012-08-14T20:49:29.217 に答える
2

I am also looking NoSQL for iOS and found NanoStore

https://github.com/tciuro/NanoStore

Although if you have time to explore, it would be a great experience learning SQLite properly with custom functions. It is very easy to create your own NoSQL database. Just one table for all objects storing dictionaries/json along views/indexes with custom functions.

Making your own solution is not the hard part. The hard work is mapping your objects to the database. This task can grow the complexity of your codebase in most hideous ways and you need to be a very good coder to avoid that. Although maybe you must suffer through such experience if you want to be very good.

One of the most nasty problems will also be the relationships between objects. Solving that is the main goal of CoreData, that is the reason for which you will read around that CoreData is not a database.

Learning SQLite properly, specially where you create custom plugins for it, can open many doors. However be aware that most developers do not care at all about learning those details and will get lost with your code base.

于 2014-06-13T14:28:47.427 に答える