Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Web 2.0 & Ajax

othree
October 28, 2006

Web 2.0 & Ajax

COSCUP 2006

othree

October 28, 2006
Tweet

More Decks by othree

Other Decks in Programming

Transcript

  1. Web 8.0 Resurgence of The Web • A new and

    improved Web emerges and it looks almost exactly like the one that was predicted at the 1st Annual Web 8.0 Conference, which was held in 2007 http://www.webeightpointoh.com/
  2. WebԴ͜˙όٙҷᜊ • Reader to writer • blog • Web OS

    • Google Docs • Store data on Web • Gmail
  3. Ajax ݊ ... • Web Application Model • XHTML &

    CSS • DOM • XML & XSLT • XMLHttpRequest • JavaScript
  4. XMLHttpRequest • Microsoft Internet Explorer 5 @ 2000 • An

    AcriveX object • var req = new ActiveXObject(Microsoft.XMLHTTP); • var req = new ActiveXObject(Msxml2.XMLHTTP); http://en.wikipedia.org/wiki/Xmlhttprequest http://www.xml.com/pub/a/2005/02/09/xml-http-request.html
  5. XMLHttpRequest • Firefox, Safari, Opera ...etc after 2002 • req

    = new XMLHttpRequest(); • W3C Working Draft @ 2006 http://en.wikipedia.org/wiki/Xmlhttprequest http://www.xml.com/pub/a/2005/02/09/xml-http-request.html http://www.w3.org/TR/XMLHttpRequest/
  6. For PHP • ॆٙܘε • My-BIC • ௰ଉ @ digg.com

    • FirefoxeIEeOperaeSafari • Debugʧࠦ http://phpshot.org/blog/archives/2006/10/phpajax_1.html http://www.litfuel.net/mybic/
  7. For ...... • JavaScript • C++, C#, ColdFusion, Eiffel, .Net,

    Java, Lisp, Lotus, Perl, Python, Ruby, Smalltalk http://ajaxpatterns.org/Framework
  8. ɪɓࠫɨɓࠫၾࣣᜀ • windows.location • # (fragment identifier) • http://mail.othree.net/#inbox •

    http://mail.othree.net/#sent • Really Simple History framework (RSH) http://www.onjava.com/pub/a/onjava/2005/10/26/ajax-handling-bookmarks-and-back-button.html http://dev2dev.bea.com/pub/a/2006/01/ajax-back-button.html
  9. Screen Reader • ᜫԴ͜٫ٝ༸ၣࠫһอə • alert • location • focus

    • .... http://www.sitepoint.com/article/ajax-screenreaders-work
  10. JSONRequest • XML • ልᕏe༟ࣘඎɽe࿔ • JSON (JavaScript Object Notation)

    • ᔊఊe༟ࣘඎʃeҞ • ٜટԴ͜JSONЪމ༟ࣘෂ፩ࣸό http://www.json.org/JSONRequest.html