Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Yahoo Query Language

647 views

Published on

This should have been presented in #1 Barcamp Id. Covers overview on how interesting YQL is.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Yahoo Query Language

  1. 1. Yahoo Query Language: Internet Sebagai Database  
  2. 2. Mashup Is The New Internet <ul><li>  </li></ul>
  3. 3. Screen Scraping This is the full RFC 2822 regular expression for matching email addresses, with comments already stripped. It weighs in at a tiny 3768 bytes. (((((([x20x09]*(x0dx0a))?[x20x09]+)|([x20x09]+((x0d x0a)[x20x09]+)*))*?(([x41-x5ax61-x7a]|[x30-x39]|[x 21x23-x27x2ax2bx2dx2ex3dx3fx5ex5fx60x7b-x7e])+( x2e([x41-x5ax61-x7a]|[x30-x39]|[x21x23-x27x2ax2b x2dx2ex3dx3fx5ex5fx60x7b-x7e])+)*)((([x20x09]*(x 0dx0a))?[x20x09]+)|([x20x09]+((x0dx0a)[x20x09]+)*)) *?)|(((([x20x09]*(x0dx0a))?[x20x09]+)|([x20x09]+((x 0dx0a)[x20x09]+)*))*?x22(((([x20x09]*(x0dx0a))?[x20 x09]+)|([x20x09]+((x0dx0a)[x20x09]+)*))?(([x01-x08 x0bx0cx0e-x1fx7f]|[x21x23-x5bx5d-x7e])|(x5c([x01- x09x0bx0cx0e-x7f]|(x0a*x0d*([x00-x09x0bx0cx0e-x 7f]x0a*x0d*)*))|(x5c[x00-x7f]))))*((([x20x09]*(x0dx 0a))?[x20x09]+)|([x20x09]+((x0dx0a)[x20x09]+)*))?x2 2((([x20x09]*(x0dx0a))?[x20x09]+)|([x20x09]+((x0dx 0a)[x20x09]+)*))*?)|(((((([x20x09]*(x0dx0a))?[x20x09.. snip ..
  4. 4. Web Services SOAP REST New Frontier RSS JSON
  5. 5. Orchestration: Connecting The Pipes
  6. 6. I love SQL <ul><li>SELECT * FROM detik.com/feed </li></ul><ul><li>UPDATE twitter.com VALUES(&quot;Gini asik kali ya&quot;) </li></ul><ul><li>SELECT weather, wind FROM nasa WHERE city IN (SELECT city FROM geocode WHERE lat = 12.3 AND long = 78.5) </li></ul>
  7. 7. I am totally lazy. <ul><li>  </li></ul>
  8. 8. Scraping Made Easy <ul><li>select * from html where url=&quot;http://finance.yahoo.com/q?s=yhoo&quot; and xpath='//div[@id=&quot;yfi_headlines&quot;]/div[2]/ul/li/a' </li></ul>
  9. 9.   <ul><li>  </li></ul>
  10. 10.   <ul><li>RSS? We Got It </li></ul>
  11. 11. What? Web Services? OK.
  12. 12.   <ul><li>All SELECT makes INSERT a dull boy? </li></ul>
  13. 14.   <ul><li>Not Cool Enough? </li></ul>
  14. 15. OAuth is imposible?
  15. 16. Orchestration = Open Table <ul><li>  </li></ul>
  16. 17.   <ul><li>That's How We Do OAuth </li></ul>
  17. 19. I Wish I Can Do It All ... In Javascript <ul><li>  </li></ul>
  18. 20. Sure, We Got PHP And Python
  19. 21. Onemanga KDE Plasmoid
  20. 22. OK, It's All Yours <ul><ul><li>https://developer.yahoo.com/yql/console/ </li></ul></ul><ul><ul><li>http://developer.yahoo.com/social/sdk/php/ </li></ul></ul><ul><ul><li>http://developer.yahoo.com/yql/guide/yql-tutorials.html </li></ul></ul><ul><ul><li>http://github.com/yql/yql-tables/ </li></ul></ul><ul><ul><li>http://python-yql.org/ </li></ul></ul>
  21. 23. Thanks, Barcamp ID @neofreko
  22. 24. Picture Credits <ul><li>http://www.flickr.com/photos/chris_radcliff/189404292/ </li></ul><ul><li>http://www.flickr.com/photos/psd/263092176/ </li></ul><ul><li>http://www.kylehayes.info/2009/03/29/survey-results-javascript-frameworks/ </li></ul><ul><li>http://informationarchitects.jp/wtm4/ </li></ul>

×