`
rensanning
  • 浏览: 3518335 次
  • 性别: Icon_minigender_1
  • 来自: 大连
博客专栏
Efef1dba-f7dd-3931-8a61-8e1c76c3e39f
使用Titanium Mo...
浏览量:37579
Bbab2146-6e1d-3c50-acd6-c8bae29e307d
Cordova 3.x入门...
浏览量:604650
C08766e7-8a33-3f9b-9155-654af05c3484
常用Java开源Libra...
浏览量:678516
77063fb3-0ee7-3bfa-9c72-2a0234ebf83e
搭建 CentOS 6 服...
浏览量:87540
E40e5e76-1f3b-398e-b6a6-dc9cfbb38156
Spring Boot 入...
浏览量:400045
Abe39461-b089-344f-99fa-cdfbddea0e18
基于Spring Secu...
浏览量:69129
66a41a70-fdf0-3dc9-aa31-19b7e8b24672
MQTT入门
浏览量:90644
社区版块
存档分类
最新评论

基于Titanium的MVC框架

阅读更多
Titanium Redux
https://github.com/dawsontoth/Appcelerator-Titanium-Redux

该框架目的很明确:
当你使用Titanium开发应用是需要写大量的代码,此框架将在最大程度上减少代码量。

比如:
一般Titanium代码:
if (Ti.Platform.osname == 'android') {
    Ti.include('includes/utilities.js');
}
else {
    Ti.include('../includes/utilities.js');
}


Redux代码:
inc('includes/utilities.js');



一般Titanium代码:
var label = Titanium.UI.createLabel();

Redux代码:
var label = new Label();


其中的RJSS也是一个很不错的封装!


TiFramework
https://github.com/rblalock/TiFramework


Extanium
http://www.extanium.org/

» Extanium on GitHub

Extanium是一个基于Titanium的OOP的Javascript框架,能够在很大程度上提高应用开发的效率,以及机构化的管理组织代码结构。

它是一个德国人Aron Homberg开发的,基于MIT license的开源。其中的3D核心库使用了ThreeJS作者是ExtJS的超级粉丝,所以这套框架的具有很强的Ext-style.

主要功能

– OOP framework for Ext-style mobile application development

– Your app tastes like spaghetti? Try the abstract Activitiy / Components architecture of Extanium!

– AJAX in mobile phones. Now a 1-liner: new Ext.Ajax().request({url: '#', ...});

– Logging and visual debuggung. Now easy: Ext.debug(), Ext.log(), Ext.warn(), Ext.alert()

– Server API - now natively available in Javascript. A free Ext.Direct impl: Server.User.get(1, function(result) {...});

– Phone's Properties - now simple acccess: Registry.has('abc'), Registry.getArray('abc'), ...

– Metrics & Orientation API for automated or static scaling of UI controls

– Global scope hassle? Try Ext.Global.set() and Ext.Global.get()

– Problems with integrating WebView's? Get stable event-based WebView-integration with Ext.WebView

– Finally, wanna be cool? Impress your customers with 3D WebGL! Ext.WebView / Components/WebGL rocks!

截图






Adamantium
http://adamrenklint.com/projects/adamantium-js
jQuery-style语法的一个框架。

下载地址:https://github.com/adamrenklint/Adamantium.js


Kranium
http://kraniumjs.com
Kranium transfers some well-known practices and techniques from web development to Titanium Mobile development.


Foundation
http://melonpielabs.com/foundation/
一个基于Titanium Mobile 1.5的MVC框架

Helium
http://github.com/kwhinnery/Helium
a Titanium utility library and framework for building component-oriented, event-driven Titanium Mobile applications. Provides visual and non-visual unit testing support, utility functions, and a JavaScript-based framework for building and styling UI components

TiQuery
https://github.com/naturalcodeproject/TiQuery/wiki
framework for Titanium based on jQuery

Titanium Tools
https://github.com/krawaller/Titanium-Tools
a collection of tools for Titanium Mobile

Joli
https://github.com/xavierlacot/joli.js
small ORM for Titanium

TiStore
https://github.com/jcfischer/TiStore
ActiveRecord for Titanium



  • 大小: 172.1 KB
  • 大小: 147.6 KB
  • 大小: 127.5 KB
  • 大小: 164.8 KB
  • 大小: 141.4 KB
0
1
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics