Slide Web thế hệ mới - Chapter 2.3 ajax
Generating preview...
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.
Description
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
AI summary
- Document name
- Slide Web thế hệ mới - Chapter 2.3 ajax
- School / Course
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- Content
- 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.
- Table of contents
- 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
- Pages
- 20 pages
- Uploaded by
- lienhejb
Frequently asked questions
Is this document free?
Yes. “Slide Web thế hệ mới - Chapter 2.3 ajax” is free — just sign in and click Download to get the original file.
How many pages is this document?
The document has 20 pages, for the course Web thế hệ mới. You can preview it online before downloading.
Can I preview before downloading?
Yes. You can preview this document right on this page with the online reader, then decide whether to download.
Slide Web thế hệ mới - Chapter 2.3 ajax
Generating preview...
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
Read full document
- Document name
- Slide Web thế hệ mới - Chapter 2.3 ajax
- School / Course
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- Content
- 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.
- Table of contents
- 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
- Pages
- 20 pages
- Uploaded by
- lienhejb
Comments (0)
No comments yet. Be the first!
K5 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K2 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K3 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K4 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K1 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
Comments (0)
No comments yet. Be the first!