Framework for Titanium apps built with Backbone
npm install titanium-backbone
|1||downloads in the last week|
|14||downloads in the last month|
|Version||0.5.4 last updated 7 months ago|
|Dependencies (12)||backbone, commander, jade, pretty-data, underscore, node-uuid, stitch-up, stylus, titanium, wrench, backbone.stickit, chaplin|
Titanium-backbone is a framework for building native iOS and Android apps using Titanium and Backbone.
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.
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 firstname.lastname@example.org: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