Giter VIP home page Giter VIP logo

tutorial's Introduction

Titanium Alloy Tutorial

A one-day Titanium Alloy Tutorial by Fokke Zandbergen.

This tutorial is no official Appcelerator training material!

How to use

  1. Make sure you have enough tutors (1:5) for the class size.
  2. Download the @slides for the tutorial.
  3. Personalize the slide where you introduce the tutors.
  4. Go through all slides and assignments yourself, preferably using Studio.
  5. Ask all students to try to install Titanium (Studio) before class to save time.
  6. Prepare a USB stick for the people who didn't come prepared with:
    • Studio: Mac, Windows
    • Oracle JDK
    • Android SDK > DOWNLOAD FOR OTHER PLATFORMS > SDK Tools Only
    • Xcode > Search for: XCode
    • A copy of your own Android SDK folder containing some API's.
  7. Find a nice gift for the winner of the bonus assignment ;)
  8. Make sure you have a beamer, as well as connected speakers for the movie.
  9. Enlarge the font of your console and Studio so they are readable on a big screen.
  10. Go through the slides:
    • Don't stick to the (minimal) notes. Share from your experience.
    • Keep it simple, give information on a need-to-know basis.
  11. When you come across an assignment:
    • Walk around and point people in give (minimal) hints.
    • Open the branch on the big screen so you can show hints.
    • When time's up, open and run the next branch to show the result.
  12. Take your time. If you run out of it, just skip an assignment.

License

You are free to teach this tutorial and make money doing so, but I kindly ask you to include the original copyright, a link to the original repository and submit pull requests for any corrections, additions and other improvements so we can all benefit from them. Thank you.

The MIT License (MIT)

Copyright (c) 2014-2015 Fokke Zandbergen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

tutorial's People

Contributors

fokkezb avatar foolprooflabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tutorial's Issues

Error running on Android with 3.3.0.GA

Hi Fokke,

First off: thanks for these awesome slides and amazing intro to Titanium app btw, we're going to try using them this Saturday for a free class for people who want to learn about Titanium.

I had some problems when compiling this version for the latest Titanium SDK (3.3.0.GA) and received an error like this on compile:

Error: No resource found that matches the given name (at 'theme' with value '@style/Theme.AppCompat.Translucent').

I did the following to fix it:

  1. Remove completely the folder /platform/android/res/values
  2. Add the following to tiapp.xml:

The Ti documentation says this about 3.3.0:
"Starting with Release 3.3.0, the Titanium SDK only supports the AppCompat themes and your target SDK level must be 14 or above. If you try to use an unsupported theme, you will either receive a build error that the resource cannot be found or a runtime error that the theme is not supported."

Reference: http://docs.appcelerator.com/titanium/3.0/#!/guide/Android_Themes

Don't rely on internet connection

Make clear instructions on how to - on forehand - create USB sticks with:

  • Titanium and dependencies
  • Offline documentation
  • Repository
  • Slides

Don't rely on git

Resetting and switching branches makes the tutorial more complex then it needs to be.

It would be better to move everything under the master and have different app folders (app-01, app-02 ..). Then all students have to do is rename the right folder to app and back again.

It would be even better if themes would also support views, so the app folder only contains a config.json where you select the theme.

  • Create JIRA ticket for view-theming

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.