Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Hijax.

Hijax: Difference between revisions

From MoodleDocs
(remove HTML as link)
(Shifted to dev docs)
 
Line 1: Line 1:
'''Hijax''' is the name for the application of [[Progressive enhancement|progressive enhancement]] to [[AJAX]]. This allows the use of AJAX to increase [[Usability|usability]] and responsiveness without harming [[accessibility]] and can, as a side-effect, increase server side code quality. It is called Hijax because there is a standard HTML web page underneath but its normal communication with the server is ''highjacked'' and redirected to create the AJAX effects.
{{Moved_to_dev_docs}}
 
 
== The process ==
 
Implementing Hijax involves two steps (taken from [http://domscripting.com/blog/display/41]):
 
# First, build an old-fashioned website that uses hyperlinks and forms to pass information to the server. The server returns whole new pages with each request.
#Now, use JavaScript to intercept those links and form submissions and pass the information via XMLHttpRequest instead. You can then select which parts of the page need to be updated instead of updating the whole page.
 
Since Moodle has already completed the first step, and has a strong requirement to be accessible, Hijax is a highly appropriate methodology when enhancing Moodle with AJAX.
 
 
== See also ==
 
* [[Javascript]]
* [[AJAX]]
* [[Progressive enhancement]]
 
 
* [http://domscripting.com/blog/display/41 ''Hijax'' introduction blog post]
* [http://domscripting.com/presentations/xtech2006/ ''Hijax: Progressive Enhancement with Ajax'' presentation]
* [http://domscripting.com/book/ ''DOM Scripting'' book by originator of the Hijax concept]
 
[[Category:Developer]]
[[Category:Accessibility]]
[[Category:Javascript]]
[[Category:AJAX]]

Latest revision as of 07:22, 22 June 2011

This development related page is now located in the Dev docs.

See the Hijax page in the Dev docs.