Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.


Keywords
appcelerator, titanium, native, alloy, mobile, axway, ios, iphone, android, appc-client, turbo, brenton-house, appcelerator-titanium, cli, cross-platform-native, plugins, titanium-alloy, titanium-mobile, titanium-turbo
License
Apache-2.0
Install
npm install @titanium/turbo@1.14.1-17

Documentation


Titanium Turbo

Turbo is not an official Axway product. It is an open-source project that is supported exclusively by the Titanium development community.

📝 Description

Titanium Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.

This version of Titanium Turbo is based on Titanium Alloy 1.14.1

🚀 Getting Started

  1. Create new Titanium Alloy project
  2. Install Titanium Turbo in root of project
npm install --save-dev @titanium/turbo
  1. Install Titanium Turbo Plugin in root of project
npm install --save-dev @titanium/plugin-turbo
  1. Build or Run app as you would normally.

Features

See changelog.md for history of changes

  • Supports installing npm packages in root of project for use in mobile [TIMOB-26352] Exclusive Turbo Feature
  • Support for the following XML attributes in textField, label, and textArea: [ALOY-1547] Exclusive Turbo Feature
    • fontSize
    • fontFamily
    • fontStyle
    • fontWeight
    • textStyle
  • Replaced Underscore.js with Lodash 4.17.12 [ALOY-1168]
  • Updated babel.js to 7.x [ALOY-1629] Has been merged into Alloy
  • Enhanced support for babel config files: .babelrc, .babelrc.js and babel.config.js Exclusive Turbo Feature
  • Added support for camelCase, snake_case, and kabab-case in XML views. [ALOY-1647] Exclusive Turbo Feature
  • Added plugin property compileConfig.dir.resourcesAlloy Exclusive Turbo Feature
  • Updated moment to 2.24.0 [ALOY-1682] Has been merged into Alloy
  • Added backbone 1.4.0 [ALOY-1648] Has been merged into Alloy
  • Made default backbone version: 1.4.0
  • Added support for xml namespaced attributes per platform (e.g. ios:text or android:text) [ALOY-1646] Has been merged into Alloy
  • Added support for xml attributes with dotted notation (e.g. font.fontSize) [ALOY-1363] Has been merged into Alloy
  • Added support for using $.args in XML views. [ALOY-1316] Has been merged into Alloy
  • 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. Exclusive Turbo Feature
  • 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 for node_modules support to LiveView] [TIMOB-27206] Exclusive Turbo Feature
  • 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. Exclusive Turbo Feature
  • Added support for visibility property in XML Views with possible values of: hidden, collapse, and visible -- Allows collapsing of view in XML. [TIMOB-27307] Exclusive Turbo Feature
  • Added constants: Ti.UI.VISIBILITY_COLLAPSE, Ti.UI.VISIBILITY_HIDDEN, and Ti.UI.VISIBILITY_VISIBLE Exclusive Turbo Feature
  • Added support for modelName XML attribute to be used with with dataCollection to assign variable name to current model [Defaults to __currentModel] Exclusive Turbo Feature
  • Added support for dataName XML attribute to be used with with dataCollection to assign variable name to model.__transform [Defaults to $model] -- Allows developer to reference current model properties like $model.myproperty Exclusive Turbo Feature
  • Added support for adding code to XML View attributes when surrounded by '~' [ALOY-1699] Exclusive Turbo Feature
  • Added support for Code element in XML View. Add code by body or src attribute. [ALOY-1700] Exclusive Turbo Feature
  • Added value alias center for Ti.UI.TEXT_VERTICAL_ALIGNMENT_CENTER when used with verticalAlign XML attribute [ALOY-1703] Exclusive Turbo Feature
  • Added property alias text for Ti.UI.Button.title when used as XML attribute Exclusive Turbo Feature
  • Added property alias src for Ti.UI.ImageView.image when used as XML attribute Exclusive Turbo Feature
  • Added support for using underscore (instead of lodash) with this tiapp.xml property: <property name="use-underscore"type="bool">true</property> Exclusive Turbo Feature

🔗 Related Links

📚Learn More

📣 Feedback

Have an idea or a comment? Join in the conversation here!

©️ 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.