Summary
The last two chapters represent the heavy rule-based part of the book. Well done for persisting with them. You will reap the rewards when you use the principles you have learned in the last two chapters on your apps.
There are other solutions to the issue of sharing data and context, although you will often see the namespace used as a solution on the Appcelerator Q&A site and on developer blogs. Should you wish to use a more pure method of sharing data, then consider reading the Appcelerator best practices or developer blogs.
A clear, official review of some of the principles laid out in these chapters can be seen in the Appcelerator best practices document at http://docs.appcelerator.com/titanium/3.0/#!/guide/Coding_Best_Practices.
This brings us to the end of first part of the book where you will have learned the basics of programming in Titanium. The rest of the book builds on these principles by using some of the other elements of the toolkit to build more complex and better...