CS 2205 WEB Programming 1 Discussion Unit 6 PDF

Title CS 2205 WEB Programming 1 Discussion Unit 6
Author Josh Randy
Course Web Programming 1 (proctored course)
Institution University of the People
Pages 2
File Size 55.9 KB
File Type PDF
Total Downloads 71
Total Views 145

Summary

Practical and Solution to Discussion Post, Written Assignment and Learning Journal for Computer Science CS2205 Web Programming Course....


Description

What is AJAX? What are the main characteristics of this technology? What are the existing standards that AJAX is based on? Explain how AJAX works.

Ajax is Asynchronous JavaScript and XML, simply put as AJAX. It is responsible for building responsible, real-time application with a robust functionality that supports JavScript, CSS, HTML and many other frameworks in the ecosystem. Existing standards of AJAX includes the real-time data exchange through asynchronous approach, and also based on JavaScript, XML, JavaScript, HTML and new technology framework in the ecosystem for data exchange across web browsers.

Some of the characteristics of AJAX includes: 1. AJAX uses XHTML for content, CSS for presentation, along with Document Object Model (DOM) and JavaScript for dynamic content display. (Tutorials Point, 2019) 2. With AJAX, when you hit submit, JavaScript will make a request to the server, interpret the results, and update the current screen (asynchronous). In the purest sense, the user would never know that anything was even transmitted to the server. Meanwhile, conventional web applications transmit information to and from the sever using synchronous requests. It means you fill out a form, hit submit, and get directed to a new page with new information from the server. (Tutorials Point, 2019) 3. XML is commonly used as the format for receiving server data, although any format, including plain text (e.g. JSON), can be used. (Tutorials Point, 2019) 4. AJAX is a web browser technology independent of web server software. (Tutorials Point, 2019) 5. A user can continue to use the application while the client program requests information from the server in the background. (Tutorials Point, 2019) 6. Intuitive and natural user interaction. Clicking is not required, mouse movement is a sufficient event trigger. (Tutorials Point, 2019)

To explain how AJAX works, the browser is been connected to the internet and when you make a search through the search engine console or access any resources from the world wide web, let say you want to login to your University of the People student portal. The browser then creates an XMLHttpRequest which is been sent to the server, the server processes the HTTPRequest then immediately creates a response and sends the data back to the browser for the user to see what was requested. The technology that handles the request that was returned will be done through JavaScript or any server-side scripting language. The below diagram is a simple illustration of how request is been handled using JavaScript server-side scripting.

References: W3Schools (2019). How AJAX works Retrieved from https://www.w3schools.com/whatis/whatis_ajax.asp Tutorials Point (2019). What is AJAX? Retrieved from https://www.tutorialspoint.com/ajax/what_is_ajax.htm...


Similar Free PDFs