• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web application apis
 

Web application apis

on

  • 733 views

Web application apis

Web application apis

Statistics

Views

Total Views
733
Views on SlideShare
733
Embed Views
0

Actions

Likes
3
Downloads
0
Comments
1

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1 previous next

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • 20110519_HTML5 - wwb Application APIs
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Web application apis Web application apis Presentation Transcript

    • Web application APIs
      chaehwan.li@gmail.com
    • Reference URL
      Latest Published Version:
      http://www.w3.org/TR/html5/webappapis.html#webappapis
      Latest Editor's Draft:
      http://dev.w3.org/html5/spec/webappapis.html#webappapis
    • Web developer and implementor
      Web developer view
      Scripting
      Events
      Base64 utility methods
      Timers
      User prompts
      System state and capabilities: the Navigator object
      Implementorview
      Enabling and disabling scripting
      Processing model
      Event loops
      The javascript: URL scheme 
    • Scripting
      Script는 web page 작성자가 자신의 문서와 interaction을 하기 위한executable code이다.
      mechanisms
      Script element
      inline javascript: URLs
      Event handler : addEventListener()
      XBL or SVG
    • Events
      Event handlers
      Event handlers on elements, document objects, and window objects
    • Base64 utility methods
      64개의 문자로 모든 8bit 문자를 표현
      “A-Z”,”a-z”,”0-9”,”+”,”/”,”=“
      only ascii text만을 이용해서 데이터를 encoding 할 수 있음.
      Unicode string
      atob()
      btoa()
    • Timers
      methods
      setTimeout()
      clearTimeout()
      setInterval()
      clearInterval()
    • User prompts
      Simple dialogs
      prompt(), alert(), confirm()
      Printing
      print()
      beforeprint / afterprint event
      Dialogs implemented using separate documents
      showModalDialog()
    • System state and capabilities: the Navigator object - 1/3
      represents the identity and state of the user agent
      Client identification
      appName(), appVersion(), platform(), userAgent()
      Custom scheme and content handlers
      registerProtocolHandler(scheme, url, title)
      registerContentHandler(mimeType, url, title)
    • System state and capabilities: the Navigator object - 2/3
      Security and privacy
      Hijacking all web usage
      Hijacking defaults
      Registration spamming
      Misleading titles
      Hostile handler metadata
      Leaking intranet urls
      Leaking secure urls
      Leaking credentials
    • System state and capabilities: the Navigator object - 3/3
      External interface
      AddSearchProvider()
      IsSearchProviderInstalled()
    • Example sites
      http://help.dottoro.com/ljvtnmli.php
      event list 비교
      html4 : http://www.w3schools.com/tags/ref_eventattributes.asp ( DOM Event level2 일부 포함)
      html5 : http://help.dottoro.com/larrqqck.php