Giter Site home page Giter Site logo

imfrumpy / alloy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tidev/alloy

0.0 0.0 0.0 49.93 MB

Alloy is an MVC framework for the Appcelerator Titanium SDK

License: Other

JavaScript 99.48% Python 0.13% CoffeeScript 0.02% CSS 0.06% HTML 0.13% PEG.js 0.17%

alloy's Introduction

Alloy

Alloy is an MVC application framework by TiDev for the Titanium SDK.

Getting Started

  • Quick Start Guide that covers everything from installation to building your first app with Alloy.
  • Complete collection of Alloy Guides
  • Collection of sample apps showing various aspects of Alloy in practice.

Installation

from npm:

# install the latest stable
[sudo] npm install -g alloy

# install a specific version
[sudo] npm install -g [email protected]

# install cutting edge directly from github
[sudo] npm install -g git://github.com/tidev/alloy.git

Running Sample Test Apps

Alloy includes many sample and test apps in the sample/apps folder (see above). For example, basics/simple. You can run these in a few different ways:

A) With a regular Alloy installation

Beginning with Alloy 1.6, you can do the following:

# first, create a Titanium Classic project
titanium create --name yourAppName
cd yourAppName

# then, convert it to an Alloy project, using the test app as a template
alloy new . --testapp basics/simple

B) By cloning the repo and using the Jake test runner

# first, clone the repo
git clone https://github.com/tidev/alloy.git
cd 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 dependencies
npm install

# run a test app
jake app:run dir=basics/simple

Additional Notes on Jake

  • See the jake readme for information on using jake including the arguments and flags it accepts.
  • on OSX or Linux
    • Try using sudo with the jake command if you run into permission errors.
  • on Windows
    • Don't run jake from 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 clone right to C:\alloy.
    • Node.js has an issue piping output between node processes on Windows. I've tried to workaround as best I can. You may still see errors pop up, so it's suggested that if you run the automated testing via jake test:all or 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.
    • If you decide to ignore my advice and run the tests anyway on Windows, make sure that if you imported the Harness into TiStudio that you don't have TiStudio running. Windows creates locks on key files in that project that are necessary for the testing process. It will make tests fail erroneously.
    • If you're still that stubborn, are running the test suite on Windows, and you're getting those intermittent, erroneous errors, try running them one spec at a time. Instead of doing jake test:all, do jake test:spec[SPEC_NAME], where SPEC_NAME is JS file in the test specs folder.

Contributing

Interested in contributing? There are several ways you can help contribute to this project.

New Features, Improvements, Bug Fixes, & Documentation

Source code contributions are always welcome! Before we can accept your pull request, you must sign a Contributor License Agreement (CLA). Please visit https://tidev.io/contribute for more information.

Donations

Please consider supporting this project by making a charitable donation. The money you donate goes to compensate the skilled engineeers and maintainers that keep this project going.

Code of Conduct

TiDev wants to provide a safe and welcoming community for everyone to participate. Please see our Code of Conduct that applies to all contributors.

Security

If you find a security related issue, please send an email to [email protected] instead of publicly creating a ticket.

Stay Connected

For the latest information, please find us on Twitter: Titanium SDK and TiDev.

Join our growing Slack community by visiting https://slack.tidev.io

Legal

Titanium is a registered trademark of TiDev Inc. All Titanium trademark and patent rights were transferred and assigned to TiDev Inc. on 4/7/2022. Please see the LEGAL information about using our trademarks, privacy policy, terms of usage and other legal information at https://tidev.io/legal.

alloy's People

Contributors

tonylukasavage avatar skypanther avatar feons avatar dependabot-preview[bot] avatar ewanharris avatar dependabot[bot] avatar fokkezb avatar cb1kenobi avatar kwhinnery avatar sgtcoolguy avatar hansemannn avatar m1ga avatar jhaynie avatar orthlieb avatar xavierlacot avatar k0sukey avatar ingo avatar semantic-release-bot avatar pegli avatar brentonhouse avatar cheekiatng avatar caspahouzer avatar topener avatar yomybaby avatar dbankier avatar killix avatar maccesar avatar hazemkhaled avatar jawa9000 avatar mukherjee2 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.