Your SlideShare is downloading. ×
Skillshare Native In No Time : Appcelerator Introduction
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Skillshare Native In No Time : Appcelerator Introduction

1,118
views

Published on

Slides from my skillshare class on Titanium Appcelerator. These slides wont mean much unless you are attending the class since we mostly use code examples which are not included in the deck …

Slides from my skillshare class on Titanium Appcelerator. These slides wont mean much unless you are attending the class since we mostly use code examples which are not included in the deck

Sample Code Snippet can be found here: https://gist.github.com/2927239

For More Information on the class: http://bit.ly/v3WqB6

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,118
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Native In No Time: Titanium AppceleratorSession Two : HttpClient & REST APIs
  • 2. Introduction• Clearly Innovative Inc• Aaron K. Saunders• Titanium Appcelerator
  • 3. Appcelerator• FREE – FREE – FREE• Cross-Platform with native controls• Extensible Module SDK• Appcelerator Cloud Services
  • 4. Appcelerator Website – Helpful Content• HttpClient• JSON.parse• JSON.stringify• XML.parse
  • 5. Today You Get Data!!• REST• HTTPClient• JSON• XML
  • 6. SOME CODE, More Details Later
  • 7. WHAT THE REST?
  • 8. APIs ARE EVERYWHERE• Programmable Web – http://www.programmableweb.com/ – List of vendors that provide APIs – Most of these APIs support REST• Apigee developer console – https://apigee.com/providers• Well Know Examples – Facebook, Foursquare, Yelp
  • 9. API Authentication• The two you will see most often – Basic authentication • Username and password base64Encoded – Oauth • Crazy back and forth between webserver and client. • Modules exists that do this for you, don’t try it yourself – http://bytespider.github.com/jsOAuth/ – Good resource, I have used it a few times
  • 10. REST API Basic Authenticaton Example
  • 11. NEXT CLASS• Email aaron@clearlyinnovative.com to let me know if every other week or every three weeks is better• The next class will be on Appcelerator User Interface construction
  • 12. LINKS• https://developer.foursquare.com/overview/s amples• http://www.yelp.com/developers/documentat ion• http://bytespider.github.com/jsOAuth/• http://docs.appcelerator.com/titanium/2.0/in dex.html#!/api/Titanium.Utils-method- base64encode