Tagged articles

backend

5000 articles · Page 15 of 50
php Courses
php Courses
Oct 21, 2024 · Backend Development

Using PHP get_headers() to Retrieve HTTP Response Headers

This article explains the PHP get_headers() function, its syntax, parameters, and usage examples, demonstrates how to retrieve and display HTTP response headers from a URL, and discusses common application scenarios such as checking remote file existence, obtaining file metadata, and supporting web crawling or monitoring.

Web Scrapingbackendget_headers
0 likes · 4 min read
Using PHP get_headers() to Retrieve HTTP Response Headers
php Courses
php Courses
Oct 21, 2024 · Backend Development

Using PHP array_push to Add Elements to an Array

This article explains how the PHP array_push function can append one or multiple elements to the end of an array, shows step‑by‑step code examples for single and multiple element insertion, and demonstrates the resulting array length and contents.

ArraysPHParray_push
0 likes · 3 min read
Using PHP array_push to Add Elements to an Array
Architect's Guide
Architect's Guide
Oct 19, 2024 · Backend Development

Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code

This article presents fourteen practical Java Spring development best‑practice tips—including using @ConfigurationProperties, Lombok's @RequiredArgsConstructor, modularizing code, throwing exceptions instead of returning error codes, minimizing unnecessary database calls, avoiding null returns, reducing if‑else chains, and leveraging IDE features—to help developers write cleaner, more maintainable backend code.

ConfigurationJavaLombok
0 likes · 7 min read
Java Spring Development Best Practices: 14 Tips for Clean and Efficient Code
macrozheng
macrozheng
Oct 18, 2024 · Backend Development

Why @Transactional Often Fails: 13 Real-World Pitfalls and How to Fix Them

An in‑depth guide reveals thirteen common pitfalls that cause Spring’s @Transactional annotation to malfunction—ranging from unnecessary usage and proxy limitations to propagation misconfigurations and exception handling—plus practical demos and solutions to ensure reliable transaction rollbacks in Java backend development.

AOPExceptionHandlingJava
0 likes · 20 min read
Why @Transactional Often Fails: 13 Real-World Pitfalls and How to Fix Them
Programmer XiaoFu
Programmer XiaoFu
Oct 18, 2024 · Backend Development

Unlock Spring Boot’s Powerful Built‑In Features You’re Not Using

This article walks through Spring Boot’s built‑in utilities—including request logging with CommonsRequestLoggingFilter, request/response wrappers, the OncePerRequestFilter base class, and AOP helpers like AopContext, AopUtils, and ReflectionUtils—showing how to configure and apply them in real code.

AOPContentCachingWrapperOncePerRequestFilter
0 likes · 12 min read
Unlock Spring Boot’s Powerful Built‑In Features You’re Not Using
Tencent Cloud Developer
Tencent Cloud Developer
Oct 18, 2024 · Backend Development

Tencent Meeting "My Recordings" List Optimization Practice

Tencent Meeting optimized its “My Recordings” list by replacing offset pagination with cursor‑based seeks, implementing a two‑layer cache separating ID lists from record details, choosing MongoDB for multi‑source aggregation, and adding reliable Kafka‑driven sync, cutting latency from 308 ms to 70 ms while supporting over 700 QPS.

MongoDBPaginationbackend
0 likes · 36 min read
Tencent Meeting "My Recordings" List Optimization Practice
Architecture Digest
Architecture Digest
Oct 17, 2024 · Backend Development

Simplifying Backend CRUD with APIJSON: One Interface per Operation

This article explains how APIJSON can replace dozens of traditional SpringBoot controller methods with a single configurable endpoint, demonstrating concise request formats, permission annotations, and example code for creating, reading, updating, deleting, and aggregating data in a Java backend.

APIJSONCRUDJava
0 likes · 8 min read
Simplifying Backend CRUD with APIJSON: One Interface per Operation
Java Captain
Java Captain
Oct 17, 2024 · Backend Development

Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations

This article explains how APIJSON lets developers replace dozens of SpringBoot CRUD endpoints with a single, configurable interface for GET, POST, PUT, DELETE and HEAD requests, dramatically cutting code lines while supporting complex queries, pagination, joins and role‑based permissions.

APIJSONCRUDPermission
0 likes · 7 min read
Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations
Architect's Guide
Architect's Guide
Oct 17, 2024 · Backend Development

Using JXLS for Complex Excel Export in Java Backend Applications

This article introduces the JXLS library for Java, explains how to add Maven dependencies, provides backend utility and controller code for exporting Excel files, and details common XLS expressions such as jx:area, jx:each, jx:mergeCells, and dynamic column handling to simplify complex Excel report generation.

Dynamic ColumnsExcel exportJava
0 likes · 8 min read
Using JXLS for Complex Excel Export in Java Backend Applications
Architect
Architect
Oct 16, 2024 · Backend Development

Mastering Spring Transaction Hooks for Safe Kafka Publishing

This article explains how to use Spring's TransactionSynchronizationManager to detect active transactions, register synchronization callbacks, and asynchronously publish payment‑log messages to Kafka without affecting the main business flow, complete with practical code snippets and pitfalls to avoid.

JavaKafkaSpring
0 likes · 11 min read
Mastering Spring Transaction Hooks for Safe Kafka Publishing
php Courses
php Courses
Oct 16, 2024 · Backend Development

How to Use PHP rawurldecode() to Decode URL‑Encoded Strings

This article explains the PHP rawurldecode() function, its syntax, and how it decodes URL‑encoded strings, provides a complete code example with expected output, and highlights the differences between rawurldecode() and urldecode() for proper URL handling in web development.

PHPURL decodingWeb Development
0 likes · 4 min read
How to Use PHP rawurldecode() to Decode URL‑Encoded Strings
JD Cloud Developers
JD Cloud Developers
Oct 16, 2024 · Operations

Concurrency vs RPS: Which Load‑Testing Mode Boosts Service Performance?

This article compares the concurrency (virtual user) mode and the RPS (requests per second) mode of the Forcebot load‑testing platform, showing how each impacts TPS, TP99, and TP999 metrics through a product‑query tag case study, and explains when to apply each mode for optimal service performance.

RPSbackendload testing
0 likes · 8 min read
Concurrency vs RPS: Which Load‑Testing Mode Boosts Service Performance?
php Courses
php Courses
Oct 15, 2024 · Backend Development

Using curl_multi_select() in PHP to Wait for Active cURL Transfers

The article explains how to use PHP’s curl_multi_select() function to wait for active cURL transfers in a multi‑handle scenario, detailing its definition, parameters, behavior, and providing a complete example that demonstrates efficient concurrent HTTP requests handling.

backendcURL Multiconcurrency
0 likes · 4 min read
Using curl_multi_select() in PHP to Wait for Active cURL Transfers
FunTester
FunTester
Oct 15, 2024 · Backend Development

Generate Realistic Test Data in Go with the GoFakeIt Library

This article introduces GoFakeIt, a lightweight Go library for quickly generating diverse fake data—personal, address, financial, network, and more—explains its key features, shows how to install it via go get, and provides practical code examples for each data type.

Data GenerationFake DataGo
0 likes · 13 min read
Generate Realistic Test Data in Go with the GoFakeIt Library
Baidu Geek Talk
Baidu Geek Talk
Oct 14, 2024 · Backend Development

Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements

Baidu Visual Search upgraded its PHP/HHVM stack to Golang, introduced a Backend‑For‑Frontend layer, refactored presentation and system modules with the GDP framework and ExGraph, and built comprehensive monitoring and self‑healing tools, delivering a modular, scalable, and stable AI‑driven search platform.

StabilitySystem Designarchitecture
0 likes · 13 min read
Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements
php Courses
php Courses
Oct 14, 2024 · Backend Development

Using PHP chmod() to Set File Permissions

This article explains how to use PHP's chmod() function to change file permissions, describes permission masks, provides the syntax and a practical example that sets a file's mode to 644, and includes the full PHP code snippet.

File PermissionsPHPbackend
0 likes · 3 min read
Using PHP chmod() to Set File Permissions
FunTester
FunTester
Oct 14, 2024 · Backend Development

Mastering Go Benchmarking: A Practical Guide to Performance Testing

This article introduces Go's benchmarking framework, explains its purpose and best practices, provides step‑by‑step code examples for measuring string concatenation performance, shows how to run benchmarks from the command line, and teaches how to interpret the detailed test reports.

Gobackendbenchmarking
0 likes · 11 min read
Mastering Go Benchmarking: A Practical Guide to Performance Testing
Architecture Digest
Architecture Digest
Oct 13, 2024 · Backend Development

Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling

The article explains how to simplify Spring MVC controller code by introducing a unified response wrapper, handling String return types with ResponseBodyAdvice, adjusting HttpMessageConverter order, applying JSR‑303 validation for @RequestParam, @PathVariable and @RequestBody, creating custom validation annotations, and implementing global exception handling for consistent API responses.

ControllerExceptionHandlingJava
0 likes · 18 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling
Architect's Tech Stack
Architect's Tech Stack
Oct 13, 2024 · Backend Development

Should try‑catch be placed inside or outside a for loop?

This article discusses whether a try‑catch block should be placed inside or outside a Java for‑loop, explains the trade‑offs, and provides code examples illustrating both approaches to help developers write more robust exception‑handling logic.

backendbest-practicesexception-handling
0 likes · 4 min read
Should try‑catch be placed inside or outside a for loop?
Java Architect Essentials
Java Architect Essentials
Oct 13, 2024 · Backend Development

Patent on a SpringBoot-Based Web System Backend Implementation Method and Device

The Chinese Patent Office announced that Industrial and Commercial Bank of China obtained patent CN112905176B for a SpringBoot-based web system backend implementation method and device, which details a process of receiving operation data, extracting business and object IDs, retrieving configuration, forming conditional expressions, and processing data to reduce development changes and improve system stability.

Software ArchitectureWebbackend
0 likes · 3 min read
Patent on a SpringBoot-Based Web System Backend Implementation Method and Device
php Courses
php Courses
Oct 12, 2024 · Backend Development

Using PHP ceil() Function to Round Numbers Upward

This article explains PHP's ceil() function, detailing its syntax, behavior for floating‑point and integer values, and provides three practical code examples demonstrating how to effectively round numbers upward in a variety of scenarios.

PHPRoundingbackend
0 likes · 4 min read
Using PHP ceil() Function to Round Numbers Upward
php Courses
php Courses
Oct 12, 2024 · Backend Development

Modern Secure Session Management in PHP: Replacing session_register()

This tutorial explains why the legacy PHP function session_register() was deprecated and guides developers through modern, secure session management techniques such as using the $_SESSION superglobal, regenerating session IDs, enforcing expiration, setting secure cookie flags, CSRF tokens, and encrypting session data.

PHPWeb Developmentbackend
0 likes · 8 min read
Modern Secure Session Management in PHP: Replacing session_register()
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 12, 2024 · Backend Development

Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates

This article provides a comprehensive analysis of how Spring Boot integrates Log4j2 (and Logback), detailing the internal logging architecture, configuration options, initialization flow, logger groups, and how to perform hot updates of logger levels via the LoggersEndpoint or custom APIs.

ConfigurationLoggingSpring Boot
0 likes · 37 min read
Understanding Spring Boot Integration with Log4j2 and Logback: Logging Mechanisms, Configuration, and Hot Level Updates
Java Architect Essentials
Java Architect Essentials
Oct 11, 2024 · Backend Development

Mastering EasyQuery: A Strongly Typed Java ORM with Real‑World Query Examples

This article explains why the author created the EasyQuery ORM for Java, demonstrates a wide range of query patterns—including single‑record, pagination, joins, subqueries, streaming, custom VO mapping, dynamic conditions, grouping, native SQL, function columns, and high‑performance encryption—while providing complete code snippets and links to documentation and source repositories.

DatabaseJavaORM
0 likes · 13 min read
Mastering EasyQuery: A Strongly Typed Java ORM with Real‑World Query Examples
Code Mala Tang
Code Mala Tang
Oct 11, 2024 · Backend Development

Mastering Dependency Injection in Node.js: From Manual to Automatic

This article explains the concept of dependency injection, its benefits such as decoupling, easier maintenance, testing and reusability, and demonstrates both manual and automatic implementations in Node.js, including usage of third‑party libraries like InversifyJS.

InversifyJSIoCNode.js
0 likes · 10 min read
Mastering Dependency Injection in Node.js: From Manual to Automatic
php Courses
php Courses
Oct 11, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains PHP's built‑in floatval() function, showing its syntax, how it converts various variable types—including integers, strings, booleans, and arrays—to floating‑point numbers, provides multiple code examples, and notes edge cases where conversion fails, offering a concise guide for developers.

PHPbackendfloatval
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP str_replace Function for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates how to replace or delete characters in strings through three practical code examples covering simple replacement, multiple replacements, and character removal.

backendstr_replacestring-manipulation
0 likes · 4 min read
Using PHP str_replace Function for String Replacement and Deletion
php Courses
php Courses
Oct 10, 2024 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how the PHP mysqli_query function can be used to run SELECT, INSERT, UPDATE, and DELETE statements against a MySQL database, provides a complete example with connection handling, error checking, result processing, and highlights related fetching functions.

MySQLibackendquery
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Python Programming Learning Circle
Python Programming Learning Circle
Oct 9, 2024 · Backend Development

Why Choose Sanic: An Asynchronous Python Web Framework for Production

The article compares traditional Python web frameworks with modern asynchronous alternatives, presents benchmark results showing Sanic’s superior speed, discusses the importance of avoiding blocking I/O, and highlights Sanic’s ecosystem, production readiness, documentation, and community support for developers seeking high‑performance backend solutions.

PythonWeb Frameworkbackend
0 likes · 10 min read
Why Choose Sanic: An Asynchronous Python Web Framework for Production
php Courses
php Courses
Oct 9, 2024 · Backend Development

Using PHP's is_float() Function to Check for Floating-Point Numbers

This tutorial explains PHP's is_float() function, demonstrates its boolean return behavior with simple and complex code examples, and discusses type‑checking nuances such as strict float detection and automatic conversion of integers and strings.

Type Checkingbackendis_float
0 likes · 5 min read
Using PHP's is_float() Function to Check for Floating-Point Numbers
Architect's Guide
Architect's Guide
Oct 7, 2024 · Backend Development

RabbitMQ Overview, Installation Guide, and Delayed Message Implementation

This article introduces RabbitMQ, explains its core features and messaging model, discusses why to use it for asynchronous, decoupled, and throttled processing, and provides step‑by‑step installation instructions for macOS, Windows, and CentOS along with Java code examples for configuring and using delayed messages via the rabbitmq_delayed_message_exchange plugin.

Delayed MessageInstallationJava
0 likes · 11 min read
RabbitMQ Overview, Installation Guide, and Delayed Message Implementation
Su San Talks Tech
Su San Talks Tech
Oct 5, 2024 · Backend Development

Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs

Idempotency ensures that repeated API calls produce the same result without side effects, and this guide explains its principles, common scenarios like payments and messaging, root causes of idempotency failures, and multiple implementation strategies—including unique constraints, optimistic and pessimistic locks, distributed locks, token mechanisms, state machines, and deduplication tables—with practical code examples.

API designbackenddistributed systems
0 likes · 14 min read
Mastering Idempotency: Design Patterns and Code Solutions for Reliable APIs
ITPUB
ITPUB
Oct 5, 2024 · Backend Development

How Tencent Docs Seamlessly Switches Between Monolith and Microservices

This article explains how Tencent Docs tackled the high runtime, deployment, and image‑distribution costs of a large microservice fleet by building a flexible architecture that can merge selected services into a few monolith binaries for private deployments, while retaining microservices for public scenarios, and shares the tooling, configuration, challenges, and performance gains achieved.

Configurationarchitecturebackend
0 likes · 15 min read
How Tencent Docs Seamlessly Switches Between Monolith and Microservices
Architect
Architect
Oct 4, 2024 · Backend Development

Building a Code Analysis Platform to Boost Microservice Backend Efficiency

This article details how a microservice‑based backend team designed and implemented a code‑analysis platform that creates a knowledge base, enables precise test selection and application slimming, and ultimately accelerates demand iteration while reducing dead code and unnecessary test runs.

Dynamic AnalysisStatic Analysisapplication slimming
0 likes · 18 min read
Building a Code Analysis Platform to Boost Microservice Backend Efficiency
Selected Java Interview Questions
Selected Java Interview Questions
Oct 3, 2024 · Backend Development

Spring Boot Log4j2 Integration and Logger Level Hot Update

This article explains how Spring Boot integrates Log4j2, details the internal logging initialization process, describes logger and LoggerConfig relationships, and demonstrates how to hot‑update logger levels using LoggersEndpoint or custom endpoints without restarting the application.

Logger LevelSpring Bootbackend
0 likes · 33 min read
Spring Boot Log4j2 Integration and Logger Level Hot Update
DaTaobao Tech
DaTaobao Tech
Sep 30, 2024 · Backend Development

KLimiter: Adaptive Rate Limiter for Downstream Resource Protection

KLimiter is an adaptive rate‑limiter that continuously monitors downstream resource water‑levels, computes impact coefficients from historical traffic, and dynamically throttles multiple upstream entries according to their priorities, using gradual reductions, slow‑start and fallback strategies to maintain stability and efficiency beyond static threshold methods.

adaptive algorithmbackendrate limiting
0 likes · 11 min read
KLimiter: Adaptive Rate Limiter for Downstream Resource Protection
php Courses
php Courses
Sep 30, 2024 · Backend Development

How to Use PHP's setcookie Function to Set Cookies

This article explains PHP's setcookie function, detailing its syntax, parameter meanings, and providing several practical code examples for creating cookies with different lifetimes, paths, domains, and security flags, while also noting how to retrieve cookies using the $_COOKIE superglobal.

PHPWeb Developmentbackend
0 likes · 4 min read
How to Use PHP's setcookie Function to Set Cookies
php Courses
php Courses
Sep 30, 2024 · Information Security

Using PHP password_hash for Secure Password Hashing

This article explains how to securely hash passwords in PHP using the password_hash function, demonstrates code examples, describes verification with password_verify, and highlights automatic salting and best practices for protecting user credentials.

HashingPHPbackend
0 likes · 4 min read
Using PHP password_hash for Secure Password Hashing
Open Source Tech Hub
Open Source Tech Hub
Sep 30, 2024 · Backend Development

Boost PHP Performance with Swow: Install, Coroutines, and Server Examples

This guide introduces Swow—a lightweight C core and PHP‑based library for high‑performance network programming—covers its key features, step‑by‑step installation, coroutine concepts, channel communication, and provides practical HTTP and TCP server code samples for PHP developers.

CoroutinesPHPPerformance
0 likes · 9 min read
Boost PHP Performance with Swow: Install, Coroutines, and Server Examples
Top Architect
Top Architect
Sep 29, 2024 · Backend Development

Microservice Architecture and Its Key Design Patterns

This article provides a comprehensive overview of microservice architecture, explaining its definition, advantages, disadvantages, when to adopt it, and detailing essential design patterns such as Database per Microservice, Event Sourcing, CQRS, Saga, BFF, API Gateway, Strangler, Circuit Breaker, externalized configuration, and consumer‑driven contract testing.

backend
0 likes · 24 min read
Microservice Architecture and Its Key Design Patterns
Architecture Digest
Architecture Digest
Sep 29, 2024 · Backend Development

Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel

This article explains how to design and implement a fixed-size FIFO export queue in a Java backend using Spring components and EasyExcel, covering business requirements, class definitions, code examples, testing results, and considerations for further enhancements such as Redis queues and high‑concurrency scenarios.

EasyExcelExportJava
0 likes · 12 min read
Implementing a Fixed‑Size FIFO Export Queue in a Java Backend with Spring and EasyExcel
php Courses
php Courses
Sep 29, 2024 · Backend Development

Using PHP’s is_numeric() Function to Check Numeric Values

This article explains PHP’s is_numeric() function, demonstrates how it determines whether variables or form inputs are numeric through detailed examples, and highlights special cases developers should watch for when validating numeric data.

backenddata validationis_numeric
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Sep 29, 2024 · Backend Development

Generating Heatmaps with Baidu Maps API in PHP

This tutorial explains how to generate and display heatmaps using the Baidu Maps API in PHP, covering preparation, API integration, data preparation, heatmap generation, and front‑end rendering with JavaScript, providing complete code examples for each step.

Baidu Mapsbackendvisualization
0 likes · 5 min read
Generating Heatmaps with Baidu Maps API in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 29, 2024 · Backend Development

How to Apply a Global URL Prefix to All Spring Boot Controllers

This article explains multiple ways to apply a common URL prefix to all Spring Boot controllers, covering servlet‑context configuration, property settings, annotation‑based approaches, server‑side forwarding, and Nginx reverse‑proxy techniques, with code samples and discussion of their advantages and drawbacks.

Annotationbackenddispatcher-servlet
0 likes · 7 min read
How to Apply a Global URL Prefix to All Spring Boot Controllers
Test Development Learning Exchange
Test Development Learning Exchange
Sep 28, 2024 · Backend Development

Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support

This guide demonstrates how to build a Python‑based automated testing framework that reads test cases from a MySQL database, sends HTTP requests, manages case dependencies and parameterization, and records responses, providing a modular structure with database, executor, and main components.

automated testingbackenddependency handling
0 likes · 6 min read
Building a Python‑MySQL Automated Test Framework with Dependency and Parameterization Support
Top Architect
Top Architect
Sep 27, 2024 · Backend Development

Comprehensive Guide to Nginx Configuration, Optimization, and Deployment

This article provides a step‑by‑step tutorial on understanding, simplifying, annotating, and optimizing Nginx configuration files, covering global, events, and http blocks, practical deployment tips, reverse‑proxy setup, gzip compression, maintenance pages, multi‑site hosting, static‑dynamic separation, and essential command‑line operations for Linux servers.

Optimizationbackenddeployment
0 likes · 20 min read
Comprehensive Guide to Nginx Configuration, Optimization, and Deployment
php Courses
php Courses
Sep 27, 2024 · Backend Development

Developing Real-Time Monitoring Applications with PHP and WebSocket

This article explains how to build real-time monitoring applications using PHP and the WebSocket protocol, covering the fundamentals of WebSocket, setting up a Ratchet server, creating client-side JavaScript connections, and providing complete code examples such as a stock price monitor.

Monitoringbackendreal-time
0 likes · 7 min read
Developing Real-Time Monitoring Applications with PHP and WebSocket
php Courses
php Courses
Sep 27, 2024 · Backend Development

Implementing User Registration and Data Storage with PHP Functions

This tutorial explains how to implement user registration and data storage in web applications using PHP functions, covering input validation, password hashing, MySQL connection, SQL insertion, and providing complete code examples for both registering users and storing generic data.

Data Storagebackenduser registration
0 likes · 4 min read
Implementing User Registration and Data Storage with PHP Functions
php Courses
php Courses
Sep 27, 2024 · Backend Development

Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP

This article explains how to connect to a MySQL database in PHP, execute a SELECT query, and use the mysqli_fetch_assoc function to fetch rows as associative arrays, including sample code and notes on handling multiple rows and error checking.

MySQLiassociative arraybackend
0 likes · 4 min read
Using mysqli_fetch_assoc to Retrieve Rows as Associative Arrays in PHP
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex and Convert Arrays

This article explains PHP's array_values() function, demonstrating how it returns a new array with reindexed numeric keys for both indexed and associative arrays, and highlights that the returned array is a copy, not a reference, with practical code examples.

ArrayData Structuresarray_values
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex and Convert Arrays
php Courses
php Courses
Sep 26, 2024 · Backend Development

How to Adjust Image Saturation in PHP Using Imagick

This tutorial explains how to install the Imagick extension in PHP and use its setImageAttribute() and setImageProperty() methods to modify an image's saturation, providing clear code examples and a summary of the process.

backendimage-processingimagick
0 likes · 4 min read
How to Adjust Image Saturation in PHP Using Imagick
php Courses
php Courses
Sep 26, 2024 · Backend Development

Using array_map() and array_filter() for Efficient PHP Array Operations

This tutorial explains how PHP's built‑in functions array_map() and array_filter() provide a declarative, readable, and often more performant alternative to traditional foreach loops for transforming and filtering arrays, with step‑by‑step examples ranging from basic usage to advanced combinations.

PHParray_filterarray_map
0 likes · 10 min read
Using array_map() and array_filter() for Efficient PHP Array Operations
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using PHP floatval() to Convert Variables to Float

This article explains how PHP's built‑in floatval() function converts various variable types—including integers, strings, booleans, and arrays—into floating‑point numbers, provides syntax details, multiple code examples, and notes on conversion edge cases.

backendfloatvalphp8
0 likes · 4 min read
Using PHP floatval() to Convert Variables to Float
php Courses
php Courses
Sep 25, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

This article explains the purpose and syntax of the PHP curl_close() function, demonstrates how to use it with curl_init() and curl_setopt() in a complete example, and highlights the resource, performance, and memory benefits of closing cURL sessions promptly.

backendcurlcurl_close
0 likes · 3 min read
Using curl_close() to Properly Close cURL Sessions in PHP
dbaplus Community
dbaplus Community
Sep 24, 2024 · Backend Development

How Ctrip Scaled Its Vacation Product Log System to Billions of Records

This article recounts the evolution of Ctrip's vacation product log platform—from a single‑table DB solution to a platformized ES + HBase architecture—detailing the challenges of massive data volume, the design of RowKey, write and query flows, and the subsequent business and supplier empowerment.

ElasticsearchHBasearchitecture
0 likes · 14 min read
How Ctrip Scaled Its Vacation Product Log System to Billions of Records
php Courses
php Courses
Sep 24, 2024 · Backend Development

Using PHP array_multisort() to Sort Multiple Arrays

This article explains the PHP array_multisort() function, its syntax and parameters, and demonstrates how to sort several related arrays—such as names, ages, and scores—by a primary key using a concrete code example and the resulting output.

array_multisortbackendphp8
0 likes · 4 min read
Using PHP array_multisort() to Sort Multiple Arrays
php Courses
php Courses
Sep 24, 2024 · Backend Development

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

This tutorial explains PHP's in_array() function, covering its syntax, parameters, and three practical examples—including basic existence checks, strict type comparisons, and retrieving keys from associative arrays—to help developers efficiently search arrays in backend development.

ArrayPHPbackend
0 likes · 4 min read
Using PHP in_array() Function: Syntax, Parameters, and Practical Examples
php Courses
php Courses
Sep 24, 2024 · Backend Development

Implementing Logistics Tracking in a PHP E-commerce Application

This guide outlines the step‑by‑step process for adding a logistics tracking feature to a PHP‑based online store, covering data collection, API integration, data parsing, storage, display, and regular updates to improve user trust and satisfaction.

E‑commercebackendlogistics
0 likes · 4 min read
Implementing Logistics Tracking in a PHP E-commerce Application
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Comprehensive Nginx Configuration Guide: Basics, Optimization, and Deployment

This article provides a step‑by‑step walkthrough of Nginx configuration, explaining the original nginx.conf file, simplifying it, describing the global, events, and http blocks, and covering practical deployment, reverse‑proxy setup, gzip compression, maintenance pages, multi‑site hosting, static‑dynamic separation, and essential command‑line operations.

backenddeploymentgzip
0 likes · 17 min read
Comprehensive Nginx Configuration Guide: Basics, Optimization, and Deployment
Top Architect
Top Architect
Sep 23, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic, and third‑party modules, master‑worker process model, asynchronous non‑blocking I/O mechanisms, FastCGI and PHP‑FPM integration, and practical configuration and tuning tips for optimal server operation.

OptimizationPerformancebackend
0 likes · 46 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Wukong Talks Architecture
Wukong Talks Architecture
Sep 23, 2024 · Backend Development

Evolution of the Ctrip Travel Product Log System: Architecture, Challenges, and Solutions

This article describes the development trajectory of Ctrip's travel product log system, detailing its three major phases—from a single‑table DB approach to a platform‑based solution and finally an empowered version—while discussing technical challenges, design decisions, and the implementation of HBase, Elasticsearch, and related components to handle billions of log entries efficiently.

Big DataElasticsearchHBase
0 likes · 15 min read
Evolution of the Ctrip Travel Product Log System: Architecture, Challenges, and Solutions
Liangxu Linux
Liangxu Linux
Sep 22, 2024 · Backend Development

Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules

This article explains Nginx's location matching order, clarifying the difference between literal (prefix) and regular‑expression locations, how exact, ^~, and = prefixes affect the search, and provides step‑by‑step examples with curl tests to illustrate the resulting behavior.

Configurationbackendlocation
0 likes · 27 min read
Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules
phodal
phodal
Sep 22, 2024 · Backend Development

Can 10+ AI Agents Fully Automate API Development? Lessons from a Shire Experiment

This article examines the challenges of fully automated API creation, outlines a classic API lifecycle, and details a practical experiment that uses more than ten specialized AI agents in the Shire language to assist design, coding, testing, and documentation while highlighting the need for human oversight.

api-developmentbackendtesting
0 likes · 11 min read
Can 10+ AI Agents Fully Automate API Development? Lessons from a Shire Experiment
Top Architect
Top Architect
Sep 21, 2024 · Backend Development

Refactoring a Task System with Unified Message Format and Configurable Rules Using QLExpress

The article describes how a senior architect restructured a company's activity middle‑platform task system by standardizing message formats, introducing a rule engine (QLExpress) for configurable task completion conditions, and automating integration, while also interspersing promotional content for AI tools and community services.

Message QueueQLExpressTask System
0 likes · 11 min read
Refactoring a Task System with Unified Message Format and Configurable Rules Using QLExpress
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 21, 2024 · Backend Development

Backend Anti‑Patterns and Optimization Strategies for MySQL, Redis, and Thread Pools

This article examines common backend anti‑patterns such as inefficient MySQL for‑loops, heavy multi‑query methods, full‑table scans, improper thread‑pool creation, and long‑running transactions, and provides practical optimization recommendations including query consolidation, caching, indexing, and proper resource management.

MySQLOptimizationanti-patterns
0 likes · 12 min read
Backend Anti‑Patterns and Optimization Strategies for MySQL, Redis, and Thread Pools
Architect
Architect
Sep 20, 2024 · Backend Development

18 Essential API Design Rules Every Backend Engineer Should Follow

This article presents a comprehensive checklist of 18 practical API design rules—including signature, encryption, IP whitelisting, rate limiting, validation, unified responses, exception handling, logging, idempotency, pagination, stress testing, async processing, data masking, documentation, request methods, headers, batch operations, and single‑responsibility principles—to help developers build secure, maintainable, and high‑performance services.

API designValidationbackend
0 likes · 18 min read
18 Essential API Design Rules Every Backend Engineer Should Follow
php Courses
php Courses
Sep 20, 2024 · Backend Development

Using PHP is_string() to Determine Whether a Variable Is a String

This article explains the PHP is_string() function, its simple syntax, and demonstrates through clear code examples how to check variables like $name, $age, and $city for string type, while highlighting best practices for input validation and security.

PHPType Checkingbackend
0 likes · 4 min read
Using PHP is_string() to Determine Whether a Variable Is a String
Ubiquitous Tech
Ubiquitous Tech
Sep 19, 2024 · Backend Development

Exploring wxjava: A Deep Dive into the Open‑Source WeChat SDK Design Process

This article walks through the wxjava open‑source Java SDK for WeChat, detailing its starter pattern, configuration handling, request/response modeling, token management, custom annotations, duplicate‑message checkers, and the design patterns employed, offering concrete code examples to help readers master SDK design.

Design PatternsJava SDKWeChat
0 likes · 18 min read
Exploring wxjava: A Deep Dive into the Open‑Source WeChat SDK Design Process
Huolala Tech
Huolala Tech
Sep 19, 2024 · Operations

How to Build a Team‑Wide Incident Response Platform for Seamless Online Ops

This article details XiaoBai's journey from struggling with ad‑hoc incident handling to designing a comprehensive platform that captures anomaly data, diagnoses root causes, and enables every team member to respond quickly and consistently, ultimately achieving a "everyone can respond" operation model.

Platform designRoot Cause Analysisbackend
0 likes · 14 min read
How to Build a Team‑Wide Incident Response Platform for Seamless Online Ops