Appcelerator Titanium: Patterns and Best Practices