Enhancing Titanium: Use staballoy to enable simple data-binding

Data-binding in Titanium’s Alloy is pretty straightforward when you’re using models and collections to store your data. However, with things that are just singular, like a profile picture, a username or just certain colors/properties, you don’t really need models. And then, there is no option to do data-binding really. Of course, you can do it […]

Adapting Titanium Apps for Different Screen Sizes

I once read someone on Twitter say that “Type is the one constant across all screen sizes” — it’s true if you don’t include top, left, bottom and right. Adapting an app to different screen sizes can be a challenge sometimes. But, with some basic techniques and tips, it can be easily achieved, with little […]

Moving A Classic Titanium App to Alloy

Last month, we explained some of the benefits of using Alloy instead of classic Titanium to build your apps. So, if you’ve got a classic Titanium app up and running and want to leverage all the great things Alloy has to offer, you might want to migrate your app to Alloy. And while this may […]

Why Should You Use Alloy to Develop Titanium Apps?

There are a LOT of good reasons for using Alloy to develop mobile apps with Titanium! In this post, I’ll explain some of my favourite features of Alloy and how they improve upon developing apps with “classic” Titanium. MVC Alloy is based on an MVC methodology, which separates data (Models) with visuals (Views) and business […]

Common Support Questions: Alloy

With last year’s addition of our free Indie Plans for both Titanium and Hyperloop, we’ve seen an influx of new developers join the Appcelerator community. So, we wanted to create a resource for users to troubleshoot their most common development issues and questions. For the third installment of our series, we take a look at […]

Using Custom Conditional Statements in Titanium Alloy Views

One of the many great features of Alloy (and I’ll be covering more in an upcoming post) is how it separates the business logic of an app and the user interface. You use XML views and TSS files to define the elements and styling of your views, and controllers contain the JavaScript to make everything […]

Creating Cross-Platform Alloy Tags

Creating Cross-Platform Alloy Tags One of the great features of Alloy is the ability to customise and write Alloy tags. I use this feature a lot to deal with a common challenge — reducing the amount of duplicate code when working with other mobile platforms. Take the example of Navigation in an app — the […]

Using Base Controllers With Alloy

There are plenty of ways to re-use components with Alloy: widgets, CommonJS, and even redefining or creating new Alloy tags. One way that’s not often mentioned is base controllers. The easiest way to think about a base controller is to think of it like a kind of inheritance. If you’re finding that you’re repeating a […]


Sign up for our blog!

Want to Contribute?

Have a story or quick tip to share? We welcome your contribution to our blog.
Drop Us an Email