Native In No Time: Titanium        AppceleratorSession Two : HttpClient & REST APIs
Introduction• Clearly Innovative Inc• Aaron K. Saunders• Titanium Appcelerator
Appcelerator•   FREE – FREE – FREE•   Cross-Platform with native controls•   Extensible Module SDK•   Appcelerator Cloud S...
Appcelerator Website – Helpful                 Content•   HttpClient•   JSON.parse•   JSON.stringify•   XML.parse
Today You Get Data!!• REST• HTTPClient• JSON• XML
SOME CODE, More Details Later
WHAT THE REST?
APIs ARE EVERYWHERE• Programmable Web  – http://www.programmableweb.com/  – List of vendors that provide APIs  – Most of t...
API Authentication• The two you will see most often  – Basic authentication     • Username and password base64Encoded  – O...
REST API Basic Authenticaton Example
NEXT CLASS• Email aaron@clearlyinnovative.com to let me  know if every other week or every three  weeks is better• The nex...
LINKS• https://developer.foursquare.com/overview/s  amples• http://www.yelp.com/developers/documentat  ion• http://bytespi...
Upcoming SlideShare
Loading in …5
×

Skillshare Native In No Time : Appcelerator Introduction

1,416 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

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
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,416
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
10
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Skillshare Native In No Time : Appcelerator Introduction

  1. 1. Native In No Time: Titanium AppceleratorSession Two : HttpClient & REST APIs
  2. 2. Introduction• Clearly Innovative Inc• Aaron K. Saunders• Titanium Appcelerator
  3. 3. Appcelerator• FREE – FREE – FREE• Cross-Platform with native controls• Extensible Module SDK• Appcelerator Cloud Services
  4. 4. Appcelerator Website – Helpful Content• HttpClient• JSON.parse• JSON.stringify• XML.parse
  5. 5. Today You Get Data!!• REST• HTTPClient• JSON• XML
  6. 6. SOME CODE, More Details Later
  7. 7. WHAT THE REST?
  8. 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. 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. 10. REST API Basic Authenticaton Example
  11. 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. 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

×