-
6 Oct 2009 4:44 AM #1
Ext wrapper for Appcelerator Titanium
Ext wrapper for Appcelerator Titanium
This question was already asked some time ago but with no answers from anybody:
Are there any plans either by the Ext team or the community to build an Ext wrapper for the Appcelerator Titanium API as it has been done for Adobe AIR?
Since this project (Appcelerator Titanium) continously grows and is heading towards a stable version I think about using it as an alternative for my Adobe AIR projects. When having a similar API to Ext.air I only need slight changes in my source to get the application run on air and titanium.
More information about titanium: http://www.appcelerator.com
Cheers
Rob
-
6 Oct 2009 7:48 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
Appcelerator titanium owns

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
6 Oct 2009 7:48 PM #3
What API's are you looking to implement? A lot of the AIR work we've done is to work around the sandboxing of unprivileged and privileged code (can't eval code, etc).
With Titanium you don't run into those issues. We are really impressed with their work, esp their work on kroll.
-
6 Oct 2009 11:39 PM #4
What I had in mind was a base interface for both AIR and Titanium for the base functionalities in order to easily switch between the both of them. Or maybe a kind of adapter.
Writing a dektop application with AIR or titanium will in most cases lead to a high amount of code which is pure javascript without the special classes for desktop env. For code reusability it would be nice to have such a mechanism to easily switch between air and titanium or better to autodetect it. In my opinion it is not a good style to do lots of
And consider there might be a third player in the ria-for-desktop group in future you want to support. This would force to go through all your code.Code:if (Ext.isAir) { //do air function } if (isTitanium) { //do titanium function }
Any ideas what is the best way to solve this problem?


Reply With Quote