Tagged articles

Backend

5000 articles · Page 25 of 50
Code Ape Tech Column
Code Ape Tech Column
Dec 19, 2023 · Information Security

Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms

This article explains the concept, advantages, and three implementation methods of Single Sign-On (SSO), then provides two complete practical examples—including architecture diagrams, step‑by‑step flows, and full Java code for ticket‑based and encrypted data‑based SSO—followed by supplementary RSA key generation notes and a brief promotional note.

AuthenticationBackendJava
0 likes · 18 min read
Implementation of Single Sign-On (SSO) with Service A and Service B Using Ticket and Token Mechanisms
Python Programming Learning Circle
Python Programming Learning Circle
Dec 18, 2023 · Backend Development

phpy – A PHP Extension for Seamless Integration with the Python Ecosystem

The article introduces phpy, an open‑source Swoole project that embeds the Python ecosystem into PHP, explains its features, provides detailed compilation and installation steps, demonstrates usage through code examples—including AI libraries, GUI creation, named arguments, and callbacks—and shares real‑world sample applications.

BackendExtensionInstallation
0 likes · 9 min read
phpy – A PHP Extension for Seamless Integration with the Python Ecosystem
Selected Java Interview Questions
Selected Java Interview Questions
Dec 18, 2023 · Backend Development

Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations

This article explains the concept of idempotency, presents several strategies to achieve it, and provides a complete Spring Boot implementation using Redis, a custom @AutoIdempotent annotation, token generation and verification, interceptor configuration, and test cases to ensure only the first request succeeds.

BackendInterceptorJava
0 likes · 10 min read
Implementing API Idempotency with Spring Boot, Redis, and Custom Annotations
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP's fwrite() Function to Write Data to Files

This article explains PHP's fwrite() function, its syntax and parameters, and provides clear code examples for writing strings and serialized arrays to files, while highlighting important considerations such as file opening modes and data types.

Backendfile-handlingfwrite
0 likes · 4 min read
Using PHP's fwrite() Function to Write Data to Files
php Courses
php Courses
Dec 18, 2023 · Backend Development

Using PHP rmdir() to Delete Empty Directories

This article explains the PHP rmdir() function, its syntax, parameters, return values, important usage notes, and provides a complete code example that checks for a directory's existence before safely removing an empty folder.

BackendFile SystemPHP
0 likes · 3 min read
Using PHP rmdir() to Delete Empty Directories
php Courses
php Courses
Dec 18, 2023 · Backend Development

PHP Routing Strategies: Basic and Regex-Based Approaches

This article explains two PHP routing strategies—an original path‑based method that maps URL segments to controller and action names, and a more flexible regular‑expression based method that uses pattern matching for complex URL structures—providing code examples and guidance on when to use each.

Backendregexrouting
0 likes · 5 min read
PHP Routing Strategies: Basic and Regex-Based Approaches
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Dec 18, 2023 · Backend Development

How to Dynamically Adjust Log Levels in Spring Boot 2.7

This guide explains how to use Spring Boot configuration files and runtime APIs to change log levels on the fly, covering basic log level concepts, a practical controller example, dynamic endpoint implementation, disabling logs, and Spring Cloud integration for flexible logging management.

Backenddynamic-configurationspring-boot
0 likes · 7 min read
How to Dynamically Adjust Log Levels in Spring Boot 2.7
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP fwrite() to Write Data to Files

This article explains the PHP fwrite() function, its syntax, parameters, and provides clear examples for writing strings and serialized arrays to files, highlighting proper file opening modes and error handling.

BackendFile HandlingPHP
0 likes · 4 min read
Using PHP fwrite() to Write Data to Files
php Courses
php Courses
Dec 16, 2023 · Backend Development

Using PHP tempnam() to Generate Unique Temporary File Names

This article explains how the PHP tempnam() function creates unique temporary file names, describes its syntax, parameters, return values, and provides two practical code examples demonstrating usage with optional directory and prefix settings.

BackendFile Handlingtempnam
0 likes · 4 min read
Using PHP tempnam() to Generate Unique Temporary File Names
21CTO
21CTO
Dec 15, 2023 · Backend Development

9 Essential Microservices Best Practices to Build Scalable, Secure Systems

This article outlines nine practical microservices best practices—from applying the Single Responsibility Principle and forming cross‑functional teams to using proper DevSecOps tools, asynchronous communication, independent data stores, and robust monitoring—to help developers design scalable, maintainable, and secure backend architectures.

BackendDevOpsMicroservices
0 likes · 12 min read
9 Essential Microservices Best Practices to Build Scalable, Secure Systems
Python Programming Learning Circle
Python Programming Learning Circle
Dec 15, 2023 · Backend Development

phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks

The article introduces the second version of phpy, a PHP extension that embeds a Python interpreter, explains its dual‑VM runtime architecture, shows how to use it under PHP‑FPM, presents detailed performance benchmarks, covers exception handling, IDE auto‑completion, compilation options, dynamic‑library troubleshooting, and provides numerous code examples for testing and scientific computing.

BackendExtensionPerformance
0 likes · 12 min read
phpy v2 – A High‑Performance PHP‑Python Bridge: Architecture, Usage, and Benchmarks
php Courses
php Courses
Dec 15, 2023 · Backend Development

Understanding and Using the PHP fseek() Function

The article explains the purpose and syntax of PHP's fseek() function, details its parameters—including file, offset, and whence options such as SEEK_SET, SEEK_CUR, and SEEK_END—provides a complete example demonstrating file opening, pointer positioning, reading, writing, and closing operations.

BackendFile HandlingPHP
0 likes · 4 min read
Understanding and Using the PHP fseek() Function
php Courses
php Courses
Dec 15, 2023 · Backend Development

Using PHP htmlspecialchars() to Escape Special Characters

This article explains the PHP htmlspecialchars() function, its syntax and parameters, demonstrates how to escape special characters, quotes, and specify encoding or disable double‑encoding, and shows how it helps prevent XSS attacks in web applications.

BackendPHPXSS
0 likes · 4 min read
Using PHP htmlspecialchars() to Escape Special Characters
php Courses
php Courses
Dec 15, 2023 · Databases

Creating a MySQL Database on Linux Using PHP (mysqli)

This tutorial explains how to create a MySQL database on a Linux system using PHP's mysqli extension, covering prerequisite installations, establishing a connection to the MySQL server, and executing SQL statements to create the database, with complete code examples and instructions for customizing credentials.

BackendMySQLidatabase
0 likes · 4 min read
Creating a MySQL Database on Linux Using PHP (mysqli)
macrozheng
macrozheng
Dec 15, 2023 · Backend Development

How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java

This article explains the core concepts, architecture, and implementation details of the lightweight distributed scheduling platform Xxl-Job, including its scheduler center, executor, job handlers, registration, task triggering, routing strategies, execution flow, and result callbacks, with a step‑by‑step demo and code examples.

BackendJavaSpringBoot
0 likes · 21 min read
How Xxl-Job Powers Lightweight Distributed Task Scheduling in Java
Baidu Geek Talk
Baidu Geek Talk
Dec 13, 2023 · Backend Development

How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines

This article details Baidu's search display service evolution, outlining its original C and PHP/HHVM implementation, the three major challenges of high development difficulty, limited architecture capability, and low reusability, and presents a comprehensive solution using a graph execution engine, common operators, and a phased migration to Go.

ArchitectureBackendGo
0 likes · 15 min read
How Baidu Revamped Its Search Display Service: From PHP to Go and Graph Engines
IT Xianyu
IT Xianyu
Dec 12, 2023 · Backend Development

Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource

This article explains how to build a custom dynamic data‑source solution for Spring Boot by leveraging ThreadLocal and AbstractRoutingDataSource, provides complete Java code for context holders, routing datasource, configuration, annotation‑driven switching, and runtime addition of new data sources.

AbstractRoutingDataSourceBackendMyBatis-Plus
0 likes · 15 min read
Implementing Dynamic Data Source Switching in Spring Boot Using ThreadLocal and AbstractRoutingDataSource
Architect
Architect
Dec 12, 2023 · Backend Development

Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy

This article explains how Cloudflare replaced NGINX with Pingora, a Rust‑written HTTP proxy that processes over a trillion daily requests, offering superior performance, efficiency, and security through a multithreaded design, custom HTTP library, and programmable request lifecycle.

BackendCloudflareHTTP Proxy
0 likes · 12 min read
Pingora: Cloudflare’s High‑Performance Rust‑Based HTTP Proxy
Nullbody Notes
Nullbody Notes
Dec 12, 2023 · Backend Development

Build a High‑Performance Go Cache Library (EasyCache) from Scratch

This article walks through implementing EasyCache, a Go‑based in‑memory cache with sharding, lock‑free concurrency, LRU eviction, and configurable expiration, explaining the underlying data structures, goroutine cleanup logic, and key handling with concrete code examples.

BackendGoLRU
0 likes · 9 min read
Build a High‑Performance Go Cache Library (EasyCache) from Scratch
php Courses
php Courses
Dec 12, 2023 · Backend Development

Optimizing PHP Log Recording Performance

This article explains how to improve PHP logging performance by controlling log levels, batching writes, using asynchronous processes, and implementing log rotation, providing clear code examples for each technique in real-world PHP applications.

BackendPerformanceerror log
0 likes · 5 min read
Optimizing PHP Log Recording Performance
Top Architect
Top Architect
Dec 11, 2023 · Backend Development

Optimizing Large Transactions in Backend Development

The article explains why large database transactions degrade backend API performance, outlines issues such as data inconsistency, lock contention, and log overhead, and presents practical optimization techniques including avoiding RPC inside transactions, using programmatic transactions, batch processing, splitting into smaller transactions, and asynchronous parallel execution with CompletableFuture.

Backendtransaction
0 likes · 10 min read
Optimizing Large Transactions in Backend Development
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 11, 2023 · Backend Development

Configuring Multiple Data Sources in Spring Boot with MyBatis

This article explains the underlying principles and step‑by‑step configuration for integrating Spring Boot with MyBatis to manage multiple data sources, covering BeanFactory, FactoryBean, SqlSessionFactoryBean setup, datasource properties, mapper scanning, and sample controller code for accessing distinct databases.

BackendJavaMulti-DataSource
0 likes · 8 min read
Configuring Multiple Data Sources in Spring Boot with MyBatis
Open Source Tech Hub
Open Source Tech Hub
Dec 10, 2023 · Backend Development

Why WebSocket Heartbeat Is Essential and How to Implement It

This article explains why heartbeat detection is crucial for WebSocket connections, describes the underlying Ping/Pong mechanism, details server and client configuration parameters, and provides complete code examples for implementing reliable heartbeat and reconnection logic.

BackendPHPWebSocket
0 likes · 9 min read
Why WebSocket Heartbeat Is Essential and How to Implement It
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

BackendPHPReal-time Chat
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
Code Ape Tech Column
Code Ape Tech Column
Dec 9, 2023 · Backend Development

PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples

This article introduces the PowerJob distributed task framework, explains why it was chosen, details its architecture and high‑availability design, demonstrates various job types—including standalone, broadcast, map, and map‑reduce—with Java code examples, and covers scheduling options such as CRON, fixed‑rate, and fixed‑delay execution.

BackendJavaMapReduce
0 likes · 14 min read
PowerJob Overview: Selection Rationale, Architecture, Task Types, and Scheduling Strategies with Code Samples
php Courses
php Courses
Dec 9, 2023 · Backend Development

How to Use PHP's file_get_contents() to Read Local and Remote Files

This article explains the syntax and parameters of PHP's file_get_contents() function, provides example code for reading both local and remote files, and highlights important usage notes for efficiently retrieving file contents in backend development.

BackendFile Readingfile_get_contents
0 likes · 4 min read
How to Use PHP's file_get_contents() to Read Local and Remote Files
php Courses
php Courses
Dec 8, 2023 · Backend Development

Using PHP shuffle() to Randomly Rearrange Array Elements

This article explains PHP's shuffle() function, its syntax, behavior, return value, and demonstrates how it randomizes both indexed and associative arrays with code examples, highlighting that it modifies the original array and reindexes non‑sequential keys.

BackendShuffleTutorial
0 likes · 5 min read
Using PHP shuffle() to Randomly Rearrange Array Elements
php Courses
php Courses
Dec 8, 2023 · Backend Development

Understanding PHP strlen() Function: Syntax, Examples, and Usage

This article explains PHP's strlen() function, covering its syntax, usage examples for measuring string length with and without surrounding spaces, important encoding considerations, and provides learning resources for further in PHP development.

BackendTutorialstring-length
0 likes · 4 min read
Understanding PHP strlen() Function: Syntax, Examples, and Usage
dbaplus Community
dbaplus Community
Dec 7, 2023 · Backend Development

How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%

This article explains how the team transformed a Go‑based microservice recommendation system into a single‑pod monolithic application using tRPC‑Go, detailing performance bottlenecks, code‑level mock‑proxy techniques, deployment adjustments, and the resulting dramatic reduction in CPU consumption.

BackendGoMicroservices
0 likes · 13 min read
How to Merge Go Microservices into a Single Pod and Cut CPU Usage by 60%
360 Smart Cloud
360 Smart Cloud
Dec 7, 2023 · Fundamentals

Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development

This article explains how asynchronous programming and event‑driven mechanisms work in both frontend JavaScript and backend Golang, covering the JavaScript event loop, macro‑ and micro‑tasks, goroutine‑based concurrency, and the kernel‑level epoll architecture that together enable efficient, non‑blocking execution.

BackendEpollasynchronous
0 likes · 17 min read
Understanding Asynchronous and Event Mechanisms in Frontend and Backend Development
JavaEdge
JavaEdge
Dec 6, 2023 · Backend Development

Choosing and Implementing Caching for Spring Boot Microservices

This article explains why caching is crucial for Spring Boot applications, examines its impact on microservice architectures, outlines criteria for selecting the right cache—usability, speed, availability, observability—and compares local, distributed, and hierarchical caches with practical strategies and code examples.

BackendSpring Bootdistributed cache
0 likes · 7 min read
Choosing and Implementing Caching for Spring Boot Microservices
转转QA
转转QA
Dec 6, 2023 · Backend Development

Store System Refactoring Types, Challenges, and Testing Strategies

This article analyzes the current store system issues, outlines various refactoring types and their difficulties, presents common efficiency measures, and details testing schemes for both unchanged‑business and changed‑business refactoring cases, highlighting objectives, challenges, processes, and overall effectiveness.

BackendPerformancerefactoring
0 likes · 8 min read
Store System Refactoring Types, Challenges, and Testing Strategies
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP's array() Function to Create Indexed and Associative Arrays

This article explains PHP's built‑in array() function, demonstrating how to create both indexed and associative arrays with clear examples, code snippets, and important usage notes for developers. It also covers mixed and nested arrays, parameter rules, and common pitfalls to help you write robust PHP code.

BackendPHPTutorial
0 likes · 6 min read
Using PHP's array() Function to Create Indexed and Associative Arrays
php Courses
php Courses
Dec 6, 2023 · Backend Development

Using PHP is_float() Function to Detect Floating-Point Numbers

This article explains the PHP is_float() function, covering its syntax, behavior, and practical code examples that demonstrate how to check whether variables are floating‑point numbers and handle related conditional logic.

Backendfloat detectionis_float
0 likes · 5 min read
Using PHP is_float() Function to Detect Floating-Point Numbers
dbaplus Community
dbaplus Community
Dec 5, 2023 · Backend Development

Taming Chaotic Logs: Practical Governance and Stack Trace Optimization

Facing uncontrolled log proliferation, the author shares a real-world case of log governance that reduces costs and boosts efficiency by categorizing logs, simplifying formats, consolidating tools, introducing a three‑layer log architecture, and applying stack‑trace reversal techniques with concrete code examples.

BackendJavaLog Management
0 likes · 16 min read
Taming Chaotic Logs: Practical Governance and Stack Trace Optimization
Architecture Digest
Architecture Digest
Dec 5, 2023 · Backend Development

Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes

The article presents a collection of typical Java backend coding mistakes—ranging from misused ternary operators and poor parameter validation to logging pitfalls, dead code, improper exception handling, AOP self‑invocation issues, Redis resilience problems, and Excel file upload bugs—along with concrete examples, images, and corrected code snippets to help developers avoid and fix them.

BackendBugFixesCodeQuality
0 likes · 12 min read
Common Java Backend Code Smells and Bugs: Real‑World Cases and Fixes
php Courses
php Courses
Dec 5, 2023 · Backend Development

Understanding and Using PHP's in_array() Function

This article explains PHP's in_array() function, detailing its syntax, parameters, and return values, and provides multiple code examples demonstrating basic usage, strict type comparison, and practical tips for efficiently checking the presence of values in arrays.

BackendPHPTutorial
0 likes · 5 min read
Understanding and Using PHP's in_array() Function
php Courses
php Courses
Dec 5, 2023 · Backend Development

Error Handling in PHP Multithreaded Programming with pthreads

This article explains how to install the pthreads extension for PHP and demonstrates three approaches—try‑catch blocks, shared variables, and logging—to capture and propagate errors from worker threads back to the main thread, ensuring stable multithreaded applications.

Backendmultithreadingpthreads
0 likes · 5 min read
Error Handling in PHP Multithreaded Programming with pthreads
php Courses
php Courses
Dec 5, 2023 · Backend Development

phpy – A PHP Extension for Seamless Python Integration

phpy is an open‑source Swoole project that lets PHP import and use Python packages—including popular AI and scientific libraries—by providing a PHP extension or a Python C module, with detailed installation steps, usage examples, and support for callbacks and named parameters.

BackendExtensionInterop
0 likes · 10 min read
phpy – A PHP Extension for Seamless Python Integration
Code Ape Tech Column
Code Ape Tech Column
Dec 5, 2023 · Backend Development

Design and Implementation of a Java Rule Engine with AND/OR Logic

This article explains how to design and refactor a Java rule engine that supports short‑circuit AND/OR logic, demonstrates the abstraction of rules, shows concrete implementations, and provides a chainable service for executing combined rule sets with example code.

AND/OR LogicBackendDesign Patterns
0 likes · 8 min read
Design and Implementation of a Java Rule Engine with AND/OR Logic
Architect
Architect
Dec 4, 2023 · Backend Development

Mastering Unified Exception Handling in Spring: Clean Code, Better Readability

This article analyzes the problem of scattered try‑catch blocks in Java services, explains why per‑controller exception methods are cumbersome, and presents a unified exception handling solution using @ControllerAdvice, custom Assert utilities, enum‑based error codes, and environment‑aware response formatting, all illustrated with concrete code examples and test results.

BackendEnumJava
0 likes · 24 min read
Mastering Unified Exception Handling in Spring: Clean Code, Better Readability
Sanyou's Java Diary
Sanyou's Java Diary
Dec 4, 2023 · Backend Development

When Pagination Breaks: Real‑World Bugs and Practical Fixes

This article recounts three production‑level pagination bugs encountered in a payment system, explains why they occurred—ranging from naive batch processing to MySQL's nondeterministic LIMIT behavior—and shows how proper pagination, ThreadLocal cleanup, and deterministic ordering resolve the issues.

BackendBug fixingMySQL
0 likes · 16 min read
When Pagination Breaks: Real‑World Bugs and Practical Fixes
php Courses
php Courses
Dec 4, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

BackendPHPString processing
0 likes · 5 min read
Using PHP str_word_count() Function to Count Words in a String
MaGe Linux Operations
MaGe Linux Operations
Dec 3, 2023 · Backend Development

How to Ensure Cache‑Database Consistency: Strategies and Best Practices

This article explains why introducing a cache improves read performance as traffic grows, compares different cache‑database consistency approaches, analyzes their pros and cons in concurrent scenarios, and recommends using the "update database then delete cache" pattern with message queues or change‑log subscriptions to maintain data integrity.

Backendcachingconsistency
0 likes · 12 min read
How to Ensure Cache‑Database Consistency: Strategies and Best Practices
Architect
Architect
Dec 2, 2023 · Backend Development

7 Common Message‑Queue Scenarios and How to Choose the Right Type

This article examines seven typical messaging scenarios—ordinary, ordered, delayed, transactional, trace, dead‑letter, and priority messages—explaining the problem each solves, the trade‑offs, and concrete implementations in RocketMQ, Pulsar, RabbitMQ and Kafka with code samples.

Backenddead-letterdelayed
0 likes · 14 min read
7 Common Message‑Queue Scenarios and How to Choose the Right Type
Selected Java Interview Questions
Selected Java Interview Questions
Dec 2, 2023 · Backend Development

Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual

This article explains the recent correction in Alibaba's developer manual that replaces the ambiguous "expansion count" of HashMap with the precise "resize count", details the conditions under which HashMap triggers resize during the first put operation, and shows why storing 1024 elements in JDK 1.8 results in eight resize calls.

BackendData StructuresJDK8
0 likes · 9 min read
Understanding HashMap Resize Behavior and the Revision from Expansion Count to Resize Count in Alibaba's Developer Manual
php Courses
php Courses
Dec 2, 2023 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains how the PHP file_exists() function works, its syntax, return values, usage examples for local and remote files as well as directories, and important considerations when employing it in backend development.

BackendPHPfile-existence
0 likes · 3 min read
Using PHP file_exists() to Check File and Directory Existence
Architect
Architect
Dec 1, 2023 · Backend Development

Implementing a Process Pool with Apache Commons GenericObjectPool in Java

This article explains how to use Apache Commons GenericObjectPool to implement a reusable process pool in Java, covering the underlying concepts, required dependencies, custom factory implementation, pool configuration, and example code for borrowing and returning pooled objects.

BackendGenericObjectPoolJava
0 likes · 9 min read
Implementing a Process Pool with Apache Commons GenericObjectPool in Java
php Courses
php Courses
Dec 1, 2023 · Backend Development

Using the ceil() Function in PHP to Round Numbers Upward

This article explains PHP's ceil() function, detailing its syntax, parameters, and behavior for rounding numbers upward, and provides three clear code examples demonstrating its use with positive, negative, and integer values, along with the expected output for each case.

BackendMathPHP
0 likes · 3 min read
Using the ceil() Function in PHP to Round Numbers Upward
php Courses
php Courses
Dec 1, 2023 · Backend Development

Using PHP Generators to Process Large Data Sets and Prevent Memory Exhaustion

This article explains how PHP developers can use generators to iterate over large data sets without exhausting memory, covering the concept, syntax with the yield keyword, step‑by‑step examples, converting regular functions, handling key‑value pairs, sending data back, returning values, and a real‑world file‑reading use case.

BackendLarge Datagenerators
0 likes · 5 min read
Using PHP Generators to Process Large Data Sets and Prevent Memory Exhaustion
php Courses
php Courses
Nov 30, 2023 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, its syntax, parameters, return values, and provides practical examples for writing strings, appending data, writing arrays, and using callbacks to dynamically generate file content.

BackendCode ExampleFile Handling
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Nov 30, 2023 · Backend Development

Using PHP's is_callable() to Check Callable Functions and Methods

This article explains PHP's is_callable() function, describing its purpose, parameter options, and how to use it to verify the callability of functions and class methods, accompanied by clear code examples and a discussion of its benefits for robust, maintainable code.

BackendFunctionPHP
0 likes · 5 min read
Using PHP's is_callable() to Check Callable Functions and Methods
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 30, 2023 · Backend Development

How Alibaba Travel Billing System Achieves 100% Accuracy and Real‑Time Reconciliation

This article details the design, challenges, and monitoring strategies of Alibaba's travel billing system, explaining how a modular backend architecture, multi‑way reconciliation, full‑link monitoring, and a configurable expression engine enable near‑perfect bill accuracy and automated settlement for enterprise customers.

BackendOperationsbilling
0 likes · 17 min read
How Alibaba Travel Billing System Achieves 100% Accuracy and Real‑Time Reconciliation
Java Architect Essentials
Java Architect Essentials
Nov 28, 2023 · Backend Development

Various Ways to Send HTTP Requests in Java

This article introduces multiple Java approaches for sending HTTP GET and POST requests, covering the built‑in HttpURLConnection class, Apache HttpClient, Square's OkHttp, and Spring's RestTemplate, with step‑by‑step explanations and complete code examples for each method.

BackendHTTPHttpClient
0 likes · 8 min read
Various Ways to Send HTTP Requests in Java
Laravel Tech Community
Laravel Tech Community
Nov 28, 2023 · Backend Development

New Features in PHP 8.3: Typed Class Constants, Dynamic Class Constants, Readonly Property Deep Clone, and json_validate() Function

The article introduces PHP 8.3’s major enhancements—including typed class constants, dynamic class constant access, deep‑clone support for readonly properties, and the new json_validate() function—while noting the upcoming end of PHP 8.0 support and providing practical code examples.

BackendPHP 8.3programming
0 likes · 4 min read
New Features in PHP 8.3: Typed Class Constants, Dynamic Class Constants, Readonly Property Deep Clone, and json_validate() Function
Test Development Learning Exchange
Test Development Learning Exchange
Nov 28, 2023 · Backend Development

Python Asyncio: Coroutines and Asynchronous Programming with Practical Code Examples

This article introduces Python coroutines and asynchronous programming using the asyncio module, explains key concepts such as event loops and non‑blocking I/O, and provides ten detailed code examples that demonstrate creating, managing, and synchronizing async tasks for improved performance.

Asynchronous ProgrammingBackendCoroutines
0 likes · 7 min read
Python Asyncio: Coroutines and Asynchronous Programming with Practical Code Examples
MaGe Linux Operations
MaGe Linux Operations
Nov 27, 2023 · Fundamentals

Mastering Go Structs: From Definition to Advanced Embedding

This comprehensive guide walks you through Go structs—covering their definition, instantiation, methods, receivers, anonymous fields, embedding, and method expressions—while providing clear code examples and practical guidelines for effective use in Go programming.

BackendEmbeddingGo
0 likes · 9 min read
Mastering Go Structs: From Definition to Advanced Embedding
php Courses
php Courses
Nov 27, 2023 · Backend Development

Performance Improvements and Optimization Strategies in PHP 8.3

PHP 8.3 introduces a JIT compiler, enhanced array and string handling, OPcache improvements, and Match expressions, delivering significant performance gains and offering optimization strategies while highlighting common pitfalls to ensure efficient, maintainable backend development.

BackendJITOPcache
0 likes · 6 min read
Performance Improvements and Optimization Strategies in PHP 8.3
php Courses
php Courses
Nov 27, 2023 · Backend Development

Using PHP glob() Function for File and Directory Searching

This article explains the PHP glob() function, detailing its syntax, parameters, and multiple usage examples—including listing all files, filtering by extension, recursive file discovery, and directory-only searches—while providing complete code snippets for each scenario.

BackendFile HandlingPHP
0 likes · 4 min read
Using PHP glob() Function for File and Directory Searching
Architect's Guide
Architect's Guide
Nov 27, 2023 · Backend Development

Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices

This article provides a comprehensive guide to designing and implementing a unified exception handling framework in Spring Boot, covering the use of @ControllerAdvice, custom assertion interfaces, enum‑based error codes, standardized response structures, and practical testing scenarios to improve code readability and robustness.

BackendEnumJava
0 likes · 20 min read
Unified Exception Handling in Spring Boot: Design, Implementation, and Best Practices
php Courses
php Courses
Nov 25, 2023 · Backend Development

Using PHP Network Functions for Remote Requests and Data Transfer

This article explains how to use PHP's built‑in network functions, such as file_get_contents() and curl(), to send GET and POST HTTP requests, retrieve responses, and choose the appropriate method for remote data transmission in backend development.

Backendfile_get_contents
0 likes · 5 min read
Using PHP Network Functions for Remote Requests and Data Transfer
php Courses
php Courses
Nov 25, 2023 · Backend Development

Best Practices for Writing Maintainable ThinkPHP Applications

This article outlines key guidelines for developing maintainable ThinkPHP applications, covering framework design principles, directory structure, naming conventions, error handling, caching, performance optimization, test‑driven development, and effective team collaboration with version control.

BackendThinkPHPcaching
0 likes · 5 min read
Best Practices for Writing Maintainable ThinkPHP Applications
php Courses
php Courses
Nov 25, 2023 · Backend Development

New Features and Improvements in PHP 8.3

PHP 8.3, released on November 23 2023, introduces numerous backend enhancements such as improved readonly class cloning, typed class constants, the #[Override] attribute, negative array indexes, anonymous readonly classes, new functions like json_validate and mb_str_pad, Randomizer upgrades, and refined error handling, all aimed at boosting developer productivity.

Backendcode-examplesnew-features
0 likes · 8 min read
New Features and Improvements in PHP 8.3
Open Source Tech Hub
Open Source Tech Hub
Nov 24, 2023 · Backend Development

Why Switch from Linux Crontab to Workerman Crontab for High‑Availability Scheduling

This article compares traditional Linux crontab with the PHP‑based Workerman Crontab, highlighting crontab's high‑availability, load‑balancing, and permission limitations, and demonstrating how Workerman Crontab offers second‑level precision, dynamic management, distributed deployment, and superior performance for modern task scheduling needs.

BackendPHPcrontab
0 likes · 7 min read
Why Switch from Linux Crontab to Workerman Crontab for High‑Availability Scheduling
Top Architect
Top Architect
Nov 24, 2023 · Cloud Native

Comprehensive Overview of Microservice Architecture Components

This article provides a detailed walkthrough of a typical microservice architecture, covering entry traffic with Nginx, gateway selection, business service design, service registry options, caching and distributed locks with Redis, data persistence strategies, structured data storage, messaging middleware, log collection, task scheduling, and distributed object storage, while also promoting related community resources.

ArchitectureBackendMicroservices
0 likes · 11 min read
Comprehensive Overview of Microservice Architecture Components
JavaEdge
JavaEdge
Nov 24, 2023 · Backend Development

Why Kafka Is the Ultimate Backbone for Modern Backend Systems

This article explores how Kafka serves as a versatile backbone for messaging, durable storage, log aggregation, monitoring, commit logs, recommendation pipelines, stream processing, CDC, system migration, and event sourcing, highlighting its performance, reliability, and practical deployment patterns.

BackendKafkaStreaming
0 likes · 10 min read
Why Kafka Is the Ultimate Backbone for Modern Backend Systems
Inke Technology
Inke Technology
Nov 24, 2023 · Backend Development

Building a Scalable Overseas Ad Platform: Architecture, Permissions & Automation

To support rapid overseas expansion, the article outlines a comprehensive backend architecture—including management, data ingestion, device tracking, attribution, and offline tasks—while detailing fine-grained user permission controls, automated product onboarding, batch ad creation, and server‑side attribution workflows, plus future enhancements.

Advertising PlatformBackenddata pipelines
0 likes · 12 min read
Building a Scalable Overseas Ad Platform: Architecture, Permissions & Automation
HomeTech
HomeTech
Nov 24, 2023 · Backend Development

Implementing Task Scheduling and Distributed Processing with Celery and Redis in Python

This article explains how to use Celery together with Redis to manage and execute periodic and asynchronous tasks in Python, covering basic concepts, architecture, configuration steps, single‑worker and multi‑worker setups, distributed processing strategies, and practical considerations for reliable task execution.

BackendDistributed ComputingPython
0 likes · 8 min read
Implementing Task Scheduling and Distributed Processing with Celery and Redis in Python
Java Architect Essentials
Java Architect Essentials
Nov 23, 2023 · Backend Development

Overview of Spring Assertion, Utility, Reflection and AOP Helper Methods

This article presents a concise reference of Spring's Assert class, common ObjectUtils, StringUtils, CollectionUtils, file and stream copy helpers, as well as ReflectionUtils and AOP utilities, illustrating their purpose, typical usage scenarios, and providing ready‑to‑copy code snippets for Java backend development.

BackendJavaReflection
0 likes · 11 min read
Overview of Spring Assertion, Utility, Reflection and AOP Helper Methods
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2023 · Backend Development

Explore PHP 8.3: Typed Class Constants, Readonly Clone, and New Randomizer APIs

PHP 8.3 introduces a range of backend enhancements—including explicit typed class constants, dynamic constant access, the #[\Override] attribute, deep‑clone support for readonly properties, a new json_validate() function, and expanded Randomizer methods—plus numerous new DOM, Intl, LDAP, and POSIX functions, while deprecating several legacy features.

8.3BackendNew Features
0 likes · 7 min read
Explore PHP 8.3: Typed Class Constants, Readonly Clone, and New Randomizer APIs