OpenThread
OpenThread

Reputation: 2094

Is there any stable nosql database for iOS except for Couchbase?

Is there any stable nosql database for iOS except for Couchbase? Couchbase is now a beta version which i don't want to use on a app with many users.(Although i like Couchbase very much)

Any suggestions? Special Thx!

Upvotes: 11

Views: 14291

Answers (3)

JP Illanes
JP Illanes

Reputation: 3675

Edit (April, 2024):


Also take a look to this Key/value databases that have been ported (wrapped) to iOS:

  • LevelDB: Made by Google, and it seems to be one of the fastest out there. No relational data model, no support for indexes

Upvotes: 7

SystematicFrank
SystematicFrank

Reputation: 17269

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.

Upvotes: 3

JasonSmith
JasonSmith

Reputation: 73752

There are several projects to get a CouchDB-compatible API available on mobile devices.

  • TouchDB, a native iOS build
  • PouchDB, an HTML5 implementation, for web and PhoneGap apps

Upvotes: 16

Related Questions