- 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.
- Photoshop+Camera Raw風光、人文、城市、星空攝影后期技法(全彩)
- AI繪畫教程:Midjourney使用方法與技巧從入門到精通
- Photoshop CC 2018實用教程
- Protel DXP 2004 SP2原理圖與PCB設計(第4版)
- Photoshop CC超級學習手冊
- SolidWorks 2008機械設計一冊通
- ADOBE FLASH PROFESSIONAL CS6 標準培訓教材
- 圖像處理中的數學修煉(第2版)
- IT Inventory and Resource Management with OCS Inventory NG 1.02
- 邊做邊學:平面廣告設計與制作(Photoshop 2020+Illustrator 2020·第3版·微課版)
- Django 1.0 Template Development
- Altium Designer 21 PCB設計官方指南(高級實戰)
- 企業虛擬化實戰:VMware篇
- 中文版CorelDRAW X7基礎培訓教程
- JBoss Drools Business Rules