Using Couchbase for a coredata iPhone app??
Hello, I am planning to build a coredata iPhone application to be sold on the app-store. The initial view is a table-view where users can add "categories" - the next view is a table-view of selected category, where users can add "items" into that category. I want this data to be synced with the cloud and linked to a website where users can view/edit the categories and items. I also plan to add a user authentication login page.
Can this be accomplished with Cloudbase Server, Membase, and Couch's iOS SDK?
Thanks!
I feel that CoreData is desirable because of classes like NSFetchedResultsController.h which help to efficiently manage the results returned from a Core Data fetch request. Have a look at the comments for that class and it makes its own usefulness painfully apparent.
Now CoreData is built upon DataSources such as SQL-lite so I feel that there is an inherent difference in the query language of CoreData which has been written for relational databases versus nosql DBs like CouchDB … but I could be wrong about this and need to collect the opinions of others in the dev community on this matter.
If all the worry is about the smoothness with which a UITableView updates when used solely against an embedded CouchMobile/TouchDB/SyncPoint instance then get and see what the user experience for the GrocerySync app feels like.
Otherwise jsut use CouchCocoa to communicate only with the remote/cloud Couch instance and then persist the data into CoreData as you would with any other web request after getting the response.
CoreData that reads from embedded CouchMobile/TouchDB/SyncPoint does not exist as far as I know.
Heya,
We have a class that does what you are looking for (intelligent data load for UITableView) called CouchUITableSource. This might be of some help for your performance question. Here is a link to the API docs for it.
http://couchbaselabs.github.com/CouchCocoa/docs/interfaceCouchUITableSou...
Chris
Apple has received criticism for charging iPod Touch owners for major iOS updates that iPhone owners receive for free, as well as excluding certain features from the iPod Touch software that are included in the iPhone. Thanks.
Regards,
framies for ipod
This can be accomplished, definitely.
The first place to start is by looking at the example code we've linked from our iOS page:
http://www.couchbase.org/get/couchbase-mobile-for-ios/current
Specifically the Grocery Sync app here makes use of CouchCocoa on iOS to maintain a table view. You could potentially extend this app to allow for nested table views, without too much work.
Cheers,
Chris