UCLA HACKU'11

1,495 views

Published on

My presentation on YDN, YQL and Mail Applications at UCLA for HACKU 2011.

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,495
On SlideShare
0
From Embeds
0
Number of Embeds
50
Actions
Shares
0
Downloads
11
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • UCLA HACKU'11

    1. 1. UCLA HACKU’11 Gopal Venkatesan a.k.a g13n Yahoo! Inc.
    2. 2. Hello friends!
    3. 3. whoami
    4. 4. whoami• about.me/g13n
    5. 5. whoami• about.me/g13n• Yahoo
    6. 6. whoami• about.me/g13n• Yahoo• F2E and Web performance evangelist
    7. 7. whoami• about.me/g13n• Yahoo• F2E and Web performance evangelist• Loves Unix and JavaScript (weird?)
    8. 8. whoami• about.me/g13n• Yahoo• F2E and Web performance evangelist• Loves Unix and JavaScript (weird?)• Loves talking on I18n and L10n
    9. 9. whoami• about.me/g13n• Yahoo• F2E and Web performance evangelist• Loves Unix and JavaScript (weird?)• Loves talking on I18n and L10n• Hacker :-)
    10. 10. Overview
    11. 11. Overview• Introduction to Yahoo! Developer Network (YDN)
    12. 12. Overview• Introduction to Yahoo! Developer Network (YDN)• YQL - the language for the Web
    13. 13. Overview• Introduction to Yahoo! Developer Network (YDN)• YQL - the language for the Web• Hacking (on) Yahoo! Mail
    14. 14. Yahoo! Developer Network
    15. 15. Yahoo! loves developers
    16. 16. ... and Yahoo! is open
    17. 17. developer.yahoo.com
    18. 18. One place for all ofYahoo! Public APIs
    19. 19. APIs, Tools, Libraries, Frameworks, ...
    20. 20. APIs, Tools, Libraries, Frameworks, ...
    21. 21. APIs, Tools, Libraries, Frameworks, ...
    22. 22. APIs, Tools, Libraries, Frameworks, ...
    23. 23. APIs, Tools, Libraries, Frameworks, ...
    24. 24. APIs, Tools, Libraries, Frameworks, ...
    25. 25. APIs, Tools, Libraries, Frameworks, ...
    26. 26. APIs, Tools, Libraries, Frameworks, ...
    27. 27. APIs, Tools, Libraries, Frameworks, ...
    28. 28. All APIs speak JSON and XML
    29. 29. Here be dragons
    30. 30. YQL is the answer,what’s your question?
    31. 31. Lets admit, there are too many Appsproviding too many APIs
    32. 32. YQL - Whirlwind Intro
    33. 33. YQL - Whirlwind Intro• It is a web service providing a SQL like language to interface with APIs
    34. 34. YQL - Whirlwind Intro• It is a web service providing a SQL like language to interface with APIs• Supports query, filter, join, and update across all those innumerable APIs
    35. 35. YQL - Whirlwind Intro• It is a web service providing a SQL like language to interface with APIs• Supports query, filter, join, and update across all those innumerable APIs• You can transform RSS, XML to JSON and vice-versa
    36. 36. You want some RSS feed in JSON?
    37. 37. You want some RSS feed in JSON?http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%3Dhttp%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories&format=json
    38. 38. You want some RSS feed in JSON?http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20rss%20where%20url%3Dhttp%3A%2F%2Frss.news.yahoo.com%2Frss%2Ftopstories&format=json Looks scary? Well that’s just select * from rss where url=‘your-rss-feed’
    39. 39. http://developer.yahoo.com/yql/console
    40. 40. Please to be contributing,http://github.com/yql/yql-tables/
    41. 41. Yahoo! Mail Applications
    42. 42. Lets developers extend Yahoo! Mail through a Simple JavaScript API
    43. 43. What’s possible
    44. 44. What’s possible• Dynamically change how messages are rendered
    45. 45. What’s possible• Dynamically change how messages are rendered• Call external WebServices to enhance e-mail messages
    46. 46. What’s possible• Dynamically change how messages are rendered• Call external WebServices to enhance e-mail messages• Launch your App specific UI within Yahoo! Mail chrome
    47. 47. What’s possible• Dynamically change how messages are rendered• Call external WebServices to enhance e-mail messages• Launch your App specific UI within Yahoo! Mail chrome• Completely customize compose and read messages using events
    48. 48. Here’s an App ...I have masked the order details
    49. 49. Pre-requisites
    50. 50. Pre-requisites• PHP (5.x is better)• Although not pre-requisite a Unix-like OS is always better• ymdt (Yahoo! Mail Developer Toolkit) - go download from here
    51. 51. First Step
    52. 52. Building your First App
    53. 53. Testing our First App
    54. 54. Testing our First App (contd.)
    55. 55. Testing our First App (contd.)
    56. 56. The readme.txt in the projectdirectory briefly describes the project files and the directory structure
    57. 57. Other Skeleton Apps
    58. 58. One more thing ...
    59. 59. One more thing ...• Use “ymdt dev” to enable dev-o-matic mode
    60. 60. One more thing ...• Use “ymdt dev” to enable dev-o-matic mode • Syncs code with Yahoo! Mail development server
    61. 61. One more thing ...• Use “ymdt dev” to enable dev-o-matic mode • Syncs code with Yahoo! Mail development server • Continuously monitors the App directory for changes and updates server
    62. 62. Resources• YQL - http://developer.yahoo.com/yql/• Mail Applications - http:// developer.yahoo.com/mailapplications/
    63. 63. Don’t delay, HACK today
    64. 64. g{tàËá tÄÄ yÉÄ~á4
    65. 65. Image Credits• http://discoverlosangeles.com/photos.html• http://picsbox.biz/key/ucla%20clothing %20prices• http://www.flickr.com/photos/phploveme/ 2957594315/sizes/l/in/photostream/• tipsfromgeek.com• http://www.websoftwareqa.com/2010/07/

    ×