Appcelerator Titanium: Patterns and Best Practices

More Information
Learn
  • Make your apps easier to maintain and more memory efficient with CommonJS
  • Understand JavaScript best practices and prototypal inheritance
  • Learn to structure your app in an MVC style pattern with special consideration given to memory management, localization and app layout
  • Understand and implement the new Appcelerator Cloud Services" needs to be completely removed
  • Learn ways to generate and implement cross platform layouts
  • Find alternatives to standard SQLite databases, including JSONDB
  • Learn how to implement a series of Titanium API and JavaScript optimizations
  • Get solutions to creating cross-compatible layouts that work across both Android and the iPhone
About

Titanium Mobile has quickly become the platform of choice for many mobile developers and is growing and changing at a rapid rate. From the implementation of CommonJS,  MVC design patterns and more, the last year in Titanium development has been a rollercoaster of change for the better. With this knowledge at your disposal you’ll be creating top quality, highly capable and stable apps in no time.

This book shows you exactly how to implement all the latest Titanium Mobile best practices into your apps, from a thorough explanation of CommonJS with plenty of examples, through to structuring a complete MVC style codebase. With advanced topics such as implementing patterns and utilizing ACS, through to a thorough investigation of CommonJS and prototype, this book will take you from Titanium Novice to Titanium Ninja in no time!

"Appcelerator Titanium: Patterns and Best Practices" starts off with some explanations on JavaScript practices and advanced topics, before getting stuck into the new CommonJS pattern and using that to implement MVC-style architectures for your application. It continues in a practical, hands on manner, explaining how to perform cross device layouts with different techniques, and how to implement SQL alternatives such as JSONDB.

The book discusses some of the major advanced JavaScript topics, such as prototype and micro optimizations, before leading the developer into a thorough explanation of the CommonJS pattern, MVC implementation and advanced topics such as SQL alternatives and implementing designs for cross device layouts.

Features
  • Full step-by-step approach to help structure your apps in an MVC style that will make them more maintainable, easier to code and more stable
  • Learn best practices and optimizations both related directly to JavaScript and Titanium itself
  • Learn solutions to create cross-compatible layouts that work across both Android and the iPhone
Page Count 110
Course Length 3 hours 18 minutes
ISBN 9781849693486
Date Of Publication 22 Feb 2013

Authors

Boydlee Pollentine

Boydlee Pollentine is a keen mobile developer who has created numerous apps for the iTunes and Android store and a number of indie games. He is passionate about mobile development and in particular the Appcelerator Titanium platform, and is both a Titanium-certified application developer and a member of the Titans evangelist group. He is also the organizer of Europe's first Titanium mobile development conference, tiConf EU (http://ticonf.eu)._x000D_ _x000D_ Boydlee has been a software engineer and programmer for the last 10 years, primarily focused on web technologies and Microsoft's .NET platform, and during that time has worked for numerous small and large organizations, those of particular note including a number of Australian federal government departments, state departments, banks, and media organizations._x000D_ _x000D_ He currently lives in Norfolk and works as a freelance Titanium developer via his own digital agency, Tipsy & Tumbler Limited (http://www.tipsyandtumbler.co.uk), and runs a small blog dedicated to mobile development at http://boydlee.com.

Trevor Ward

Trevor Ward has been developing business applications for over 20 years. Starting as a Cobol Developer, he has worked on various large scale projects that included the Y2K issues. Moving into web development in the late 90s using Perl, HTML, JavaScript, and Oracle, he was a part of the team that developed internal business applications for Jaguar cars.

After moving on, he was able to update his skills for Ruby on Rails and Adobe Flex, before 18 months ago picking up on the mobile development platform. He uses Titanium exclusively for mobile development and is an Appcelerator Titan (community expert), TCAD and TCE qualified, and spends as much time as possible, answering questions on the forums.