Code Monkey home page Code Monkey logo

doublerebel.tiger's Introduction

Tiger 0.2.1 by Charles Phillips

TigerJS is an expanded port of the popular single-page webapp framework, SpineJS. (Spine is similar to Backbone, although I find it to be more simple, and therefore more flexible and more powerful.) Rather than "reinventing the wheel", TigerJS builds on production-ready, battle-tested code that has launched countless apps across tech.

TigerJS is:

  • modular -- TigerJS has a clear separation of concerns (MVC/MVVM), and its libraries can be used singly or as a package.

  • reusable -- A TigerJS component for one app is a component for any app. TigerJS uses standard JS design patterns, and modules can be included in Tiger and non-Tiger apps.

  • simple -- TigerJS Is Just JavaScript. It is easy to debug and includes several tools to make Titanium development easy, without obscuring what happens under-the-hood.

Although the Tiger is built in CoffeeScript, one of the best features of Spine/Tiger's class system is its included shims, providing the same functionality in Vanilla JS as in Coffee.

TigerJS includes inheritance, chainability, complex Model relations, routing, FX/animation lib, AJAX/XHR wrapper, and works on both Android and iOS. TigerDB module allows auto-persist of 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.

Example App

https://github.com/doublerebel/tigerjs-todo

Notes:

For build tooling, check out the powerful and excellent Tintan, TSM, and Node Inspector. 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 - 2013 Double Rebel

doublerebel.tiger's People

Contributors

doublerebel avatar

Watchers

James Cloos avatar Brenton House avatar Brandon Young 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.