Your SlideShare is downloading. ×
Introduction to YQL - Talk at HackU 2010, IIT Chennai
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to YQL - Talk at HackU 2010, IIT Chennai

1,405
views

Published on

Introduction to YQL - Talk at HackU 2010, IIT Chennai

Introduction to YQL - Talk at HackU 2010, IIT Chennai

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,405
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • We have moved past the web of documents. “Raw Data now”. Tim Berners Lee says “Data drives a huge amount of what happens in our lives because somebody takes that data and does something with it”
  • Lets take an example of a developer trying
  • Transcript

    • 1.
    • 2. select * from internet; Balaji Narayanan @balajijegan http://balajin.net/blog/
    • 3. Application ?
    • 4. Application = data manipulation data visualization +
    • 5. data
    • 6.  
    • 7. var map = new YMap(document.getElementById('map'));…var currentGeoPoint = new YGeoPoint( _c.Lat, _c.Lon ); map.addMarker(currentGeoPoint);… … if (flickcurl_prepare(fc, "flickr.photos.geo.correctLocation", parameters, count)) { … } … http://search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=YahooDemo&query=Corvette&results=2 http://weather.yahooapis.com/forecastrss?p=FRXX0076&u=c ? ? ? ?
    • 8. What is the problem?
    • 9. Thousands of Web Services and sources that provide valuable data
    • 10. Data is isolated
    • 11. Needs filtering, combining, tweaking, shaping even after it gets to the developer.
    • 12. Require Developers to read documentation and form URLs/queries
    • 13. YQL select desc show YQL stmt Bindings http://weather.yahooapis.com/forecastrss?p=FRXX0076&u=c … if (flickcurl_prepare(fc, "flickr.photos.geo.correctLocation", parameters, count)) { … } … http://search.yahooapis.com/ImageSearchService/V1/imageSearch?appid=YahooDemo&query=Corvette&results=2 var map = new YMap(document.getElementById('map'));…var currentGeoPoint = new YGeoPoint( _c.Lat, _c.Lon ); map.addMarker(currentGeoPoint);…
    • 14. Web Service with a SQL Like Language
    • 15. Familiar to developers
    • 16. Synonymous with data access
    • 17. Expressive enough to get the right data
    • 18. Supports query, filter, join and update data across any structured data on the web / web services
    • 19. Demo http://developer.yahoo.com/yql/console
    • 20. XML or JSON output formats. JSON also allows for a callback parameter to use directly as JSON-P
    • 21. Using YQL in your application
    • 22.
    • 23.
    • 24. YQL is not limited to Yahoo! data only
    • 25. use and set
    • 26. Imports the Open Data Table definition
    • 27. Makes it available as tableName
    • 28. Acts just like other YQL Tables
    • 29. Open tables can be collected together into environment files
    • 30. set api_key=“value” on myTable
    • 31. use ‘http://myweb/mytable.xml’ as tableName ; select * from my tableName
    • 32.
      • YQL Hosted Storage for Storing Secrets, Environment Files, Open Data Tables
    • 33.
      • insert into yql.storage.admin (name,url) values ('fireeagle','http://balajin.net/hacks/fireeagle.env')
    • 34.
      • < execute >
      • store://balajin.net/fireeagle
      • </execute>
      • < select >
      • store://RtdcPRPDsp0d8WyyLSDo3T
      • </select>
      • < update > store://hyOKm0GnP802H2hPzMARZ1
      • </update>
    • 35.
      • https://developer.yahoo.com/yql/console/? env=store://balajin.net/fireeagle
    • 36. Insert / Update / Delete
    • 37. Can modify the data on the cloud
    • 38. Open Data Tables
    • 39. Brings the power of table model to new APIs
    • 40. Schema brings mapping between YQL and endpoint
    • 41. Keys can be marked as required
    • 42. YQL compiler validates the existence of required keys
    • 43. < execute > element
    • 44. Extends open data table with server side JS code
    • 45. Move business logic of your application to the cloud
    • 46.
    • 47. More easily build web applications
    • 48. Data processing done away from the app
    • 49. Consistent and familiar syntax for all data access
    • 50. Iterative environment for developing the query
    • 51. data YQL
    • 52. Contribute http://github.com/yql/yql-tables/
    • 53. Questions [email_address]