Successfully reported this slideshow.
Your SlideShare is downloading. ×

Facebook App in Scheme Shibuya.Lisp tt#7 2011/10/22

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 21 Ad
Advertisement

More Related Content

Similar to Facebook App in Scheme Shibuya.Lisp tt#7 2011/10/22 (20)

Recently uploaded (20)

Advertisement

Facebook App in Scheme Shibuya.Lisp tt#7 2011/10/22

  1. 1. Facebook App in Scheme Higepon shibuya.lisp Tech Talk #7 2011 10 22
  2. 2. Higepon • @higepon • Mona OS • http://www.monaos.org • Mosh Scheme • http://mosh.monaos.org 2011 10 22
  3. 3. Facbook App 2011 10 22
  4. 4. Facbook App 2011 10 22
  5. 5. http://lovamimi .com/ • Integrated with Facebook • ja/en • PC/iPhone/Android • Written in Scheme 2011 10 22
  6. 6. Popular secrets • 2011 10 22
  7. 7. Popular secrets • 2011 10 22
  8. 8. Popular secrets • 2011 10 22
  9. 9. Popular secrets • facebook 2011 10 22
  10. 10. Facebook App? • Facebook Graph API • Social Graph Data 2011 10 22
  11. 11. Facebook App? • Facebook Graph API • Social Graph Data 2011 10 22
  12. 12. 2011 10 22
  13. 13. 2011 10 22
  14. 14. Graph API • Friends • Name, Age, Phone number, Photo, Birthday • Post, Likes, Checkin, Online Presence • Work History, Message • Offline Access, Publish Stream 2011 10 22
  15. 15. Wrote in Scheme • • 729 lines • Mosh has facebook/cgi/template library • 4 hours + coke = First version • MySQL / Apache 2011 10 22
  16. 16. Advantage of Scheme / Lisp 2011 10 22
  17. 17. 2011 10 22
  18. 18. S-Exp • Graph API returns JSON • Not human readable! • From JSON to S-Exp • S-Exp is much easier to read and use 2011 10 22
  19. 19. Don’t use S-Exp for • Data Storage • MySQL is much better • Template • Can’t copy and paste • Not everyone can read/write. 2011 10 22
  20. 20. Scheme way • (call-with-cgi ...) • (call-with-connection ...) • i18n • (parameterize ([lang ...]) 2011 10 22
  21. 21. Summary • Write your Facebook App in Scheme! • Use Mosh • facebook/cgi/template libraries 2011 10 22

×