Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Titanium, Alloy and ACS
Search
Alco
May 01, 2013
Programming
1
310
Titanium, Alloy and ACS
Slides for my presentation at Paypal: API Meetup #5
Alco
May 01, 2013
Tweet
Share
More Decks by Alco
See All by Alco
GraphQL in 7 days
ricardoalcocer
0
53
Cómo fui de MySQL DB a GraphQL API en 7 días
ricardoalcocer
0
150
Creando aplicaciones que tus usuarios quieran usar
ricardoalcocer
0
85
Aplicaciones cross-platform para escritorio usando Electron
ricardoalcocer
0
100
Encontrando y reteniendo usuarios en un mundo global
ricardoalcocer
0
30
The Quali DevOps Journey
ricardoalcocer
0
98
Advanced Cross-Platform Development
ricardoalcocer
2
1.3k
Titanium Alloy in Action
ricardoalcocer
2
700
Node School Night
ricardoalcocer
2
110
Other Decks in Programming
See All in Programming
Symfony Mapper Component
soyuka
2
730
暇に任せてProxmoxコンソール 作ってみました
karugamo
2
720
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
3
700
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
php-conference-japan-2024
tasuku43
0
270
선언형 UI에서의 상태관리
l2hyunwoo
0
160
ドメインイベント増えすぎ問題
h0r15h0
2
300
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
Refactor your code - refactor yourself
xosofox
1
260
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
テスト自動化失敗から再挑戦しチームにオーナーシップを委譲した話/STAC2024 macho
ma_cho29
1
1.3k
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
The Cult of Friendly URLs
andyhume
78
6.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Adopting Sorbet at Scale
ufuk
73
9.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Pragmatic Product Professional
lauravandoore
32
6.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Gamification - CAS2011
davidbonilla
80
5.1k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Transcript
None
Titanium, Alloy and ACS! Ricardo Alcocer // Platform Evangelist! @ricardoalcocer!
! API Meetup #5 : Mobile API!
About Appcelerator Titanium! • Not a language, but a high-level
Javascript SDK! • Allows you build Native Apps for! – iOS (iPhone, iPod Touch, iPad)! – Android (Phone and Tablet) ! – Mobile Web! – Tizen! – Blackberry 10 (beta)! – Soon for Windows 8! • Free and Open Source!! • It’s Native, NOT web app!
Make sure you download Studio!
h"p://blog.planetargon.com/entries/2010/3/1/designer-‐vs-‐developer
Model Controller View User Routing, decision
making Business logic, data manipulation, etc What the user sees .JS Files .XML + .TSS Files Alloy MVC Framework!
Alloy App Folder Structure!
Create more controllers via Menu Options!
Sample two-tab App!
Running on iOS!
Running on Android 2.x devices!
Running on Android ICS+ devices!
Running on Android ICS+ devices!
Running as MobileWeb!
Cross-platform is much more than being available across platforms! Android
iOS
Native UI, same code-base!
Index.xml!
Index.js!
User Interface Guidelines! h"ps://developer.apple.com/library/ios/#documentaDon/UserExperience/Conceptual/ MobileHIG/IntroducDon/IntroducDon.html h"p://developer.android.com/guide/pracDces/ ui_guidelines/index.html
Native iOS and Andoroid UI Elements! h"p://www.teehanlax.com/blog/ios-‐6-‐gui-‐psd-‐iphone-‐5/ h"p://www.teehanlax.com/blog/android-‐2-‐3-‐4-‐gui-‐psd-‐high-‐density/
The vocabulary is well documented! h"p://docs.appcelerator.com/Dtanium/3.0/#!/api/Titanium.UI.Window
View the source!! h"ps://github.com/appcelerator/KitchenSink/tree/master/Resources
Alloy provides advanced ways of interacting with XML from Javascript!
User Interface Definition!
User Interface Definition! Menu DefiniDon
User Interface Definition! Main View DefiniDon
User Interface Definition! Main View DefiniDon
Open and Close the menu using Javascript : index.js!
Enabling your App for Cloud Services!
Appcelerator Cloud Services! Built-‐in Services • Chats
• Checkins • CollecDons • Events • Data Files • Friends • Key-‐Values • Messages • Custom Objects • Photos • Places • Posts • Reviews • Statuses • Users
Accesible through! • RESTAPI! • Titanium SDK! • iOS SDK!
• Android SDK!
Get Photo using REST API! {! "meta": {! "code": 200,!
"status": "ok",! "method_name": "showPhoto"! },! "response": {! "photos": [! {! "id": "518016b0a49ecc313e0472ba",! "filename": "49345ea4af9a9432c1f4bf2cde34c736.jpeg",! "size": 33682,! "md5": "d8fa7929ab37c29eaa8913060f3caf86",! "created_at": "2013-04-30T19:08:32+0000",! "updated_at": "2013-04-30T19:08:38+0000",! "processed": true,! "user": {! "id": "5180168592512959f5046313",! "created_at": "2013-04-30T19:07:49+0000",! "updated_at": "2013-04-30T19:07:49+0000",! "external_accounts": [],! "confirmed_at": "2013-04-30T19:07:49+0000",! "username": "admin",! "admin": "false"! },! "urls": {! "square_75": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_square_75.jpeg",! "thumb_100": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_thumb_100.jpeg",! "small_240": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_small_240.jpeg",! "medium_500": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_medium_500.jpeg",! "medium_640": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_medium_640.jpeg",! "large_1024": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_large_1024.jpeg",! "original": "http://storage.cloud.appcelerator.com/rnIOgIlyB34spSHTQ0t0K1r9zTuQ3Fzv/photos/af/86/518016b0a49ecc313e0472bb/49345ea4af9a9432c1f4bf2cde34c736_original.jpeg"! },! "content_type": "image/jpeg"! }! ]! }! }! h"p://api.cloud.appcelerator.com/v1/photos/show.json?key=[API_KEY]&photo_id=518016b0a49ecc313e0472ba
Extensive documentation!
View the source!! h"ps://github.com/appcelerator-‐modules/D.cloud/tree/master/commonjs/example
Use what you know and love! • CommonJS! • Backbone
Models! • Underscore.js! Company Confidential!
Marketplace!
Huge community on Github!
User stats! • Over 450,000 developers worldwide! • Over 50,000
apps! • 1 in every 10 mobile devices run a Titanium-powered App ! Company Confidential!
Some Apps built with Titanium!
Much more! • Command-line interface! • Modules, Widgets, Sync Adapters!
• Gaming via Lanica.co! • Enterprise-ready!!
Important links! ! Slides! https://speakerdeck.com/ricardoalcocer! ! Appcelerator Q&A ! https://developer.appcelerator.com/questions/newest!
! Twitter! https://twitter.com/appcelerator! ! !
Questions? ! ? Thank you!
[email protected]
! ! Twitter:
@ricardoalcocer! !
None