Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Titanium, Alloy and ACS

Alco
May 01, 2013

Titanium, Alloy and ACS

Slides for my presentation at Paypal: API Meetup #5

Alco

May 01, 2013
Tweet

More Decks by Alco

Other Decks in Programming

Transcript

  1. 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!
  2. Model   Controller   View   User   Routing, decision

    making Business logic, data manipulation, etc What the user sees .JS Files .XML + .TSS Files Alloy MVC Framework!
  3. Appcelerator Cloud Services! Built-­‐in  Services     •  Chats  

      •  Checkins     •  CollecDons     •  Events     •  Data  Files     •  Friends   •  Key-­‐Values     •  Messages     •  Custom  Objects     •  Photos     •  Places     •  Posts     •  Reviews     •  Statuses     •  Users    
  4. 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  
  5. Use what you know and love! •  CommonJS! •  Backbone

    Models! •  Underscore.js! Company Confidential!
  6. User stats! •  Over 450,000 developers worldwide! •  Over 50,000

    apps! •  1 in every 10 mobile devices run a Titanium-powered App ! Company Confidential!
  7. Much more! •  Command-line interface! •  Modules, Widgets, Sync Adapters!

    •  Gaming via Lanica.co! •  Enterprise-ready!!