SlideShare ist ein Scribd-Unternehmen logo
1 von 21
Downloaden Sie, um offline zu lesen
Facebook App
                   in Scheme
                          Higepon
                  shibuya.lisp Tech Talk #7




2011   10   22
Higepon

                 • @higepon
                 • Mona OS
                  • http://www.monaos.org
                 • Mosh Scheme
                  • http://mosh.monaos.org

2011   10   22
Facbook App




2011   10   22
Facbook App




2011   10   22
http://lovamimi .com/

                 • Integrated with Facebook
                 • ja/en
                 • PC/iPhone/Android
                 • Written in Scheme

2011   10   22
Popular secrets

                 •




2011   10   22
Popular secrets
                 •




2011   10   22
Popular secrets

                 •




2011   10   22
Popular secrets
                 •
                     facebook




2011   10   22
Facebook App?


                 • Facebook Graph API
                 • Social Graph Data


2011   10   22
Facebook App?


                 • Facebook Graph API
                 • Social Graph Data


2011   10   22
2011   10   22
2011   10   22
Graph API

                 • Friends
                 • Name, Age, Phone number, Photo, Birthday
                 • Post, Likes, Checkin, Online Presence
                 • Work History, Message
                 • Offline Access, Publish Stream

2011   10   22
Wrote in Scheme

                 •
                     • 729 lines
                     • Mosh has facebook/cgi/template library
                 • 4 hours + coke = First version
                 • MySQL / Apache

2011   10   22
Advantage of
                 Scheme / Lisp


2011   10   22
2011   10   22
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
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
Scheme way

                 • (call-with-cgi ...)
                 • (call-with-connection ...)
                 • i18n
                  • (parameterize ([lang ...])

2011   10   22
Summary

                 • Write your Facebook App in Scheme!
                 • Use Mosh
                  • facebook/cgi/template libraries


2011   10   22

Weitere ähnliche Inhalte

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

20110117 lithium
20110117 lithium20110117 lithium
20110117 lithium
Yusuke Ando
 
OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020
Howard Greenberg
 
What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012
Iskandar Najmuddin
 
Branding SharePoint for Evolving Internet Devices
Branding SharePoint for Evolving Internet DevicesBranding SharePoint for Evolving Internet Devices
Branding SharePoint for Evolving Internet Devices
Eric Overfield
 

Ähnlich wie Facebook App in Scheme Shibuya.Lisp tt#7 2011/10/22 (20)

20110117 lithium
20110117 lithium20110117 lithium
20110117 lithium
 
Facebook Development for Beginners
Facebook Development for BeginnersFacebook Development for Beginners
Facebook Development for Beginners
 
EyeEM
EyeEMEyeEM
EyeEM
 
Facebook Developer Garage Toronto - Syncapse Presentation
Facebook Developer Garage Toronto - Syncapse PresentationFacebook Developer Garage Toronto - Syncapse Presentation
Facebook Developer Garage Toronto - Syncapse Presentation
 
«I knew there had to be a better way to build mobile app»​
«I knew there had to be a better way to build mobile app»​«I knew there had to be a better way to build mobile app»​
«I knew there had to be a better way to build mobile app»​
 
Making the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGapMaking the Mobile Web Native with PhoneGap
Making the Mobile Web Native with PhoneGap
 
Enhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web DesignEnhancing SharePoint with Responsive Web Design
Enhancing SharePoint with Responsive Web Design
 
Wikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGapWikipedia Mobile App with PhoneGap
Wikipedia Mobile App with PhoneGap
 
I knew there had to be a better way to build mobile apps
I knew there had to be a better way to build mobile appsI knew there had to be a better way to build mobile apps
I knew there had to be a better way to build mobile apps
 
OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020
 
Mobile web volunteers
Mobile web volunteersMobile web volunteers
Mobile web volunteers
 
What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012
 
Get Social With Facebook
Get Social With FacebookGet Social With Facebook
Get Social With Facebook
 
Branding SharePoint for Evolving Internet Devices
Branding SharePoint for Evolving Internet DevicesBranding SharePoint for Evolving Internet Devices
Branding SharePoint for Evolving Internet Devices
 
Choosing Between Cross Platform of Native Development
Choosing	Between Cross Platform of Native DevelopmentChoosing	Between Cross Platform of Native Development
Choosing Between Cross Platform of Native Development
 
GigMonkey Facebook Dev Garage July09
GigMonkey Facebook Dev Garage July09GigMonkey Facebook Dev Garage July09
GigMonkey Facebook Dev Garage July09
 
Hybrid Mobile application
Hybrid Mobile applicationHybrid Mobile application
Hybrid Mobile application
 
What's New on the Facebook Platform, January 2012
What's New on the Facebook Platform, January 2012What's New on the Facebook Platform, January 2012
What's New on the Facebook Platform, January 2012
 
Designing and delivering elearning in a multi-device world
Designing and delivering elearning in a multi-device worldDesigning and delivering elearning in a multi-device world
Designing and delivering elearning in a multi-device world
 
Web 2.0 Revisited - Final project
Web 2.0 Revisited - Final projectWeb 2.0 Revisited - Final project
Web 2.0 Revisited - Final project
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

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

  • 1. Facebook App in Scheme Higepon shibuya.lisp Tech Talk #7 2011 10 22
  • 2. Higepon • @higepon • Mona OS • http://www.monaos.org • Mosh Scheme • http://mosh.monaos.org 2011 10 22
  • 5. http://lovamimi .com/ • Integrated with Facebook • ja/en • PC/iPhone/Android • Written in Scheme 2011 10 22
  • 6. Popular secrets • 2011 10 22
  • 7. Popular secrets • 2011 10 22
  • 8. Popular secrets • 2011 10 22
  • 9. Popular secrets • facebook 2011 10 22
  • 10. Facebook App? • Facebook Graph API • Social Graph Data 2011 10 22
  • 11. Facebook App? • Facebook Graph API • Social Graph Data 2011 10 22
  • 12. 2011 10 22
  • 13. 2011 10 22
  • 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. Wrote in Scheme • • 729 lines • Mosh has facebook/cgi/template library • 4 hours + coke = First version • MySQL / Apache 2011 10 22
  • 16. Advantage of Scheme / Lisp 2011 10 22
  • 17. 2011 10 22
  • 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. 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. Scheme way • (call-with-cgi ...) • (call-with-connection ...) • i18n • (parameterize ([lang ...]) 2011 10 22
  • 21. Summary • Write your Facebook App in Scheme! • Use Mosh • facebook/cgi/template libraries 2011 10 22