๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Web Development Beginner

What is AJAX?

A technique for making asynchronous HTTP requests from a web page without reloading the entire page.

AJAX (Asynchronous JavaScript and XML) enables dynamic page updates by fetching data from the server in the background. Originally using XMLHttpRequest, modern JavaScript uses the Fetch API: fetch('/api/data').then(r => r.json()).then(data => updateUI(data)).

AJAX revolutionized web development by enabling single-page-like experiences. Common uses include form submission without reload, infinite scrolling, auto-complete search, live notifications, and real-time dashboards. Despite the name, JSON has largely replaced XML as the data format.

Related Terms

Server-Sent Events
A server push technology that enables a server to send real-time updates to a browser over a single HTTP connection.
HTTP/2
The second major version of HTTP that improves performance through multiplexing, header compression, and server push.
Static Site Generator (SSG)
A tool that generates a complete static HTML website from templates and content at build time, requiring no server-side processing.
Service Worker
A JavaScript file that runs in the background, enabling offline support, push notifications, and background sync for web apps.
API (Application Programming Interface)
A set of rules and protocols that allows different software applications to communicate and exchange data.
SSR (Server-Side Rendering)
A technique where web pages are rendered on the server and sent as complete HTML to the browser, improving SEO and initial load time.
View All Web Development Terms โ†’