Tagged articles
Network Requests
12 articles · Page 1 of 1
This tutorial walks through building a full-featured HarmonyOS news module with category tabs, list rendering, custom pull-to-refresh and load-more logic using touch events and offset animations, network request encapsulation with Promise-based error handling, and a layered architecture separating view, viewmodel, and common utilities.
ArkTSHarmonyOSList Component
0 likes · 33 min read

This article explains how the PHP curl_multi_close() function releases resources allocated by curl_multi_init(), demonstrates its proper usage with a complete code example, and highlights why closing multi‑cURL handles is essential for efficient network request handling.
Network RequestsPHPcurl
0 likes · 3 min read

This comprehensive guide walks you through core Python techniques for handling files and directories, making HTTP requests, processing data, managing system resources, performing text manipulation, executing mathematical calculations, building simple web applications, and interacting with various databases, all illustrated with ready‑to‑run code snippets.
Network RequestsPythonSystem Management
0 likes · 27 min read

This article explains how the PHP curl library’s curl_multi_add_handle() function can combine multiple cURL handles into a single multi‑handle session, provides its syntax and parameters, and demonstrates its usage with a complete example that improves network request efficiency.
Network RequestsPHPbackend development
0 likes · 4 min read

This article explains how PHP's curl_multi_add_handle() function can add multiple cURL handles to a single multi‑handle session, enabling efficient simultaneous network requests, with detailed syntax, parameters, and a complete example demonstrating initialization, execution, response retrieval, and cleanup.
BackendNetwork RequestsPHP
0 likes · 3 min read

This article demonstrates how to use the ComposeHooks library to create Redux‑like global state stores, expose them via ReduxProvider, and handle network request lifecycles—including loading, success, and error—through useSelector, useDispatchAsync, and a custom useFetch helper in Jetpack Compose.
AndroidKotlinNetwork Requests
0 likes · 9 min read

This article explains the purpose and proper usage of PHP's curl_multi_close() function, showing how it releases resources allocated by curl_multi_init() through a detailed example that creates, executes, and then cleanly closes multiple cURL sessions.
Network RequestsPHPcurl
0 likes · 3 min read

This article explains how WeChat Pay solved the fragmented iOS/Android implementations by building a C++‑based cross‑platform framework, introducing UseCase‑driven flow abstraction, a unified routing mechanism, disciplined network request handling, and standardized data passing, resulting in up to 45% code reduction and faster feature delivery.
C++Network RequestsRouting
0 likes · 17 min read

By converting Android network calls from callback‑based listeners to Kotlin coroutines, the code becomes sequential, eliminates duplicated UI‑state checks, centralizes loading handling, supports parallel requests with async/await, and integrates with lifecycleScope for automatic cancellation, greatly improving readability and safety.
AndroidAsync ProgrammingCoroutines
0 likes · 15 min read

This article explores three Python coroutine libraries - asyncio, gevent, and trio - providing 10 practical code examples demonstrating their use in asynchronous programming for tasks like IO operations, network requests, file handling, and more.
Asynchronous ProgrammingConcurrent ProgrammingCoroutines
0 likes · 5 min read


Aotu LabAug 25, 2020 · Frontend Development
This article walks through a systematic performance audit of the Jingxi Mini‑Program, identifies seven key penalty items—including excessive WXML nodes, oversized images, tiny tap targets, redundant network calls, and unbound data—and details concrete optimizations that reduced the audit score to a perfect 100.
AuditsNetwork RequestsWXML
0 likes · 11 min read

This article explains how React Native handles network requests differently from web browsers, describes the built‑in fetch, XMLHttpRequest, and WebSocket APIs, outlines debugging methods using proxies, Reactotron, and Chrome DevTools, and discusses strategies for sending binary data such as Base64 encoding and WebSocket support.
DebuggingNetwork RequestsReact Native
0 likes · 10 min read
