Cross Platform Android and iOS Apps With Appcelerator Titanium

In this course you will learn how to develop cross plaform Android and iOS applications using Appcelerator's Titanium SDK.
Course info
Rating
(112)
Level
Intermediate
Updated
Jun 27, 2013
Duration
2h 55m
Table of contents
Introduction to Appcelerator
Creating a Basic UI
Multiscreen Apps and Platform APIs
Using Alloy
Advanced Concepts
Description
Course info
Rating
(112)
Level
Intermediate
Updated
Jun 27, 2013
Duration
2h 55m
Description

It can be difficult to build applications for iOS and Android, because the two platforms are so different. Even though there are many solutions today for cross platform development on these platforms, many of the solutions either require you to use a single non-native user interface or create your user interface code multiple times. Appcelerator Titanium is an exciting way to build truly native Android and iOS applications using JavaScript which are able to reuse a large amount of code, even for the user interface. In this course, I'll take you through the process of getting setup with Appcelerator Titanium and fill you in on all the details of how exactly Titanium works and why it is so different than many other cross platform solutions. Throughout this course, we'll actually build a real mobile application that will run on both Android and iOS using Appcelerator Titanium and along the way learn about the platform and how to use it. We'll start off learning how to programmatically create a cross platform user interface in JavaScript and how to interact with the user interface and respond to events like button clicks. Then, we'll learn a bit about the different platform APIs that Titanium provides and how to expand our app to take into account multiple screens. After that, we'll learn about Alloy, a way to build Titanium applications using XML markup and style sheets using an MVC or Model View Controller approach, which can greatly simplify our code and make it much easier to design an application. Finally, in the last module, we'll tackle a few advanced concepts and learn about the awesome Titanium Cloud API, which allows us to create a full backend for our application without having to install any databases or design any complex schemas. So, if you are interested in cross platform application development and you'd like to see how you can build truly cross platform native applications using JavaScript, you'll definitely want to check out this course.

About the author
About the author

John Sonmez is the founder of Simple Programmer (http://simpleprogrammer.com), where he tirelessly pursues his vision of transforming complex issues into simple solutions

More from the author
Beginning Lua
Intermediate
2h 50m
2 Dec 2013
Beginning HTML 5 Game Development With Quintus
Intermediate
2h 52m
25 Oct 2013
Beginning HTML5 Apps For Firefox OS
Intermediate
2h 20m
17 Oct 2013
More courses by John Sonmez
Section Introduction Transcripts
Section Introduction Transcripts

Introduction to Appcelerator
Hi. This is John Sonmez from Pluralsight, and welcome to this course on Appcelerator Titanium. Appcelerator Titanium or Titanium as we call it in this course is a powerful platform for developing cross- platform mobile applications. In the current mobile environment it can be difficult to know what technology you should use to develop a mobile application, especially if you want to make that application cross-platform. There are many tradeoffs to consider like code reuse, having a native look and feel, and even what platforms you're going to support. This course is designed to help you get familiar with one possible solution to the problem of mobile application development by introducing you to Titanium and showing you the basics of how to use it to create a mobile application that works on Android and iOS. We won't be going into all of the details of the Appcelerator Titanium platform in this course because Titanium is quite large, but by the end of this course you should know how Titanium works, what it can do for you, and how to create a basic cross-platform mobile application using the Titanium SDK.

Creating a Basic UI
Hi. This is John Sonmez from Pluralsight, and in this module we'll be learning how to create a basic user interface in Appcelerator Titanium. One of the first things you need to know how to do to develop a mobile application is to create a user interface, so we'll be starting our journey by learning the basics of UI creation using the Titanium SDK. You'll probably find user interface creation in Titanium to be quite a bit different than what you might be used to on other platforms because user interfaces in Titanium, unless you're using Alloy, are created programatically. In this module we'll go through the basics of UI creation, learn a little bit about the tools that are available to us, and actually create a real working user interface for an application, which we'll be developing in the rest of this course. By the end of this module you should have the skills you need to create basic cross-platform UIs in Titanium.

Multiscreen Apps and Platform APIs
Hi this John Sonmez from Pluralsight and in this module we'll be learning how to create multiscreen application in Titanium and how to use some of the platform APIs. So far we've built a pretty simple application using Titanium and have seen how that application can be run on iOS and Android without having to change any code, but most real world applications have more than one screen and many mobile applications need to be able to use the capabilities of the device they are running on, like the GPS receiver or the camera. In this module we'll dive a little deeper into Titanium to see how to expand our ProteinTracker application to use more than one screen and we'll talk about some important cross platform issues we'll be likely to face. Things do get a little tricky here because, as we'll talk about in this module, navigation is very different in Android and iOS, but don't worry, I'll show you some of the best ways I have found to deal with those differences and keep the code as simple as possible.

Using Alloy
Hi. This is John Sonmez from Pluralsight, and welcome to this module about using the MVC framework Alloy with Titanium. Up to this point the app we've been creating with Titanium has been created by using JavaScript to define the user interface. While our code was fairly simple, as we started to add more complexity to the simple application, we started to have to generate a large amount of repetitive code to create our user interface and interact with it. Not only was our code starting to get a bit out of hand, but it was becoming mixed in with the logic of our application, which started to make it difficult to make changes and clearly see what code was meant for layout only and what code was meant for interaction. In this module we'll see how to solve this problem by learning about the Titanium Alloy framework. We'll rewrite our Protein Tracker application using Alloy and along the way learn the basics of the framework.

Advanced Concepts
Hi. This is John Sonmez from Pluralsight, and welcome to the last module in this course about Appcelerator Titanium. We've covered quite a bit about using Titanium to create cross-platform applications so far, but everything we've done up to this point has been pretty basic and hasn't really demonstrated the true power of using Titanium for cross-platform development. In this module I've picked out a sampling of some of the more advanced uses of Titanium in the Titanium APIs to give you an idea of how Titanium can really be useful for implementing features that would be difficult to do even if you're working with only a single platform like Android or iOS. In this module I'll show you how to easily add Facebook support to your Titanium application, read and write files using a common API, and even to use the power of Appcelerator's cloud offering to have a complete backend for a Titanium application as we add support to our Protein Tracker app to have individual user accounts that keep track of their own data.