Appcelerator Titanium MVC Framework
# install the latest stable[sudo] npm install -g alloy# install a specific version[sudo] npm install -g firstname.lastname@example.org# install cutting edge directly from github[sudo] npm install -g git://github.com/appcelerator/alloy.git
...oh yeah, Studio will do it for you automatically. :)
Beginning with Alloy 1.6, you can do the following:
# first, create a Titanium Classic projecttitanium create --name yourAppNamecd yourAppName# then, convert it to an Alloy project, using the test app as a templatealloy new . --testapp basics/simple
# first, clone the repogit clonecd alloy# install jake globally[sudo] npm install -g jake# install alloy globally from the cloned repo[sudo] npm install -g .# install alloy's local testing dependenciesnpm install# run a test appjake app:run dir=basics/simple
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.
jakeincluding the arguments and flags it accepts.
jakecommand if you run into permission errors.
jakefrom within a user folder (i.e.
C:\Users\tony\alloy), as you can get all kinds of non-obvious permissions failures from the child processing Alloy does. Your safest bet is to just
git cloneright to
npm test, you do so on a non-Windows OS to ensure there's no red herring failures until the aforementioned node.js issue is resolved.
jake test:all, do
jake test:spec[SPEC_NAME], where
SPEC_NAMEis JS file in the test specs folder.
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.
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.
Alloy is an open source project. Alloy wouldn't be where it is now without contributions by the community. Please consider forking Alloy to improve, enhance or fix issues. If you feel like the community will benefit from your fork, please open a pull request.
To protect the interests of the Alloy contributors, Appcelerator, customers and end users we require contributors to sign a Contributors License Agreement (CLA) before we pull the changes into the main repository. Our CLA is simple and straightforward - it requires that the contributions you make to any Appcelerator open source project are properly licensed and that you have the legal authority to make those changes. This helps us significantly reduce future legal risk for everyone involved. It is easy, helps everyone, takes only a few minutes, and only needs to be completed once.
You can digitally sign the CLA online. Please indicate your email address in your first pull request so that we can make sure that will locate your CLA. Once you've submitted it, you no longer need to send one for subsequent submissions.
project : alloyrepo age : 2 years, 4 monthsactive : 589 dayscommits : 3168files : 2687authors :2363 Tony Lukasavage 74.6%312 Tim Poulsen 9.8%106 Feon Sua 3.3%87 Jeff Haynie 2.7%75 Russ McMahon 2.4%38 Kevin Whinnery 1.2%36 Ben Hatfield 1.1%32 Fokke Zandbergen 1.0%21 Carl Orthlieb 0.7%11 Paul Mietz Egli 0.3%8 Issam Hakimi 0.3%7 Chris Barber 0.2%6 Praveen Innamuri 0.2%6 Arthur Evans 0.2%5 David Bankier 0.2%5 Xavier Lacot 0.2%4 Martin Tietz 0.1%4 Joel Herron 0.1%3 Ingo Muschenetz 0.1%3 Federico 0.1%2 Tim Statler 0.1%2 Iain Dawson 0.1%2 Bryan Hughes 0.1%2 Marc Tamlyn 0.1%2 miga 0.1%2 Davide Cassenti 0.1%2 Aaron Saunders 0.1%
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.