GithubHelp home page GithubHelp logo

subarvind / ios-couchbase Goto Github PK

View Code? Open in Web Editor NEW

This project forked from couchbaselabs/ios-couchbase

1.0 1.0 0.0 35.9 MB

A build of Apache CouchDB optimized for iPad, iPhone, and iPod Touch

Home Page: http://www.couchbase.com

License: Apache License 2.0

Erlang 66.16% Shell 0.50% JavaScript 13.85% Objective-C 19.50%

ios-couchbase's Introduction

Mobile Couchbase for iOS

Apache CouchDB on iOS provides a simple way to sync your application data across devices and provide cloud backup of user data. Unlike other cloud solutions, the data is hosted on the device by Couchbase Mobile, so even when the network is down or slow (airplane, subway, backyard) the application is responsive to users.

What this means for you:

  • You can embed the rock solid distributed database, Mobile Couchbase, on your iOS device.
  • Your iOS apps can use Apache CouchDB's well-proven synchronization technology.
  • If you <3 CouchApps, you can deploy them as iOS apps.

Beta Release

If you just want to get started, jump to Building the Demo App. We've recently moved to Xcode 4, so for best results you should be on Xcode 4 also.

The biggest thing we need help with is size optimization - currently a Release build adds about 15 MB to your application. We are targeting 5 MB for our initial round of optimizations. It can definitely go lower but that work might take longer.

Join us

There is a Google Group here for Mobile Couchbase. Let's talk about how to optimize the Erlang build, what the best Cocoa APIs are for CouchDB, how to take advantage of replication on mobile devices. It'll be fun.

Getting Started

These instructions assume you are familiar with how to make an iPhone app because you've done it a lot already.

If you have questions or get stuck or just want to say hi, email [email protected] and let us know that you're interested in Couchbase on mobile.

Using Mobile Couchbase

For details on how to use Mobile Couchbase in your own apps see doc/using_mobile_couchbase.md

Building the Demo App

The following instructions can be used to build Mobile Couchbase for devices and simulators, using Xcode 4.

Get the main repository

git clone git://github.com/couchbaselabs/iOS-Couchbase.git

Get the submodules

cd iOS-Couchbase/
git submodule init
git submodule update

Open the Xcode workspace

open Couchbase.xcworkspace

To build and run the Demo App in the simulator:

  • Select "CouchDemo-iphonesimulator | iPhone 4.3 Simulator" from the popup
  • Click the Run button

To build and run the Demo App on a device:

  • Make sure a properly provisioned device is attached
  • Select "CouchDemo-iphoneos | DeviceName(osversion)" from the popup
  • Click the Run button

License

Portions under Apache, Erlang, and other licenses.

The overall package is released under the Apache license, 2.0.

Copyright 2011, Couchbase, Inc.

ios-couchbase's People

Contributors

jchris avatar mschoch avatar afh avatar schwa avatar apage43 avatar grantwood avatar

Stargazers

Arvind Subramanian avatar

Watchers

Arvind Subramanian avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.