No results.

Forging Titanium

Forging Titanium is produced by the Appcelerator Developer Relations team (@appcelerator on Twitter). New episodes every Wednesday covering Titanium tips, tricks, best practices, and mashups with other technologies.

Forging Titanium Episode 4: A Utility Application Template

Episode 4: A Utility Application Template

In Episode 2, we took a look at a framework for displaying a stack of windows in a cross-platform navigation controller. This week, we'll be taking a look at implementing a simple two-stage utility application, while isolating our cross-platform navigation code to a single component.

This week we will be building upon our technique of creating custom components, while adding in an important API for creating component-oriented applications: Application-level events. By firing and listening for custom events, we can ensure that components in our system do not need to have knowledge of how other components behave - they just need to know how to indicate to the rest of the application that an important event has happened.

Find out how use this technique to create a two-stage utility application in this week's episode of Forging Titanium.

Episode Resources:

Custom events API in the Ti.App namespace:
developer.appcelerator.com/apidoc/mobile/1.7.1/Titanium.App-module

Listing of built-in Android UI assets:
developer.android.com/reference/android/R.drawable.html

Forging Titanium GitHub repository (source):
github.com/appcelerator-developer-relations/Forging-Titanium