tiger
v0.2.1
Published
A full port of Spine.js MVC framework to Titanium Mobile, with enhancements
Downloads
7
Readme
Tiger 0.0.3 by Charles Phillips
A library enhancing Titanium Mobile apps with Spine's MVC architecture
Includes inheritance and chainability. Also now includes complex Model relations, routing, FX/animation lib, and bugfixed up-to-date Spine.
TigerDB will persist all models through Titanium's SQL DB!
Tips:
Require files in this order: tiger
, tiger.fx
(optional), tiger.elements
, others... This allows tiger.elements
to be switched out, say for a different environment ;), and Tiger.FX to be applied to all Elements. Tiger requires Spine by default, please include in lib folder. This version of Spine fixes a remote-model bug as per my pull request.
Documentation
Please refer to Spine.js documentation. Nearly everything that works in Spine, works in Tiger. Also some extras, like SQLite NoSQL-style storage and One-To-Many Collections. Element manipulation (add/remove, bind/unbind, events, animation, AJAX get/post) works as in jQuery.
Notes:
Proper example Todo-list application coming soon. And please check out the excellent Tintan and TSM to avoid Titanium headaches! I use Sublime Text 2 and don't miss the Titanium Studio bloat. In the process of vetting TDD frameworks to add to Tintan's build system, suggestions accepted and appreciated! Thanks to all Titanium devs who have shared their work and moved the community forward.
Cheers,
Charles
MIT Licensed, Copyright 2011, 2012 Double Rebel