Y! Mail Application Development Platform - PowerPoint PPT Presentation

About This Presentation
Title:

Y! Mail Application Development Platform

Description:

Title: OpenMail Training Presentation Author: Arun Raghavendar. T Last modified by: Yahoo Created Date: 10/20/2003 7:42:37 PM Document presentation format – PowerPoint PPT presentation

Number of Views:44
Avg rating:3.0/5.0
Slides: 15
Provided by: ArunRagh
Category:

less

Transcript and Presenter's Notes

Title: Y! Mail Application Development Platform


1
Y! Mail Application Development Platform

Open Hack day 14th Feb 2009
2
Agenda
  • An Introduction
  • Application Scope
  • Becoming a OpenMail hacker
  • What is a View?
  • Application Configuration
  • Building your first OpenMail application
  • Available APIs
  • Reference

3
Introduction
  • It is a platform for developing applications that
    can work on top of users Inbox
  • Also called Yahoo! Mail Development Platform
  • Can convert 'Inbox' to a More Smarter Inbox'
    through applications providing rich functionality
  • Ability to share applications with others

4
Application Scope
  • Accessing Mail Features
  • Application can get access to users e-mail
    content (on a manual drag-drop basis only)?
  • Application can trigger a new mail 'Compose' (
    but cannot automatically send a mail)?
  • Accessing Yahoo! Calender
  • Application can Add a new event
  • Accessing users data on Yahoo! Network
  • Either using YQL or individual Yahoo! Property
    level webservice (e.g Mail, Answers etc)
  • Application Rendering Options
  • Tabbed View and Dialog View
  • Application Space
  • Each application gets a storage space of 5 mb for
    application components ( js, css, images etc)
  • Only available with All new Yahoo! Mail (not
    with Yahoo! Mail Classic)

5
Becoming a OpenMail Hacker
  • Collect a OpenMail hacker ID(one per team)? and
    test Yahoo! IDs from us
  • Login to the test Yahoo! ID
  • Register all your test Yahoo! ID under the hacker
    ID by logging into http//om1.mail.vip.mud.yahoo.c
    om/openmail/dev_activate.php
  • Start you development at http//om1.mail.vip.mud.
    yahoo.com/openmail/devtool.php

6
All About Open Mail Application
5
7
What is a View?
  • Each page of an open Mail Application is called a
    view
  • A view is simply HTML that can be rendered inside
    the Mail UI
  • An application can be collection of one/more views

8
Application Configuration
  • XML based application Config
  • For outlining application launch methods
  • E.g clicking on application, drag of a message on
    application etc
  • For configuring which and what type
    (Tabbed/Dialog) of view to trigger upon
    application launch

9
Building your first OpenMail application
  • Login to the developer tool and create a new
    Application
  • Goto 'Views' tab and create a new view, say
    'HelloMail'
  • Add some HTML to display 'Hello Mail' and save it
  • Login to mail with the test Yahoo! ID
  • Click on 'Add' near Applications section and add
    your application

10
Available APIs
  • Web Services
  • Request are sent through Adobe Flash
  • Requests have a crossdomain.xml file configured
    to accept '.yimg.com' domains
  • Use openmail.Application.callWebService method to
    make the call
  • More info at http//om0001.mail.mud.yahoo.com/om/d
    ocs/OpenapiPublic/Application.html
  • For generating Views
  • openmail.Application.openView()
  • openmail.Application.closeView()
  • More info at http//om0001.mail.mud.yahoo.com/om/d
    ocs/OpenapiPublic/Application.html

11
Available APIs contd...
  • Interacting with Mail
  • openmail.Mail.compose() - used to compose a new
    mail
  • openmail.Mail.search() - this method will
    initiate a keyword search inside mail
  • More info at http//om0001.mail.mud.yahoo.com/om/d
    ocs/OpenapiPublic/Mail.html
  • Accessing Application Data
  • openmail.Application.setData() persistently
    stores the given key-value pair object in the
    application space
  • Openmail.Application.getData() retrieve the
    values of the keys from the application space
  • More info at http//om0001.mail.mud.yahoo.com/om/d
    ocs/OpenapiPublic/Application.html

12
Available APIs contd...
  • Miscellaneous APIs
  • AuthService Class is available for making
    authorized web service calls.
  • Supports OAuth (2 and 3 legged) and BBAuth
  • openmail.Calendar.addEvent() method for adding a
    new event in Yahoo! Calender
  • For detailed information refer http//om0001.mail.
    mud.yahoo.com/om/docs/OpenapiPublic/

13
References
  • Open Mail Dev Tool - http//om1.mail.vip.mud.yahoo
    .com/openmail/devtool.php
  • API Documentation - http//om0001.mail.mud.yahoo.c
    om/om/docs/OpenapiPublic/
  • Complete Open Mail Documentation
    http//openhack2009.pbwiki.com/f/YMDP-documentatio
    n-020409.pdf
  • Registering test Yahoo! ID with hacker accounts
    http//om1.mail.vip.mud.yahoo.com/openmail/dev_act
    ivate.php
  • Other Yahoo! APIs http//developer.yahoo.com

14
Happy Hacking!!!Thank You!
Write a Comment
User Comments (0)
About PowerShow.com