Skip to content
/ alloy Public
forked from tidev/alloy

Alloy is an MVC framework for Titanium which is developed by Appcelerator.

License

Notifications You must be signed in to change notification settings

rppacis/alloy

 
 

Repository files navigation

Alloy

Latest stable version: 1.0.0

Alloy is an MVC application framework by Appcelerator for Titanium.

Alloy will allow Titanium developers, old and new, to develop cross-platform mobile applications easier and more effectively than ever. The separation of concerns will increase the scalability of your apps. Titanium best practices are generated for you under the hood, making your apps of the highest quality across platforms. The markup, styles, themes, and mountain of other Alloy features will take your producitivity to a whole new level.

It's kind of a big deal.

Getting Started

Installation

from npm:

[sudo] npm install -g alloy

from source:

git clone https://github.com/appcelerator/alloy.git
cd alloy
[sudo] npm install -g .

from Titanium Studio

...oh yeah, Studio will do it for you automatically. :)

Running Sample Test Apps

This is primarily done by Alloy devs just for testing purposes, but you may find it useful.

  1. install jake: [sudo] npm install -g jake
  2. Get into the root directory of the cloned alloy repository.
  3. Find a test app in test/apps folder you want to run. For example, basics/simple or models/todo.
  4. Run jake: jake app:run dir=basics/simple
  5. Lather, rinse, repeat

Importing the "Harness" to Titanium Studio

You can use these apps through Titanium Studio too. The easiest way to do that would be to import the test/project/Harness into Titanium Studio. After that, everytime you run jake, your project in Studio will be updated. Once in Studio, you can run for any platform, Titanium SDK version, or change any settings you want. This will give you a lot more options and power than running solely from the command line.

Additional Notes

  • Options for the jake command
    • tiversion - Set the Titanium SDK version to be used. Defaults to the latest installed SDK.
    • platform - The target mobile platform. Defaults to iphone. Must be android or iphone, mobileweb and ipad are not supported.
    • Examples
      • jake app:run dir=basics/simple platform=iphone
      • jake app:run dir=basics/simple platform=android tiversion=3.0.0.GA
      • jake app:run dir=basics/simple tiversion=2.1.4
  • If you get permissions errors on OSX or Linux, try using sudo with the jake command

Feedback

More so than any other Appcelerator project to this point, we are working collaboratively with the community to develop a framework that works for you. Here's the best ways to discuss Alloy or ask questions.

  • Got an Alloy development question? Go to the Appcelerator Q&A, and make sure to use the alloy tag.
  • Want to discuss the past, present, and future of Alloy? Join the Alloy Google group.
  • Got a confirmed bug? Log it at the Titanium Community Issue Tracker. Make sure to give it the alloy label.

Other than that, all the usual rules for submitting feedback apply. The more code, details, and test cases you provide, the easier it will be to act on that feedback.

Credits

Many credits should be noted in the development of Alloy.

  • The Titanium community. It's been a number of years and probably well over 50+ application frameworks that have been built around Titanium and we finally felt that it made sense for Appcelerator to work to build and support an official framework. Thanks to everyone for their innovations, input and feedback.
  • Jeff Haynie and Nolan Wright. For their initial inspiration for Titanium and continued pushing to make it better. Codestrong.
  • Kevin Whinnery. For his passionate and persistent pushing to come up with a "standard way" and his many initial ideas.
  • Russ McMahon. For his initial R&D work with Nolan to come up with the early versions and ideation.
  • Tony Lukasavage. For helping provide the JS ninja coding skills and for being the Alloy lead.
  • Gabriel Tavridis. For helping provide the "herding of the engineering LOLcats" as the product manager for Alloy.

Legal

Alloy is developed by Appcelerator and the community and is Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved. Alloy is made available under the Apache Public License, version 2. See the LICENSE file for more information.

About

Alloy is an MVC framework for Titanium which is developed by Appcelerator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published