@titanium/turbo
v2.2.70
Published
๐ Axway Amplify tool to use Turbo for turbo charging your Appcelerator Titanium SDK Framework!
Downloads
2,246
Readme
๐ ย ย A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.
API FAQ:
- API Best Practices
- What is API Security?
- OWASP Top 10 List for API Security
- What is API Security?
- Top API Trends for 2022
- What is a Frankenstein API?
- What is a Zombie API?
- API Developer Experience
- API Cybersecurity 101
- YouTube API Videos
- YouTube API Shorts Videos
ย
ย
Titanium Turbo
The awesome framework for turbo charging your Titanium cross-platform native mobile app development!
โน๏ธ ย Disclaimer:
This project is not an official Axway product. It is managed by the open-source community using open-source modules, libraries, and tools. Try it out and let us know what you think!
- API FAQ:
- ๐ ย Description
- ๐ ย Getting Started
- โจ ย Features
- ๐ Learn More
- ๐ฃ ย Feedback
- Follow Brenton House
- ยฉ๏ธ ย Legal
๐ ย Description
Titanium Turbo is a fork of Titanium Alloy
that adds a lot of enhancements and customizations for rapid development.
Starting with
Turbo v2
, version number of Turbo will no longer be tied to versions of Titanium Alloy.
This version of Titanium Turbo is based on Titanium Alloy 1.15.1
๐ ย Getting Started
Simple Method
Create new Titanium Turbo project
npx @geek/mobile app:create my-new-app
Build or Run app as you would normally.
Manual Method
Create new Titanium Alloy project
Install Titanium Turbo
in root of project
npm install --save-dev @titanium/turbo
Install Titanium Turbo Plugin
in root of project
npm install --save-dev @titanium/plugin-turbo
Build or Run app as you would normally.
โจ ย Features
See
changelog.md
for history of changes
- [x] Supports installing npm packages in root of project for use in mobile [TIMOB-26352] [Alloy PR]
- [x] Support for the following XML attributes in
textField
,label
, andtextArea
: [ALOY-1547]- fontSize
- fontFamily
- fontStyle
- fontWeight
- textStyle
- [x] Replaced Underscore.js with Lodash 4.17.12 [ALOY-1168]
- [x] Updated babel.js to 7.x [ALOY-1629]
- [x] Enhanced support for babel config files:
.babelrc
,.babelrc.js
andbabel.config.js
- [x] Added support for
camelCase
,snake_case
, andkabab-case
in XML views. [ALOY-1647] - [x] Added plugin property
compileConfig.dir.resourcesAlloy
- [x] Updated moment to 2.24.0 [ALOY-1682]
- [x] Added backbone 1.4.0 [ALOY-1648]
- [x] Made default backbone version: 1.4.0
- [x] Added support for xml namespaced attributes per platform (e.g.
ios:text
orandroid:text
) [ALOY-1646] - [x] Added support for xml attributes with dotted notation (e.g.
font.fontSize
) [ALOY-1363] - [x] Added support for using
$.args
in XML views. [ALOY-1316] - [x] Added support for using
$.*
in XML views. -- Anything that starts with "$." in an Alloy XML View will be used literally and not treated as a string. - [x] Added support for using
turbo.*
in XML views. -- Anything that starts with "turbo." in an Alloy XML View will be used literally and not treated as a string. [Required workaround fornode_modules
support to LiveView] [TIMOB-27206] - [x] Added support for
__init()
function in controller that will be called before view is built. -- Allows$.*
variables to be created and used in XML views. - [x] Added support for
visibility
property in XML Views with possible values of:collapse
,expand
, andvisible
,hidden
-- Allows collapsing of view in XML. [TIMOB-27307] - [x] Added constants:
Ti.UI.VISIBILITY_COLLAPSE
,Ti.UI.VISIBILITY_EXPAND
,Ti.UI.VISIBILITY_HIDDEN
, andTi.UI.VISIBILITY_VISIBLE
- [x] Added support for
modelName
XML attribute to be used with withdataCollection
to assign variable name to current model [Defaults to__currentModel
] - [x] Added support for
dataName
XML attribute to be used with withdataCollection
to assign variable name tomodel.__transform
[Defaults to$model
] -- Allows developer to reference current model properties like$model.myproperty
- [x] Added support for adding code to XML View attributes when surrounded by '~' [ALOY-1699]
- [x] Added support for
script
element in XML View. Add code by body orsrc
attribute. [ALOY-1700] [Alloy PR] - [x] Added value alias
center
forTi.UI.TEXT_VERTICAL_ALIGNMENT_CENTER
when used withverticalAlign
XML attribute [ALOY-1703] - [x] Added property alias
text
forTi.UI.Button.title
when used as XML attribute - [x] Added property alias
src
forTi.UI.ImageView.image
when used as XML attribute - [x] Added support for using underscore (instead of lodash) with this tiapp.xml property:
<property name="use-underscore"type="bool">true</property>
- [x] Added support for installing widgets via npm (without naming restrictions) [ALOY-1704]
- [x] Added support for using
WPATH()
in xml view attributes: [ALOY-1253] [Alloy PR] - [x] Added support for using
~/
as a shortcut for WPATH() in xml view attributes: [ALOY-1714] [Alloy PR] - [x] Added support for using widget as primary control in xml view [ALOY-1256] [Alloy PR]
- [x] Added support for StackLayout control (with shortcut alias of
stack
and orientation property that defaults tovertical
) in JavaScript and xml views - [x] Added support for VerticalLayout control (with shortcut alias of
vertical
) in JavaScript and xml views - [x] Added support for HorizontalLayout control (with shortcut alias of
horizontal
) in JavaScript and xml views - [x] Added support for AbsoluteLayout control (with shortcut alias of
absolute
) in JavaScript and xml views - [x] Added support for defining the primary entry point for the application (defaults to
index
). Currently search order:Alloy.main
โAlloy.CFG.main
โ Titanium Property:app.main
. [ALOY-1549] - [x] Added support for
<style>
tag in XML views. Also supports thesrc
attribute (like the<script>
tag) which allows users to reference a widget-wideapp.tss
file! [ALOY-1729] - [x] Partial workaround for Titanium and Alloy issue where relative path require statements are broken. This only fixes static paths. Fix for dynamic paths will be coming in upcoming release of
Turbo
. [TIMOB-28037] - [x] Added support for static script blocks in Alloy
<script static="true" />
[ALOY-1742]
๐ Learn More
โญ ย Axway Developer Blog
โญ ย Axway Developer YouTube Channel
โญ ย Axway Developer Portal
โญ ย AMPLIFY Titanium GitHub Repo
โญ ย Titanium Alloy GitHub Repo
โญ ย Titanium Turbo GitHub Repo
๐ ย Related projects
โญ ย Geek Mobile Toolkit - Toolkit for creating, building, and managing mobile app projects.
โญ ย Titanium Mobile - Open-source tool for building powerful, cross-platform native apps with JavaScript.
โญ ย Titanium Alloy - MVC framework built on top of Titanium Mobile.
โญ ย Appcelerator - Installer for the Appcelerator Platform tool
๐๏ธ ย Modules for Titanium Mobile
| project | description | npm | |--- |--- |--- | | @titanium/applesignin | Native modules that allows you to use the iOS 13+ Apple Sign In API with Axway Titanium native mobile apps. | | | @titanium/authentication | Titanium native mobile authentication manager | | | @titanium/authentication-oauth | Titanium native mobile OAuth plugin for authentication manager | | | @titanium/calendar-picker | urbo widget that allows you to pick dates from a calendar with Axway Titanium. | | | @titanium/coremotion | Native modules that allows you to use iOS CoreMotion framework with Axway Titanium native mobile apps. | | | @titanium/essentials | The Essential Toolkit for Titanium Turbo Native Mobile Apps | | | @titanium/icloud | Native module that allows you to use the Apple iCloud framework with Axway Titanium native mobile apps. | | | @titanium/identity | Native modules to add Fingerprint/FaceId/keychain access to Titanium native mobile apps | | | @titanium/facebook | Native modules that allows you to use Facebook SDK with Axway Titanium native mobile apps. | | | @titanium/googlesignin | Native modules that allows you to use the Google Sign-in SDK with Axway Titanium native mobile apps. | | | @titanium/lottie | Native modules that allows you to use Airbnb Lottie animations with Axway Titanium native mobile apps. | | | @titanium/observer | Repackaging of nx-js/observer-util for Titanium Native Mobile | | | @titanium/please | Titanium native mobile library for politely requesting stuff from the internets | | | @titanium/polyfill | Titanium native mobile polyfills necessary to use packages that depend on Node.js modules | | | @titanium/turbo | ๐ Turbo is the awesome framework for turbo charging your Titanium cross-platform native mobile app development! | | | @titanium/updater | Titanium native mobile widget to check for app updates | | | @titanium/webdialog | Native modules that allows you to use native SFSafariViewController (iOS) and Chrome Pages (Android) with Axway Titanium native mobile apps. | |
๐๏ธ ย Modules for Node.js and Titanium Mobile
| project | description | npm | |--- |--- |--- | | @geek/cache | Caching module for Node.js and Axway Titanium | | | @geek/jsonc | JSONC and JSON utilities for JavaScript with Node.js and Axway Titanium. | | | @geek/jwt | JWT parser for JavaScript Node.js and Titanium native mobile | | | @geek/logger | Logging module for Node.js and Axway Titanium | | | @geek/mobile | Toolkit for creating, building, and managing mobile app projects. | | | @geek/retry | Retry JavaScript functions and promises in Node.js and Axway Titanium | |
๐ฆ ย Project Starter Kits
| project | description | npm | |--- |--- |--- | | Titanium Turbo Template (Default) | Template for default Turbo app. Based on the basic Alloy Template + some extra goodies. | | | Titanium Turbo Template (Next) | Template for Titanium Turbo app (with extras). Based on the default Turbo Template + some extras. | | | Titanium Turbo Template (Fully Loaded) | Template for Titanium Turbo app with all the bells and whistles! | |
๐ฃ ย Feedback
Have an idea or a comment? Join in the conversation here!
Follow Brenton House
Follow
Brenton House
for the latest on great modules and libraries!
ยฉ๏ธ ย Legal
Alloy is developed by Appcelerator and the community and is Copyright ยฉ 2012-Present by Appcelerator, Inc. All Rights Reserved.
Alloy is made available under the Apache Public License, version 2. See their license file for more information.
Appcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.