Tagged articles
AJAX
72 articles · Page 1 of 1
The article explains why front‑end/back‑end separation is needed, outlines the challenges of the MVC era, describes the SPA‑based separation model, and provides a detailed, versioned interface specification—including request/response formats, mock server workflow, and special field rules—to streamline collaborative development.
AJAXAPI DesignJSON
0 likes · 11 min read

This article compares AJAX and the modern Fetch API, detailing their origins, core principles, code examples, browser compatibility, progress monitoring, cancellation, error handling, and performance considerations, and offers practical guidance on choosing the right technique for different project scenarios.
AJAXAsynchronous RequestsFetch API
0 likes · 10 min read

This guide explains how to add purchase quantity limits to a PHP‑based online store by designing a stock field in the database, updating product detail, cart, and order pages, using Ajax for dynamic updates, and ensuring inventory consistency throughout the checkout process.
AJAXe-commercequantity limit
0 likes · 4 min read

This step‑by‑step guide shows how to register a Baidu Maps developer account, create a PHP script that loads the BaiduMapAPI library, build a simple HTML page with a map container, retrieve nearby points of interest via the API, and display them using Ajax and the browser's geolocation.
AJAXBaidu Maps APIPHP
0 likes · 6 min read

This tutorial walks you through registering a Baidu developer account, creating a PHP script, building a simple front‑end page, fetching nearby points of interest via the Baidu Maps API, and using Ajax to display the results on a map for enhanced navigation.
AJAXBaidu Maps APIPHP
0 likes · 6 min read

This tutorial shows how to integrate HTMX into Spring Boot 3 projects to build SPA‑like pages without writing JavaScript, covering environment setup, AJAX requests, debounced search, multi‑form queries, HTML fragment rendering, and Server‑Sent Events with full code examples.
AJAXHTMXJava
0 likes · 12 min read

This article compares the traditional XMLHttpRequest‑based Ajax approach with the modern fetch API, highlighting fetch's Promise‑based syntax, streamlined configuration, flexible response handling, abort capabilities, and important considerations for cookies, error handling, and timeouts.
AJAXFetch APIHTTP requests
0 likes · 5 min read

This article explains the browser same‑origin policy, demonstrates a CORS problem using two servers with an AJAX request, and provides a complete Nginx configuration—including add_header directives—to enable cross‑origin access and resolve the error.
AJAXCORSCross-Origin
0 likes · 5 min read

This tutorial explains step-by-step how to register a Baidu Maps developer account, set up a PHP script, create an HTML page with a map container, retrieve geographic coordinates via JavaScript, call the Baidu Maps API to fetch nearby points of interest, and render them on the page.
AJAXBaidu Maps APIPHP
0 likes · 6 min read

This article explains how PHP can be integrated with front‑end technologies such as server‑side rendering, client‑side rendering, AJAX, and APIs, outlines key concepts and tools, and provides a step‑by‑step tutorial for building a simple blog application using PHP and React.
AJAXAPIFrontend Development
0 likes · 15 min read

This article explains how to implement product purchase quantity limits in a PHP‑based online store, covering database schema changes, modifications to product detail, cart, and checkout pages, Ajax‑driven updates, inventory checks, and order management to prevent overselling and improve user experience.
AJAXBackendInventory
0 likes · 4 min read

This tutorial explains step‑by‑step how to register a Baidu Maps developer account, create a PHP script, build a simple HTML page, retrieve geographic coordinates via Ajax, call the Baidu Maps API to fetch surrounding POIs, and render them on the map for a web project.
AJAXPOIbaidu-maps
0 likes · 6 min read

HTMX offers a lightweight, HTML‑attribute‑driven approach that adds AJAX, WebSocket and server‑sent event interactivity without JavaScript, making it ideal for simple pages, while React provides a full‑featured, component‑based JavaScript library with a steep learning curve, extensive ecosystem, and superior scalability for complex, state‑driven applications.
AJAXHTMLHTMX
0 likes · 17 min read

This article explains how to implement product purchase quantity limits in a PHP‑based online store by designing a stock field in the database, updating product detail, cart, and order pages, using Ajax for dynamic updates, and ensuring inventory consistency to improve user experience and operational efficiency.
AJAXInventorypurchase-limit
0 likes · 4 min read

This guide explains AJAX as an asynchronous JavaScript and XML technique that enables seamless client‑server communication with PHP, providing step‑by‑step examples and key concepts for building dynamic, responsive web applications.
AJAXJavaScriptPHP
0 likes · 3 min read

This article introduces htmx, a lightweight library that adds Ajax, CSS transitions, WebSockets, and server‑sent events to plain HTML through simple hx‑ attributes, enabling features like lazy loading, form validation, and view transitions without writing JavaScript, and works with any back‑end.
AJAXCSS transitionsFront-end
0 likes · 18 min read

This article explains how to implement a phone‑verification login system using PHP, covering front‑end page design, AJAX‑based code sending, and server‑side validation with example code snippets for HTML, JavaScript, and PHP integration.
AJAXPHPPhone Verification
0 likes · 6 min read

This article compares four common web data‑reporting techniques—Ajax, Image, Beacon, and fetch—examining their characteristics, advantages, disadvantages, experimental reliability, security, and user‑experience trade‑offs, and concludes that no single method is perfect but each fits different business scenarios.
AJAXImagebeacon
0 likes · 9 min read

This tutorial explains how to create a basic real-time chat application by combining PHP backend logic, MySQL storage, AJAX polling, and WebSocket communication to enable instant message exchange in web browsers.
AJAXMySQLPHP
0 likes · 6 min read

The article explains how to use Aspect‑Oriented Programming to globally intercept and rewrite Ajax and JSONP requests—both native and framework based—by extending Function.prototype, overriding DOM methods, and employing ajax‑hook and Axios interceptors, culminating in a runnable demo that redirects traffic from a‑domain to b‑domain.
AJAXAOPAxios
0 likes · 19 min read

This article explains what web crawlers are, compares static and dynamic web pages, outlines their characteristics, advantages, and challenges, and provides practical tips for extracting data from both types of pages using tools like browser developer consoles and packet‑capture utilities.
AJAXDynamic PagesHTTP
0 likes · 5 min read

This article provides PHP code snippets to determine the HTTP request method—such as GET, POST, PUT, DELETE, PATCH—and to check for AJAX requests, offering a quick reference for developers implementing RESTful APIs in a backend environment.
AJAXBackendPHP
0 likes · 2 min read


HomeTechAug 16, 2022 · Information Security
The article explains why browsers like Chrome 94 block cross‑origin requests from public contexts to private‑network resources, illustrates the issue with a reproducible example, analyzes the underlying policy changes, and provides practical solutions and configuration steps to mitigate the problem.
AJAXCORSChrome
0 likes · 6 min read

This tutorial explains how to integrate the jSignature library with jQuery on the front end and PHP on the back end to provide a real‑time mobile signature feature, covering library download, HTML markup, JavaScript initialization, reset, AJAX submission, and server‑side base64 image handling.
AJAXJavaScriptjSignature
0 likes · 5 min read

This tutorial demonstrates how to use Python to scrape Weibo for the most common National Day leave reasons, extract comment data via Ajax requests, store it in CSV files, and create visualizations such as top‑liked users and word‑clouds to reveal popular motifs.
AJAXWeibodata visualization
0 likes · 6 min read

This course introduces AJAX (Asynchronous JavaScript and XML), explaining how it enables browsers to fetch data without page refresh by sending asynchronous requests, and clarifies that AJAX is a technique combining existing web standards rather than a new programming language.
AJAXCourseJavaScript
0 likes · 1 min read

The article explains cross‑origin restrictions in web development, distinguishes broad and narrow cross‑origin, outlines common scenarios, and compares solutions such as JSONP, CORS, Flash, server proxies, and front‑end techniques like document.domain, hash, window.name, and postMessage, highlighting each method’s pros and cons.
AJAXCORSCross-Origin
0 likes · 20 min read

This article explains why front‑end and back‑end should be separated, describes the evolution from MVC to SPA, outlines responsibilities, development workflow, and provides a detailed version‑1.0.0 API contract including request/response formats, pagination, special data types, and mock‑server usage.
AJAXSPAfrontend
0 likes · 12 min read

This tutorial explains how to configure PHPMailer in a ThinkPHP project, set up SMTP credentials, create a reusable sendMail function, generate verification codes, and integrate a frontend form with AJAX to send password‑reset emails securely.
AJAXPHPMailerThinkPHP
0 likes · 7 min read

This tutorial explains how to integrate AJAX fetch calls with Django views for both GET and POST requests, covering header configuration, CSRF handling, JSON data exchange, and the updated method for detecting AJAX requests in Django 3.1 and later.
AJAXCSRFDjango
0 likes · 11 min read

This step‑by‑step guide shows how to log into Toutiao, locate the fan list via browser dev tools, capture the AJAX request URLs, decode Unicode nicknames, paginate through all pages, and save the results as JSON using Python.
AJAXJSONPython
0 likes · 6 min read

This article introduces the Laravel‑like‑comment package, outlines its features, and provides step‑by‑step instructions—including Composer installation, service provider registration, asset publishing, database migration, CSS/JS inclusion, user model configuration, and Blade directives for adding likes and comments—to integrate a full‑featured AJAX comment system into a Laravel application.
AJAXBackendBlade
0 likes · 5 min read

This article demonstrates how to build an automatic address recognition feature for user input by combining Laravel backend controllers, repository services, and jQuery AJAX calls to parse, validate, and populate name, mobile, and detailed address fields.
AJAXPHPRepository
0 likes · 10 min read

The article presents api-hook, a lightweight React‑based frontend utility that enables developers to intercept, modify, and mock AJAX requests directly in the browser, offering ready‑to‑use, low‑cost solutions for comprehensive API testing and debugging.
AJAXAPI HookAPI mocking
0 likes · 9 min read

This article explains the limits of HTTP keep-alive, compares Ajax polling and long‑polling techniques for server push, and then details how the WebSocket protocol establishes a full‑duplex connection through a handshake and data‑transfer phase.
AJAXHTTPKeep-Alive
0 likes · 7 min read

This tutorial explains how to analyze Meituan food page URLs, use browser developer tools to locate AJAX JSON responses, construct Python requests with proper headers, extract restaurant information via regular expressions, and save the results to a local file.
AJAXJSONPython
0 likes · 8 min read

This article demonstrates how to build a Python web scraper for Toutiao that leverages a multiprocessing pool, identifies AJAX endpoints, fetches JSON data, extracts titles and image URLs, handles Unicode encoding, and downloads images into organized folders.
AJAXPythonToutiao
0 likes · 13 min read

This guide explains how multipart/form-data enables sending JSON and binary data together, outlines its essential specifications, demonstrates front‑end FormData usage, and details Spring Boot back‑end handling with @RequestParam and @RequestPart annotations.
AJAXBackendFormData
0 likes · 4 min read

The article explains front‑end development as browser‑side code that renders HTML skeleton, CSS styling, and JavaScript interactivity, traces the full request‑to‑display lifecycle, recounts JavaScript’s history from 1995 to ES6, and surveys evolving paradigms such as Ajax, MVC, MVVM, SPA, SSR, and full‑stack Node.
AJAXJavaScriptMVC
0 likes · 17 min read

This article explains how to create a front‑end monitoring client that captures global JavaScript errors, tracks resource loading and page performance metrics, intercepts AJAX and fetch requests, gathers PV/UV statistics, and reports data using various strategies such as image beacons, POST, and IndexedDB storage.
AJAXIndexedDBbeacon
0 likes · 14 min read

The article explains JavaScript's single‑threaded, event‑loop based asynchronous model, demonstrates how setTimeout’s imprecise timing can cause unexpected behavior in a jQuery Ajax timeout scenario, and offers practical guidance to avoid relying on exact timer scheduling.
AJAXasyncevent-loop
0 likes · 8 min read

This article explains the fundamentals of AJAX, including its definition, the need for asynchronous communication, how form submissions work, the XMLHttpRequest object methods and properties, jQuery implementations, advantages, disadvantages, and typical application and non‑application scenarios, with complete code examples.
AJAXJavaScriptXMLHttpRequest
0 likes · 15 min read

This article explains the concept of AJAX, why asynchronous communication is needed, how to submit forms and handle server responses using raw XMLHttpRequest and jQuery, compares GET and POST methods, and outlines the benefits, drawbacks, and suitable scenarios for AJAX in web development.
AJAXJavaScriptXMLHttpRequest
0 likes · 12 min read

This article explains the design and implementation of a front‑end user behavior tracing system, covering common external network problems, the importance of collecting runtime environment, data, JS errors, and interaction logs, and detailing SDK data collection, reporting strategies, server processing, and query platform visualization.
AJAXIndexedDBUser Behavior Tracking
0 likes · 14 min read

This tutorial explains how to extract Meituan Takeout app comments by analyzing Ajax requests, constructing dynamic URLs, parsing JSON with regular expressions, and storing the results in text files and MongoDB using Python.
AJAXMeituanMongoDB
0 likes · 7 min read

This article explains common mock server approaches, their limitations, and introduces a browser‑based HTTP request interception technique that enables seamless front‑end proxying, preserves authentication cookies, and works across browsers without modifying backend code.
AJAXHTTP interceptionfetch
0 likes · 11 min read

The article explains step‑by‑step what occurs when a user types a URL, covering DNS resolution, browser caching, HTTP requests and redirects, server processing, HTML generation, resource fetching, compression, and asynchronous AJAX communication, using Facebook as a concrete example.
AJAXDNSHTTP
0 likes · 15 min read

This article traces the explosive rise of Ajax, the browser wars that drove compatibility hacks, the myriad challenges front‑end engineers face today, and how modularization, bundling, automation, and Docker have transformed web development into a highly engineered, scalable practice.
AJAXDockerFront-end
0 likes · 10 min read

This guide walks you through analyzing Meituan Takeout's comment API, constructing the correct AJAX request URLs, extracting review data with regular expressions, looping through pages, and storing the results in files or a database, complete with code snippets and screenshots.
AJAXMeituandata-extraction
0 likes · 4 min read

This article walks through the complete lifecycle of a web request—from entering a URL, DNS resolution, and HTTP communication, to server processing, HTML delivery, resource fetching, and AJAX interactions—explaining each step with diagrams and code examples.
AJAXDNSHTTP
0 likes · 16 min read

This article explains the principles of cross-origin restrictions, analyzes various client‑side and server‑side solutions such as disabling browser security, using script tags, JSONP, and especially CORS with Spring Boot filters, annotations, and proxy configurations, providing complete code examples and practical deployment tips.
AJAXCORSCross-Origin
0 likes · 15 min read

This guide shows how to use PHP's cURL functions to post data to a URL and how to submit a form via jQuery Form's ajaxSubmit, including CORS header setup for cross‑origin requests, with complete code examples for both server‑side and client‑side implementations.
AJAXCORSPHP
0 likes · 3 min read

From legacy JSP‑based MVC to semi‑separated Ajax‑driven pages and finally fully separated front‑end architectures using Node.js, this article examines each stage’s structure, advantages, and drawbacks, arguing that small‑to‑mid‑size companies must weigh resource constraints, performance, and maintenance before fully embracing front‑end separation.
AJAXMVCNode.js
0 likes · 12 min read


ITPUBJun 16, 2018 · Frontend Development
The article walks through the evolution of front‑end development from traditional JSP/Servlet MVC through semi‑separated Ajax‑driven pages to fully separated front‑back architectures, highlighting each stage’s structure, advantages, drawbacks, and the practical considerations that make full separation risky for small‑to‑medium projects.
AJAXMVCNode.js
0 likes · 12 min read

This article explains what CORS is, why browsers enforce same‑origin policies, details the essential HTTP headers involved, and offers practical solutions—including server‑side configuration, temporary browser work‑arounds, and proxy setups—to resolve cross‑origin request errors.
AJAXCORSCross-Origin
0 likes · 7 min read

This article compares the traditional XMLHttpRequest‑based AJAX approach with the modern Fetch API, highlighting its Promise‑based design, cleaner syntax, better compatibility strategies, common pitfalls, and practical usage tips for frontend developers.
AJAXFetch APIJavaScript
0 likes · 4 min read

This article walks through the evolution of AJAX, explains how XMLHttpRequest works, introduces JSON as a lightweight data format, and shows how to handle cross‑origin requests with CORS, including practical code examples and a simple jQuery wrapper.
AJAXCORSJSON
0 likes · 11 min read


21CTODec 17, 2017 · Frontend Development
This tutorial explains how PJAX combines HTML5 pushState with Ajax to replace page content without full reloads, dramatically speeding up website navigation, and provides step‑by‑step installation, example code, and performance benefits for modern front‑end development.
AJAXPJAXWeb Performance
0 likes · 9 min read


21CTOOct 14, 2017 · Frontend Development
This tutorial explains the concept of cross‑origin requests, demonstrates practical AJAX calls between two Node.js servers on different ports, and walks through three major solutions—standard AJAX, JSONP, and CORS—while also covering alternative techniques like window.name and postMessage.
AJAXCORSCross-Origin
0 likes · 12 min read

This article traces the historical evolution of front‑end development, examining early Web 1.0 JSP/ASP architectures, the rise of AJAX, and the progression through MVC, MVP, MVVM, and Flux/Redux patterns, highlighting their benefits, drawbacks, and impact on modern front‑end engineering.
AJAXFrameworksMVC
0 likes · 11 min read

This guide walks you through analyzing the Meituan Waimai app's comment section, uncovering the AJAX requests that load data, constructing the proper URL pattern, looping through pages to fetch JSON, and storing the results in files or a database for further analysis.
AJAXJavaScriptMeituan
0 likes · 5 min read

This guide introduces Bootstrap Table, a jQuery‑based plugin for enhancing HTML tables, covering basic initialization with local data, server‑side loading via AJAX, detailed parameter explanations, common events, and frequently used methods, providing code examples for each scenario.
AJAXHTMLJavaScript
0 likes · 7 min read

This article chronicles JavaScript’s journey from its humble origins in Netscape’s browser to becoming the dominant language for client‑side interactivity, asynchronous communication, JSON data exchange, and even server‑side development with Node.js, highlighting key milestones, technical concepts, and code examples.
AJAXDOMJSON
0 likes · 13 min read

This article walks through the evolution of front‑end communication techniques—from classic AJAX to JSONP, Server‑Sent Events, and WebSocket—explaining their principles, differences, and providing concise code demos for each method.
AJAXFrontend DevelopmentNode.js
0 likes · 14 min read

This article reviews various front‑end data exchange techniques—including HTTP methods, form encodings, AJAX, fetch, Server‑Sent Events, WebSocket, postMessage, and Web Workers—explaining when to use each, providing practical examples and code snippets for real‑world scenarios.
AJAXHTTPPostMessage
0 likes · 16 min read

This comprehensive guide walks beginners through JavaScript basics, DOM interaction, debugging, experiments, advanced concepts, frameworks, design patterns, and resources, providing a clear roadmap to become a proficient front‑end developer.
AJAXDOMFrameworks
0 likes · 18 min read

This article reviews four common approaches—Root Component, Container Component, Redux Async Actions, and Relay—for handling AJAX requests in React, explains when each method is appropriate, and warns against two anti‑patterns, helping developers choose the most suitable strategy for their project's size and architecture.
AJAXBest PracticesFetch API
0 likes · 8 min read

To improve page load speed while fetching additional data via AJAX, developers can choose between parallel and serial requests and handle concurrency using techniques such as sequential execution, callback counting, non‑blocking loops, or jQuery Deferred objects, each with its own trade‑offs.
AJAXAsync ProgrammingConcurrency
0 likes · 3 min read


21CTOOct 17, 2015 · Fundamentals
This article walks through every step that occurs when you type a URL— from the browser’s DNS lookup and HTTP request, through server processing, redirects, HTML rendering, and subsequent resource and AJAX calls—revealing how browsers, servers, and CDNs cooperate to deliver a web page.
AJAXDNSHTTP
0 likes · 15 min read

The article explains why high‑traffic web pages need robust fallback and disaster‑recovery mechanisms, outlines common failure scenarios, and presents practical solutions such as request retries, local caching, backup interfaces, and hard‑coded data with illustrative JavaScript code.
AJAXdisaster recoveryfallback
0 likes · 10 min read


21CTOAug 14, 2015 · Frontend Development
Tracing the evolution of web technologies—from early AJAX challenges and jQuery’s rise, through Chrome’s dominance, GitHub’s impact, OAuth, JSON, and modern frameworks like Node.js and Bootstrap—the article reflects on how these tools reshaped frontend development and the broader software landscape.
AJAXFrontend DevelopmentNode.js
0 likes · 14 min read

The article explains how applying asynchronous programming and the actor model to browser‑client interactions—using Ajax polling, read‑write separation, and non‑blocking request patterns—can improve throughput, avoid timeouts, and enable independent optimization of read and write services in high‑concurrency web applications.
AJAXactor modelasynchronous
0 likes · 7 min read
