- DWR Java AJAX Applications
- Sami Salkosuo
- 270字
- 2021-04-25 17:37:50
What is AJAX?
AJAX is the abbreviation for Asynchronous JavaScript and XML. This gives an almost comprehensive explanation of the technology, except that XML is not required. The term AJAX surfaced around February 2005 and was first used by Jesse James Garrett (http://www.adaptivepath.com/ideas/essays/archives/000385.php), long after the building blocks of AJAX, JavaScript and XML, were available and in wide use.
The principle idea of AJAX is in the word "Asynchronous". This feature enables rich a desktop-like user interface in the browser and enables interactive interfaces that can even replace traditional user interfaces. Communication between browser and server is done in the background. Moreover, as only the data is transferred between the browser and the server, AJAX applications are actually fast and responsive to users. The following figures display how a typical request-response application works (upper diagram), and how AJAX applications work compared to the request-response application (lower diagram).

The main component of AJAX technology is XmlHttpRequest
, which is a JavaScript object, first supported by Mozilla in 2002. The concept was originally developed by Microsoft in 1999 for Internet Explorer 5.0 and it was then called XMLHTTP
. The following link provides the details and history of XmlHttpRequest:
http://en.wikipedia.org/wiki/XMLHttpRequest.
XmlHttpRequest
is used to transfer data between client and server asynchronously. The following figure shows the AJAX sequence diagram and how XmlHttpRequest
is used:

AJAX is dealt with in detail in many books such as Head Rush Ajax, a "brain friendly guide" to AJAX and also on Internet sites. Further, the assumption is that most of you already know AJAX and you are reading this book for reasons other than just learning AJAX basics.
- Joomla! 1.5 Site Blueprints
- TArch 8.5天正建筑軟件標(biāo)準(zhǔn)教程
- Adobe After Effects CC 高手之路
- Adobe Photoshop 網(wǎng)頁(yè)設(shè)計(jì)與制作標(biāo)準(zhǔn)實(shí)訓(xùn)教程(CS5修訂版)
- Photoshop CC超級(jí)學(xué)習(xí)手冊(cè)
- Creo Parametric 5.0中文版從入門到精通
- 跟儲(chǔ)君老師學(xué)Excel極簡(jiǎn)思維
- Excel 2016入門與提高
- ADempiere 3.6 Cookbook
- UG NX 9.0中文版基礎(chǔ)與實(shí)例教程
- 剪映視頻后期剪輯零基礎(chǔ)入門到精通
- After Effects 2022從入門到精通
- Photoshop CS6平面設(shè)計(jì)實(shí)戰(zhàn)從入門到精通(經(jīng)典暢銷版)
- CINEMA 4D新手快速進(jìn)階實(shí)例教學(xué)
- 中文版Flash CC實(shí)例教程