USE OF THIS PACKAGE IS NO LONGER RECOMMENDED. PLEASE USE TITANIUM ALLOY FRAMEWORK INSTEAD. THIS REPO IS SCHEDULED FOR DELETION.
TiMVC is a small MVC for Titanium mobile. Want a single JSS file, action routing, json data passing, inheritance, layout separation and code organization? If so you should try TiMVC. Includes sample application & multi-dashboard view.
Application no longer requires multiple JSS files for each window. All JSS is located in a single app.jss file.
Resources folder is organized and clean. MVC folder allows for predefined storage of models, views, controllers, components and assets (images & databases).
Route to your controller action simply by specifying the route string. E.g. Action route "conroller/action" where "controller" is a controller class file located in the /mvc/controllers folder and "action" is a class function of the controller.
Pass JSON data object to controller action function by simply by passing the route string and data object to the TiMVC App class. The core TiMVC App class handles all routing and data passing.
TiMVC uses component base classes located in the /mvc/component folder. Edit base component classes to add methods to be inherited to controllers, views and models. TiMVC App class automatically adds base methods to loaded model, controller or view.
Software package is sample application with TiMVC that includes examples for tabs, simple windows, database and a Android/iPhone dashboard.