SlideShare a Scribd company logo
Web Services and
   JavaScript


Using and Offering Data on the Web for All of Us



     Christian Heilmann – Ajax Experience, Boston, MA, USA – September 2009
I am Chris.




Developer Evangelist
Evolving the web.
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
The web of data.
CMS
CMS


Tags, Comments, Connections, Embeds
Access issues.
Trust issues.
Client issues.
Liberating thoughts.
Photo of Scott Schiller
http://www.schillmania.com/projects/soundmanager2/
http://dt.in.th/2008–05–18.javascript-karaoke-lyric-scroller.html
http://www.schillmania.com/content/demos/yui-sm2/noisy-events/
New environments.
Widgets.
W3C Widgets




                                  http://www.quirksmode.org/blog/
http://www.w3.org/TR/widgets/
                                archives/2009/04/introduction_to.html
Air
Browser Extensions
Easing
access.
The Yahoo Query Language, or short
YQL is a unified interface language
to the web.

http://developer.yahoo.com/yql/
select {what} from {source} where
{conditions} | {filters}
http://query.yahooapis.com/
v1/public/yql?q={query}
&format={format}
For example:

select * from geo.places where
text='london,uk'
Web services and JavaScript
Web services and JavaScript
Get only the where on earth ID

select woeid from geo.places
where text='london,uk'
Then mix:

select id from
flickr.photos.search where woe_id
in (select woeid from geo.places
where text='london,uk') and
license=4
Then mix:

select id from
flickr.photos.search where woe_id
in (select woeid from geo.places
where text='london,uk') and
license=4
And get all the info...

select * from flickr.photos.info
where photo_id in (select id from
flickr.photos.search where woe_id
in (select woeid from geo.places
where text='london,uk') and
license=4)
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Then display them using frameworks...




   http://isithackday.com/hacks/cantine/
        index.php?loc=covent+garden




   http://isithackday.com/hacks/cantine/
Or with a few lines of code...




   http://isithackday.com/hacks/cantine/
        index.php?loc=covent+garden




    http://isithackday.com/hacks/ajaxexperience/flickrgeophotos.html
Learn YQL by doing




http://developer.yahoo.com/yql/console/
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
Is this Yahoo only?
Any data will do...
                atom
                csv
                feed
select * from   html
                json
                microformats
                rss
                xml
Any data will do...




http://www.dcs.gla.ac.uk/~joy/fun/jokes/TV.html
http://isithackday.com/hacks/scraping-with-yql/
Web services and JavaScript
http://github.com/spullara/yql-tables/tree/master
Web services and JavaScript
Web services and JavaScript
Web services and JavaScript
I won the competition last
week (Netbook + Mobile)
How did I do it?
Rockstar?
Lazy!
http://code.google.com/apis/ajaxlanguage/documentation/
Web services and JavaScript
http://github.com/codepo8/MultiTweet/tree/master
http://github.com/codepo8/MultiTweet/tree/master
http://www.betavine.net/bvportal/resources/widgets/research
Web services and JavaScript
Bring on your data...




http://developer.yahoo.com/yql/guide/yql-opentables-chapter.html
INSERT INTO bitly.shorten (login, apiKey, longUrl) VALUES ('USERNAME', 'API_KEY',
            'http://yahoo.com')
Read or write...




                   http://developer.yahoo.com/yql/guide/yql-iud-statements.html
And free your JavaScript!
                                    ★   Full REST support
                                    ★   oAuth
                                    ★   E4X
                                    ★   xpath
                                    ★   json+xml
                                    ★   crypto
                                    ★   include() and
                                        use()


  http://developer.yahoo.com/yql/guide/yql-execute-chapter.html
Netflix oAuth example.




http://github.com/spullara/yql-tables/blob/
b634ac2bd42f9b5c77564cdb0d25613c84bb320a/netflix/netflix.catalog.xml
Now go and play!
October 9 & 10 - NYC




    http://icanhaz.com/yahoohacknyc
Thanks for the photos!
http://www.flickr.com/photos/careytilden/115435226//
http://www.flickr.com/photos/lumachrome/2140368742/

http://www.flickr.com/photos/clevercupcakes/2384420607/
http://www.flickr.com/photos/yodelanecdotal/1253196352/

http://www.flickr.com/photos/seven13avenue/2080281038/
http://www.flickr.com/photos/tudor/2981410947/

http://www.flickr.com/photos/clspeace/162336973
http://b3ta.com

http://failblog.net
http://icanhascheezburger.com

http://theinternets
 Chris5an Heilmann
 h7p://wait‐5ll‐i.com 
                                  Thanks!
 h7p://developer‐evangelism.com
 h7p://twi7er.com/codepo8   

More Related Content

Similar to Web services and JavaScript (20)

PPTX
Select * from internet
markandey
 
PDF
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
Saurabh Sahni
 
KEY
YQL:: Select * from Internet
drgath
 
PDF
Yql hacku iitd_2012
Anshu Prateek
 
KEY
YQL: Select * from Internet
drgath
 
PPT
YQL - Christian Heilmann Open Hack London presentation
Korben00
 
PDF
Yql with geo
Prajwal ShelvaPillai
 
PDF
Things you can use (by the Yahoo Developer Network and friends)
Christian Heilmann
 
PDF
Using YQL Sensibly - YUIConf 2010
Christian Heilmann
 
PDF
YQL & Yahoo! APIs - Open Hack India 2011
Saurabh Sahni
 
PPTX
YQL Publicis Hackday
Paul Donnelly
 
PPTX
Yahoo xtra Open Technolgies
Yahoo Developer Network
 
PPTX
SEA Open Hack - YQL
Jonathan LeBlanc
 
PDF
Using Web Services with JavaScript - Fronttrends 2010
Christian Heilmann
 
PPTX
YQL: Master Of the Mix
markandey
 
PPT
Query the web with YQL
ramace
 
PDF
Find,Mix And Show
Christian Heilmann
 
PDF
YDN KR Tech Talk : Pipes 와 YQL 활용하기
Jinho Jung
 
PDF
Open Hack London - Introduction to YQL
Christian Heilmann
 
PPTX
Yql ans geo
mosesvijay
 
Select * from internet
markandey
 
YQL: Hacking on steroids - Yahoo! Open Hack Day 2012
Saurabh Sahni
 
YQL:: Select * from Internet
drgath
 
Yql hacku iitd_2012
Anshu Prateek
 
YQL: Select * from Internet
drgath
 
YQL - Christian Heilmann Open Hack London presentation
Korben00
 
Yql with geo
Prajwal ShelvaPillai
 
Things you can use (by the Yahoo Developer Network and friends)
Christian Heilmann
 
Using YQL Sensibly - YUIConf 2010
Christian Heilmann
 
YQL & Yahoo! APIs - Open Hack India 2011
Saurabh Sahni
 
YQL Publicis Hackday
Paul Donnelly
 
Yahoo xtra Open Technolgies
Yahoo Developer Network
 
SEA Open Hack - YQL
Jonathan LeBlanc
 
Using Web Services with JavaScript - Fronttrends 2010
Christian Heilmann
 
YQL: Master Of the Mix
markandey
 
Query the web with YQL
ramace
 
Find,Mix And Show
Christian Heilmann
 
YDN KR Tech Talk : Pipes 와 YQL 활용하기
Jinho Jung
 
Open Hack London - Introduction to YQL
Christian Heilmann
 
Yql ans geo
mosesvijay
 

More from Christian Heilmann (20)

PPTX
Develop, Debug, Learn? - Dotjs2019
Christian Heilmann
 
PDF
Hinting at a better web
Christian Heilmann
 
PDF
Taking the "vile" out of privilege
Christian Heilmann
 
PDF
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
PDF
Artificial intelligence for humans… #AIDC2018 keynote
Christian Heilmann
 
PDF
Killing the golden calf of coding - We are Developers keynote
Christian Heilmann
 
PDF
Progressive Web Apps - Techdays Finland
Christian Heilmann
 
PDF
Taking the "vile" out of privilege
Christian Heilmann
 
PDF
Five ways to be a happier JavaScript developer
Christian Heilmann
 
PDF
Taking the P out of PWA
Christian Heilmann
 
PDF
Sacrificing the golden calf of "coding"
Christian Heilmann
 
PDF
You learned JavaScript - now what?
Christian Heilmann
 
PDF
Sacrificing the golden calf of "coding"
Christian Heilmann
 
PDF
Progressive Web Apps - Covering the best of both worlds - DevReach
Christian Heilmann
 
PDF
Progressive Web Apps - Covering the best of both worlds
Christian Heilmann
 
PPTX
Non-trivial pursuits: Learning machines and forgetful humans
Christian Heilmann
 
PDF
Progressive Web Apps - Bringing the web front and center
Christian Heilmann
 
PDF
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
PDF
Leveling up your JavaScipt - DrupalJam 2017
Christian Heilmann
 
PDF
The Soul in The Machine - Developing for Humans (FrankenJS edition)
Christian Heilmann
 
Develop, Debug, Learn? - Dotjs2019
Christian Heilmann
 
Hinting at a better web
Christian Heilmann
 
Taking the "vile" out of privilege
Christian Heilmann
 
Seven ways to be a happier JavaScript developer - NDC Oslo
Christian Heilmann
 
Artificial intelligence for humans… #AIDC2018 keynote
Christian Heilmann
 
Killing the golden calf of coding - We are Developers keynote
Christian Heilmann
 
Progressive Web Apps - Techdays Finland
Christian Heilmann
 
Taking the "vile" out of privilege
Christian Heilmann
 
Five ways to be a happier JavaScript developer
Christian Heilmann
 
Taking the P out of PWA
Christian Heilmann
 
Sacrificing the golden calf of "coding"
Christian Heilmann
 
You learned JavaScript - now what?
Christian Heilmann
 
Sacrificing the golden calf of "coding"
Christian Heilmann
 
Progressive Web Apps - Covering the best of both worlds - DevReach
Christian Heilmann
 
Progressive Web Apps - Covering the best of both worlds
Christian Heilmann
 
Non-trivial pursuits: Learning machines and forgetful humans
Christian Heilmann
 
Progressive Web Apps - Bringing the web front and center
Christian Heilmann
 
CSS vs. JavaScript - Trust vs. Control
Christian Heilmann
 
Leveling up your JavaScipt - DrupalJam 2017
Christian Heilmann
 
The Soul in The Machine - Developing for Humans (FrankenJS edition)
Christian Heilmann
 
Ad

Recently uploaded (20)

PPTX
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
PDF
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
PPTX
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
PPTX
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
PPTX
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
PDF
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
PDF
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
PDF
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
PDF
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
PDF
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
PDF
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
PPTX
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
PPTX
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
PPTX
Practical Applications of AI in Local Government
OnBoard
 
PDF
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
PDF
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
PDF
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
PPTX
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Paycifi - Programmable Trust_Breakfast_PPTXT
FinTech Belgium
 
Proactive Server and System Monitoring with FME: Using HTTP and System Caller...
Safe Software
 
Smart Factory Monitoring IIoT in Machine and Production Operations.pptx
Rejig Digital
 
2025 HackRedCon Cyber Career Paths.pptx Scott Stanton
Scott Stanton
 
Mastering Authorization: Integrating Authentication and Authorization Data in...
Hitachi, Ltd. OSS Solution Center.
 
Redefining Work in the Age of AI - What to expect? How to prepare? Why it mat...
Malinda Kapuruge
 
5 Things to Consider When Deploying AI in Your Enterprise
Safe Software
 
Automating the Geo-Referencing of Historic Aerial Photography in Flanders
Safe Software
 
My Journey from CAD to BIM: A True Underdog Story
Safe Software
 
Optimizing the trajectory of a wheel loader working in short loading cycles
Reno Filla
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
GDG Cloud Southlake #44: Eyal Bukchin: Tightening the Kubernetes Feedback Loo...
James Anderson
 
ArcGIS Utility Network Migration - The Hunter Water Story
Safe Software
 
Enabling the Digital Artisan – keynote at ICOCI 2025
Alan Dix
 
01_Approach Cyber- DORA Incident Management.pptx
FinTech Belgium
 
Practical Applications of AI in Local Government
OnBoard
 
Darley - FIRST Copenhagen Lightning Talk (2025-06-26) Epochalypse 2038 - Time...
treyka
 
Quantum AI Discoveries: Fractal Patterns Consciousness and Cyclical Universes
Saikat Basu
 
The Future of Product Management in AI ERA.pdf
Alyona Owens
 
MARTSIA: A Tool for Confidential Data Exchange via Public Blockchain - Pitch ...
Michele Kryston
 
Ad

Web services and JavaScript