Introduction
So far, everything you've built with the Appcelerator platform has been in pure JavaScript. This means that all user interface and application logic has been combined into (typically) the same .js
files.
In this chapter, we will refer to this method of working as the classic
method of writing apps with the Appcelerator platform. Typically, this will involve building an app that has the top-level Resources
folder and the app.js
file.
Since the first edition of this book, Appcelerator released Alloy MVC, an add-on framework that allows you to create applications using a Model, View, Controller (MVC) approach, separating the user interface from the application data and code.
By using Alloy, you can build applications faster using less JavaScript, and you can easily manage the differences between the form-factor (phone and tablet) and platform (iOS, Android, and so on).
Since its release, Alloy has become the standard way of creating mobile projects. In this chapter, we&apos...