rest/ahah: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
= AHAH: Asychronous HTML over HTTP =
= AHAH: Asychronous HTML over HTTP =


AHAH is a very simple technique for dynamically updating web pages using JavaScript. It involves using XMLHTTPRequest to retrieve HTML fragments which are then inserted directly into the web page, whence they can be styled using CSS.
AHAH is a very simple technique for dynamically updating web pages using [http://en.wikipedia.org/wiki/JavaScript JavaScript]. It involves using [http://en.wikipedia.org/wiki/XMLHTTP XMLHTTPRequest] to retrieve [http://en.wikipedia.org/wiki/HTML (X)HTML] fragments which are then inserted directly into the web page, whence they can be styled using [http://en.wikipedia.org/wiki/Cascading_Style_Sheets CSS].
 
== Contributors ==
* [http://www.loudthinking.com/ David Hansson]
* [http://epeus.blogspot.com/ Kevin Marks]
* [http://www.opendarwin.org/~drernie/ Ernest Prabhakar]
 
== Relation to AJAX ==
== Relation to AJAX ==


AHAH is intended to be a massive simplification of what is commonly called [http://en.wikipedia.org/wiki/Ajax_%28programming%29 AJAX]: "Asynchronous JavaScript and XML."
AHAH is intended to be a much simpler way to do [http://en.wikipedia.org/wiki/Web_development web development] than what is commonly called [http://en.wikipedia.org/wiki/Ajax_%28programming%29 AJAX]: "Asynchronous JavaScript and XML." Strictly speaking, AHAH can be considered a subset of AJAX, since (X)HTML is just a special kind of XML  However, it is a subset with some very useful properties:
 




Line 12: Line 18:
== History ==
== History ==


AHAH as a programming technique appears to have been originally invented by Kevin Marks under the name JAH (Just Asynchronous HTML).   
AHAH as a formal technique appears to have been introduced by Kevin Marks on May 12, 2005 under the name [http://epeus.blogspot.com/2005_05_01_epeus_archive.html#111588374981985824 JAH]: "Just Asynchronous HTML", where it was also used in a [http://homepage.mac.com/kevinmarks/staticjah.html simple example].  The term "AHAH" was proposed by Ernest Prabhakar during the 2005 Web 2.0 conference, and later adopted as part of the REST-Enabled XHTML (REX) microformat for web services.
 
David Hansson had independently discovered the exact same concept, and in fact had already submitted an abstract about it for O'Reilly's 2006 E-Tech conference when he encountered the work done by Marks and Prabhakar.  He had not however named the technique, and quickly agreed to adopt the AHAH monikerThe same concept has no doubt been independently discovered by many other individuals, but these three are probably the first to make a sustained attempt to promote it as a formal technique.


== Implementations ==
== Implementations ==


* There is some talk of directly supporting AHAH in Ruby on Rails using 'partials.'
* There is some talk of directly supporting AHAH in Ruby on Rails using 'partials.'

Revision as of 23:21, 4 November 2005

AHAH: Asychronous HTML over HTTP

AHAH is a very simple technique for dynamically updating web pages using JavaScript. It involves using XMLHTTPRequest to retrieve (X)HTML fragments which are then inserted directly into the web page, whence they can be styled using CSS.

Contributors

Relation to AJAX

AHAH is intended to be a much simpler way to do web development than what is commonly called AJAX: "Asynchronous JavaScript and XML." Strictly speaking, AHAH can be considered a subset of AJAX, since (X)HTML is just a special kind of XML However, it is a subset with some very useful properties:


Source Code

History

AHAH as a formal technique appears to have been introduced by Kevin Marks on May 12, 2005 under the name JAH: "Just Asynchronous HTML", where it was also used in a simple example. The term "AHAH" was proposed by Ernest Prabhakar during the 2005 Web 2.0 conference, and later adopted as part of the REST-Enabled XHTML (REX) microformat for web services.

David Hansson had independently discovered the exact same concept, and in fact had already submitted an abstract about it for O'Reilly's 2006 E-Tech conference when he encountered the work done by Marks and Prabhakar. He had not however named the technique, and quickly agreed to adopt the AHAH moniker. The same concept has no doubt been independently discovered by many other individuals, but these three are probably the first to make a sustained attempt to promote it as a formal technique.

Implementations

  • There is some talk of directly supporting AHAH in Ruby on Rails using 'partials.'