Skip to content

jmoretti/ti_touchdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiTouchDB

by Paul Mietz Egli (paul@obscure.com) based on TouchDB-iOS by Jens Alfke (http://github.com/couchbaselabs/TouchDB-iOS)

TiTouchDB is an Appcelerator Titanium module which wraps TouchDB, the lightweight, CouchDB-compatible database suitable for embedding into mobile apps.

Because the Titanium runtime already contains a JavaScript interpreter, TiTouchDB can run standard JavaScript map and reduce functions directly from design documents, just like Apache CouchDB.

Using the Module

See the Wiki pages for usage instructions and the samples directory for example apps.

Requirements

  • Titanium SDK 2.1.0 or later
  • Xcode 4.5 or later
  • Runtime requirement is iOS 5+

License

  • TiTouchDB is under the Apache License 2.0
  • TouchDB is under the Apache License 2.0. See that project for additional licenses.

Development Status - iOS

0.5-beta

2013-02-06

Lots of changes in the TouchDB-iOS world! Jens has been working on a new, in-process API that replaces the HTTP listener plus CouchCocoa system that was previously the recommended way of using TouchDB. The "public API" branch in the TouchDB repo where this work has been done will be the basis for the 1.5 release of TouchDB. In addition, TouchDB 1.5 will be renamed to Couchbase Lite. The code has already been moved to new Github repo and its internal names have been modified to reflect the branding change. The public-api branch of this project is where I have been working to integrate these API changes. When Couchbase Lite 1.5 goes beta, I will be merging public-api to master.

2012-10-11

Added support for filters; new tutorial code under samples

2012-10-01

Fixed problem with map and reduce functions being garbage collected by the JS context.

2012-08-30

Brand-spanking new TouchBooks example built with the "Master/Detail" application template from Titanium Studio. The new code should be much easier to understand, and as a bonus it includes push and pull replication to an IrisCouch server!

Latest build of the project uses the head of TouchDB-iOS to get a JSON view collation bug fix.

Development Status - Android

0.5-beta

2012-10-11

Faked the persistent replication classes for API compatibility with iOS by wrapping TDReplicator; will update when TouchDB-Android has persistent replication.

2012-08-30

The new TouchBooks example also works on Android. It's cool. Check it out.

Android version uses the latest version to TouchDB-Android. Replication is working in the test case and in TouchBooks, but Marty Schoch, the author of TouchDB-Android, reports that there are issues with the replicator, so proceed with caution.

About

Titanium wrapper around TouchDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 49.3%
  • JavaScript 21.5%
  • Java 13.0%
  • Objective-C 10.9%
  • Python 3.3%
  • C++ 2.0%