Tag

callback

2 views collected around this technical thread.

php中文网 Courses
php中文网 Courses
Jul 8, 2024 · Backend Development

Using PHP's array_walk() Function: Syntax, Examples, and Advanced Usage

This article explains PHP's powerful array_walk() function, detailing its syntax, parameter roles, basic and advanced examples—including squaring numbers, summing values with userdata, and invoking class methods—while highlighting practical use‑cases for backend development.

Code ExamplePHParray_walk
0 likes · 5 min read
Using PHP's array_walk() Function: Syntax, Examples, and Advanced Usage
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 24, 2024 · Frontend Development

Implementing Concurrency Limits in JavaScript Using Promise, Callbacks, and RxJS

The article demonstrates how to control the number of simultaneous HTTP requests in JavaScript by presenting three implementation styles—Promise, callback, and RxJS—along with real‑world examples, code snippets, and a discussion of their advantages and drawbacks.

JavaScriptPromiseRxJS
0 likes · 13 min read
Implementing Concurrency Limits in JavaScript Using Promise, Callbacks, and RxJS
php中文网 Courses
php中文网 Courses
Feb 19, 2024 · Fundamentals

Understanding Callbacks, Anonymous Functions, and Closures in PHP

This article explains the concepts of callbacks, anonymous functions, and closures in PHP, providing definitions, practical examples, and demonstrating how to implement sorting with callback functions, create inline anonymous functions, and use closures to capture external variables, highlighting their benefits for code reuse and readability.

Anonymous FunctionClosurePHP
0 likes · 7 min read
Understanding Callbacks, Anonymous Functions, and Closures in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 4, 2024 · Backend Development

How to Orchestrate Parallel and Dependent Tasks with AsyncTool

This article introduces AsyncTool, a Java concurrency framework that enables flexible parallel, serial, dependent, and callback‑driven task orchestration, explains its core components (worker, callback, wrapper), and provides multiple code‑first examples illustrating complex workflow compositions.

JavaParallel Executionasync
0 likes · 9 min read
How to Orchestrate Parallel and Dependent Tasks with AsyncTool
php中文网 Courses
php中文网 Courses
Jan 26, 2024 · Backend Development

Using PHP's array_walk() Function: Syntax, Basic and Advanced Examples

This article explains PHP's array_walk() function, detailing its syntax, parameters, and demonstrating basic usage for element transformation, advanced techniques with userdata, and integration with class methods, while providing practical code examples and real‑world application scenarios.

PHParray_walkbackend
0 likes · 6 min read
Using PHP's array_walk() Function: Syntax, Basic and Advanced Examples
php中文网 Courses
php中文网 Courses
Jan 16, 2024 · Backend Development

Using PHP array_map() Function: Syntax, Parameters, and Practical Examples

This article explains the PHP array_map() function, its signature and parameters, and demonstrates how to use it with both named and anonymous callbacks to transform arrays, such as converting strings to uppercase and doubling numeric values.

PHPTutorialarray_map
0 likes · 4 min read
Using PHP array_map() Function: Syntax, Parameters, and Practical Examples
php中文网 Courses
php中文网 Courses
Jan 11, 2024 · Backend Development

Using PHP’s array_map() Function: Syntax, Parameters, and Practical Examples

This article explains PHP’s array_map() function, detailing its syntax, parameters, and return value, and provides clear examples using both named and anonymous callback functions to transform arrays, such as converting strings to uppercase and doubling numeric values.

PHParrayarray_map
0 likes · 5 min read
Using PHP’s array_map() Function: Syntax, Parameters, and Practical Examples
php中文网 Courses
php中文网 Courses
Jan 3, 2024 · Backend Development

PHP array_udiff() Function: Syntax, Parameters, Usage, and Example

array_udiff() is a PHP function that compares values of two or more arrays using a user-defined callback, returning the differences; this article explains its syntax, parameters, performance considerations, practical scenarios, and provides a complete code example demonstrating how to identify elements present in one array but not another.

Array ComparisonPHParray_udiff
0 likes · 3 min read
PHP array_udiff() Function: Syntax, Parameters, Usage, and Example
php中文网 Courses
php中文网 Courses
Nov 10, 2023 · Backend Development

Using PHP's array_map() Function: Syntax, Examples, and Summary

This article explains PHP's array_map() function, detailing its syntax, parameters, and usage through practical examples with both named and anonymous callbacks, demonstrating how to transform arrays efficiently and shows the resulting output for verification.

Code ExamplePHParray_map
0 likes · 5 min read
Using PHP's array_map() Function: Syntax, Examples, and Summary
php中文网 Courses
php中文网 Courses
Nov 6, 2023 · Backend Development

Understanding Callback Functions in PHP

This article explains PHP callback functions, covering their definition through anonymous functions and function name strings, demonstrates implementation as function parameters and class methods with code examples, and discusses common use cases such as event handling, asynchronous operations, and array sorting or filtering.

Anonymous FunctionPHPbackend
0 likes · 5 min read
Understanding Callback Functions in PHP
php中文网 Courses
php中文网 Courses
Oct 28, 2023 · Backend Development

Understanding PHP Callback Functions: Definitions, Usage, and Examples

This article explains PHP callback functions, covering their definition, types such as regular, anonymous, and static methods, typical use cases like event handling, asynchronous and functional programming, and provides clear code examples with important precautions and advantages.

Event HandlingPHPasynchronous
0 likes · 5 min read
Understanding PHP Callback Functions: Definitions, Usage, and Examples
php中文网 Courses
php中文网 Courses
Aug 16, 2023 · Backend Development

Implementing Alipay Asynchronous and Synchronous Callbacks in PHP

This article explains the roles of Alipay's asynchronous and synchronous callbacks in PHP integration, outlines step‑by‑step processing procedures, and provides complete example code for verifying signatures, updating order status, and handling both server‑side notifications and front‑end return pages.

AlipayPHPPayment Integration
0 likes · 7 min read
Implementing Alipay Asynchronous and Synchronous Callbacks in PHP
php中文网 Courses
php中文网 Courses
Jun 28, 2023 · Backend Development

Integrating PHP with WeChat Work: Step-by-Step Guide

This guide explains how to integrate PHP with WeChat Work by registering a corporate account, creating an application, obtaining credentials, using PHP’s HTTP requests to acquire access tokens, and sending messages or retrieving user data, including a complete code example.

APIBackend IntegrationMessaging
0 likes · 4 min read
Integrating PHP with WeChat Work: Step-by-Step Guide
37 Interactive Technology Team
37 Interactive Technology Team
Jan 4, 2023 · Backend Development

Extending the NSIS Inetc Plugin to Add Download‑Progress Callback

The article explains how to extend NSIS’s Inetc plug‑in by adding a /callback switch, storing the callback address, pushing total size, downloaded amount and percentage onto the NSIS stack after each buffer, and invoking the user‑defined function to update a progress bar during downloads.

C++InetcInstaller
0 likes · 11 min read
Extending the NSIS Inetc Plugin to Add Download‑Progress Callback
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 4, 2022 · Fundamentals

Deep Dive into Dart Stream Callback Mechanism and Implementation

This article thoroughly explores the internal workings of Dart's Stream API, detailing how callbacks are triggered through StreamController, the role of microtasks, the implementation of synchronous and broadcast stream controllers, and provides concrete code examples to illustrate each step of the process.

DartStreamStreamController
0 likes · 16 min read
Deep Dive into Dart Stream Callback Mechanism and Implementation
IT Services Circle
IT Services Circle
Sep 24, 2022 · Fundamentals

Understanding Function Pointers, Closures, and std::function in C/C++

This article explains how C/C++ function pointers work, demonstrates their compiled address, shows why they lack context, introduces a closure struct to bundle code with data, and relates this pattern to C++'s std::function for storing callables with captured environment.

C++Closurecallback
0 likes · 6 min read
Understanding Function Pointers, Closures, and std::function in C/C++
Code Ape Tech Column
Code Ape Tech Column
Sep 24, 2021 · Backend Development

Implementing Message Confirmation in Spring Boot with RabbitMQ: Configuration, Callbacks, and Common Pitfalls

This article explains how to set up Spring Boot and RabbitMQ message confirmation, covering environment preparation, publisher and consumer callback implementations, acknowledgment methods, testing procedures, and practical pitfalls such as missed acknowledgments, infinite redelivery loops, and duplicate consumption.

JavaMessageConfirmationMessaging
0 likes · 13 min read
Implementing Message Confirmation in Spring Boot with RabbitMQ: Configuration, Callbacks, and Common Pitfalls
php中文网 Courses
php中文网 Courses
Dec 21, 2020 · Backend Development

Understanding PHP preg_replace_callback and Using Anonymous Functions

This article explains the PHP preg_replace_callback function, its parameters, how to use anonymous functions as callbacks, and demonstrates passing extra arguments via globals or class properties with clear code examples.

Anonymous Functioncallbackpreg_replace_callback
0 likes · 4 min read
Understanding PHP preg_replace_callback and Using Anonymous Functions