Slide Web thế hệ mới - Chapter 2.3 ajax
Slide giảng dạy về AJAX - kỹ thuật kết hợp Javascript và XML để tạo trang web tương tác, nhanh hơn mà không cần tải lại toàn bộ trang. Tài liệu trình bày định nghĩa, mục đích, công nghệ sử dụng, kiến trúc Client/Server và ví dụ minh họa chi tiết.
正在生成预览...
What is AJAX ? Asynchronous Javascript and XML. Not a stand-alone language or technology. It is a technique that combines a set of known technologies in order to create faster and more user friendly web pages. It is a client side technology. Purpose of AJAX Prevents unnecessary reloading of a page. When we submit a form, although most of the page remains the same, whole page is reloaded from the server. This causes very long waiting times and waste of bandwidth. AJAX aims at loading only the necessary innformation, and making only the necessary changes on the current page without reloading the whole page. Technologies Used AJAX uses: Javascript (for altering the page) XML (for information exchange) ASP or JSP (server side) Simple Processing AJAX is based on Javascript, and the main functionality is to access the web server inside the Javascript code. We access to the server using special objects; we send data and retrieve data. When user initiates an event, a javascript function is called which accesses server using the objects. The received information is shown to the user by means of the Javascript’s functions. Example We want to input data into a textbox. We want the textbox to have intellisense property; guess entries according to input. http://www.w3schools.com/ajax/ajax_example.asp Only the ‘span’ part of the html code is changed. Data Exchange in AJAX In AJAX: Example(2) Another example: http://www.w3schools.com/ajax/ajax_database.asp Therefore, by using AJAX, unnecessary exchange of data is prevented, web pages become: More interactive Faster More user friendly History of AJAX Starts with web pages Static web pages Static html page is loaded No interaction with user Dynamic web pages Html page is generated dynamically Interaction with user Becomes slower as functionality increases Speed becomes untolerable, so AJAX has been born Alternative Technologies Not a technology
… 下载原始文件以阅读完整文档。
- 文档名称
- Slide Web thế hệ mới - Chapter 2.3 ajax
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- 内容
- AJAX là kỹ thuật kết hợp Javascript và XML để tạo trang web nhanh, tương tác, tránh tải lại toàn bộ trang. Nó sử dụng Javascript để gọi máy chủ, trao đổi dữ liệu (thường là XML) và cập nhật giao diện.
- 目录
- What is AJAX ?
- Purpose of AJAX
- Technologies Used
- Simple Processing
- Example
- Data Exchange in AJAX
- Example(2)
- History of AJAX
- Alternative Technologies
- Structure of System
- C/S Processes
- Examination of Sample
- Html Code of Example
- JavaScript of Example
- ASP Code of Exam
- 页数
- 20 页
- 上传者
- lienhejb
常见问题
此文档免费吗?
是的。“Slide Web thế hệ mới - Chapter 2.3 ajax”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 20 页,适用于课程 Web thế hệ mới。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。

评论 (0)
暂无评论。快来抢沙发吧!