Introduction
This chapter describes the processes of two fundamentally important, yet deceptively simple, parts of the Titanium framework. In it, we'll explain how to go about creating and reading app properties so that you can store data that is accessible from any part of your application, much as session data or cookies would be if you were building a web-based app.
We'll also go into further detail on events, including a selection of those fired by the various components of Titanium and custom events, which you can define yourself.
Application properties are used to store data in key/value pairs. These properties can persist between your app's windows, and even beyond single application sessions, much like a website cookie. You can use any combination of uppercase or lowercase letters and numbers in a property name, but mix them with care, as JavaScript is case-sensitive in this regard. Myname
, myname
, and MYNAME
would be three very different properties!