• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ANN: CouchCocoa framework (CouchDB API)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ANN: CouchCocoa framework (CouchDB API)


  • Subject: ANN: CouchCocoa framework (CouchDB API)
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 26 Jul 2011 09:48:02 -0700

tl;dr: CouchCocoa is a new Objective-C API for CouchDB on iOS and Mac OS. You can get it from <https://github.com/couchbaselabs/CouchCocoa>.

If you’re not familiar with CouchDB <http://couchdb.apache.org>: it’s a popular “NoSQL” non-relational data store with a straightforward data model based on JSON, and flexible querying based on map-reduce. It has very powerful syncing/replication facilities that make it really easy to push and pull changes between any two instances (sort of like Git or Mercurial), and it scales well from mobile apps up to data centers.

CouchDB’s native API is HTTP, so calling it directly requires using NSURLConnection and parsing JSON. CouchCocoa hides that, so you can work with Objective-C classes like CouchDatabase and CouchQuery. But it’s not as high-level as CoreData: it doesn’t attempt to bridge your object model to CouchDB rows/documents.

The code is roughly at alpha level, by which I mean that it’s working, and suitable for people to start development with; but on the other hand you should expect bugs and limitations, and future API changes.

I’m excited to be developing this as part of my day job at Couchbase. This open-source framework will be a supported part of the Mobile Couchbase product. But it’s open source (Apache license, like CouchDB itself) and we welcome your contributions.

Repo & source code: https://github.com/couchbaselabs/CouchCocoa
Example snippets: https://github.com/couchbaselabs/CouchCocoa/wiki/Example-Snippets
iOS demo app: https://github.com/couchbaselabs/iOS-Couchbase-Demo
API docs: http://couchbaselabs.github.com/CouchCocoa/docs/

—Jens_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Dialog Command Keys
  • Next by Date: Re: Dialog Command Keys
  • Previous by thread: Cancelling a CATransaction's completionBlock
  • Next by thread: Creating a TCP server?
  • Index(es):
    • Date
    • Thread