Successfully reported this slideshow.
Your SlideShare is downloading. ×

django-tastypie for RESTful

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Upcoming SlideShare
Tastypie
Tastypie
Loading in …3
×

Check these out next

1 of 12 Ad

More Related Content

Advertisement

django-tastypie for RESTful

  1. 1. django-tastypie for RESTful API winnu@ciheul.com Tuesday, July 1, 14
  2. 2. What we’re talking about Web Services and REST Tastypie is so tasty! django-tastypie in action Tuesday, July 1, 14
  3. 3. @winnuayi founder. software engineer. based in bandung 5+ years loving python! Tuesday, July 1, 14
  4. 4. Web Services Tuesday, July 1, 14
  5. 5. REpresentational State Transfer Software architecture style. Not protocol. HTTP Methods to access resources. Serialization: XML, JSON, YAML, and so on. Learning curve is easier than... hmm... SOAP GET. POST. PUT. DELETE Tuesday, July 1, 14
  6. 6. API Example GET /statuses/home_timeline POST /statuses/retweet/[tweet_id] GET /users/[user_id]/checkins POST /venues/add # Twitter API # Foursquare API Tuesday, July 1, 14
  7. 7. django-tastypie Supports Django ORM and non-ORM http://tastypieapi.org A REST framework for Django. Tuesday, July 1, 14
  8. 8. Advanced Features Serialization Authentication Authorization Caching Throttling Validation GeoDjango Tuesday, July 1, 14
  9. 9. Installation $ pip install django-tastypie # settings.py INSTALLED_APPS = ( ... ‘tastypie’, ) Tuesday, July 1, 14
  10. 10. django-tastypie in action Tuesday, July 1, 14
  11. 11. another prototype using django-tastypie (half-baked!) Tuesday, July 1, 14
  12. 12. Thanks! :) Q & A Tuesday, July 1, 14

×