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


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 </li></ul><ul><li>UPDATE 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;; 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> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul><ul><ul><li> </li></ul></ul>
  21. 23. Thanks, Barcamp ID @neofreko
  22. 24. Picture Credits <ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul><ul><li> </li></ul>