Уровень 0 · материалов: 9
В кластер входят материалы по технической реализации и оптимизации асинхронных HTTP-запросов в веб-браузере с использованием JavaScript и сопутствующих библиотек.
Общие признаки: AJAX, XMLHttpRequest, Fetch API, кросс-доменные запросы, взаимодействие с сервером через JS
Группа выше: Асинхронность в JavaScript
Смысл: The main idea is to demystify AJAX by explaining its conceptual foundation and providing a practical technical guide on how to implement asynchronous server communication using the XMLHttpRequest object in a cross-browser manner.
A beginner's guide to AJAX explaining how to use XMLHttpRequest for asynchronous data exchange between a client and a server without reloading the page.
Смысл: The main idea of the text is to provide a comprehensive, beginner-friendly guide to performing asynchronous server requests using the jQuery library, covering everything from simple HTML loading to complex cross-domain JSONP requests and event management.
A technical guide explaining how to use jQuery's AJAX methods, including $.ajax, $.get, $.post, and JSONP, to create dynamic web pages without full reloads.
Смысл: The main idea of the text is to provide a structured technical reference (cheat sheet) for developers to quickly learn and implement AJAX requests using jQuery, covering everything from basic syntax to advanced configuration and file uploading.
A comprehensive technical guide and cheat sheet for performing various types of AJAX requests using jQuery, including code examples for data transmission and error handling.
Смысл: The main idea is to provide a practical, cross-browser solution for overcoming the Same-Origin Policy in AJAX requests using the easyXDM library and integrating it with jQuery.
The author explores various cross-domain request methods and recommends the easyXDM library as a flexible, cross-browser solution for implementing AJAX across different domains.
Смысл: The text aims to teach developers how the web communicates via HTTP and how to manage these communications in JavaScript using XHR and Promises, emphasizing a move toward asynchronous, resource-oriented architecture and secure data transmission.
A detailed guide on the HTTP protocol and its JavaScript implementation, covering everything from basic requests and XHR to advanced asynchronous patterns using Promises and HTTPS security.
Смысл: The main idea of the text is to educate web developers on the standardized features of XMLHttpRequest Level 2, specifically focusing on binary data handling and cross-domain requests to replace obsolete and unstable workarounds.
A technical guide on using XMLHttpRequest2 to handle binary data, upload files via FormData, and perform cross-domain requests using CORS.
Смысл: The text explains the transition from using hacks like JSONP and Flash to using the standardized Cross-Origin Resource Sharing (CORS) mechanism for making cross-domain AJAX requests.
The author explains that modern browsers support cross-domain AJAX requests through the CORS mechanism, replacing older workarounds like JSONP and Flash.
Смысл: The main idea is to introduce developers to the Fetch API as a superior, Promise-based alternative to XMLHttpRequest for making network requests in JavaScript, while explaining its core functionality, configuration options, and security constraints.
A technical guide explaining how to use the Promise-based Fetch API to replace XMLHttpRequest for more efficient and cleaner asynchronous network requests in JavaScript.
Смысл: The main idea is that the standard `fetch` API, while convenient, hides significant overhead related to network protocols, serialization, and event-loop blocking. By understanding the underlying mechanics of TCP, TLS, HTTP versions, and JavaScript's single-threaded nature, developers can implement specific optimizations to drastically reduce latency and CPU usage.
A technical deep-dive into optimizing `fetch` by addressing TCP/TLS overhead, event-loop blocking, CORS preflights, and serialization bottlenecks.