titanium-backbone

Framework for Titanium apps built with Backbone

npm install titanium-backbone
26 downloads in the last week
26 downloads in the last month

titanium-backbone

Titanium-backbone is a framework for building native iOS and Android apps using Titanium and Backbone.

Current status

This project is in very early stages of extraction from a production mobile banking application, but the ideas and patterns extracted have worked very well within this large app. We're taking the time to refactor as we extract so it should be even cleaner.

Installation

Install Titanium SDK

Visit the Titanium download page and follow the instructions from there to download Titanium Studio (and the Titanium SDK), or download the latest version of the Titanium SDK directly (OS X only). Prior to running an app generated by titanium-backbone you'll need to set the TITANIUM_DIR environment variable to point to your install of the SDK. For example:

$ export TITANIUM_DIR=~/Library/Application\ Support/Titanium/mobilesdk/osx/1.8.2

See the 1.8.2 announcement post for direct links to the Titanium SDK on other devices.

Clone the project to your development machine:

$ git clone git@github.com:trabian/titanium-backbone.git
$ cd titanium-backbone

Install package dependencies

$ npm install

Run the app generator to create a new mobile app

$ ./bin/titanium-backbone new [app name]
# Run ./bin/titanium-backbone new --help for instructions

Optional: Install and run the app generator globally by running:

$ npm install -g
$ titanium-backbone new --help
npm loves you