Tagged articles

backend

5000 articles · Page 14 of 50
Java Backend Technology
Java Backend Technology
Nov 26, 2024 · Backend Development

How the Chain of Responsibility Pattern Simplifies Java Import Logic

This article explains the Chain of Responsibility design pattern, shows why a naïve nested‑if implementation is problematic, and demonstrates step‑by‑step refactorings—including abstract handlers and a factory‑based configuration—to create clean, maintainable Java backend code.

Chain of ResponsibilityDesign PatternsRefactoring
0 likes · 12 min read
How the Chain of Responsibility Pattern Simplifies Java Import Logic
Architect
Architect
Nov 25, 2024 · Backend Development

How to Refactor Bloated Spring Controllers into Clean, Maintainable Code

The article examines common pain points of oversized Spring controllers, contrasts a verbose implementation with a concise version that leverages @Valid and assertion utilities, and provides step‑by‑step guidance on validation annotations, global exception handling, and best‑practice refactoring to improve readability and maintainability.

@ValidController RefactoringSpring Boot
0 likes · 11 min read
How to Refactor Bloated Spring Controllers into Clean, Maintainable Code
php Courses
php Courses
Nov 25, 2024 · Backend Development

How to Use PHP trim() to Remove Whitespace and Specified Characters

This article explains the PHP trim() function, detailing its default behavior of removing whitespace from both ends of a string, how to use the optional character mask to strip specific characters, and provides clear code examples with expected output for each case.

Functionbackendstring
0 likes · 5 min read
How to Use PHP trim() to Remove Whitespace and Specified Characters
php Courses
php Courses
Nov 25, 2024 · Backend Development

How to Use PHP's is_object Function to Check Variable Types

This article explains the PHP is_object function, its syntax, and demonstrates with code examples how to determine whether a variable is an object or not, highlighting the difference between objects and arrays and the importance of proper type checking in backend development.

PHPType Checkingbackend
0 likes · 3 min read
How to Use PHP's is_object Function to Check Variable Types
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 24, 2024 · Backend Development

Common HTTP Request and Response Headers Explained

This article provides a comprehensive overview of common HTTP request and response headers, explaining their purposes, typical usage, and example syntax, helping developers prepare for interviews and deepen their understanding of web communication fundamentals.

HeadersWeb Developmentbackend
0 likes · 9 min read
Common HTTP Request and Response Headers Explained
Open Source Tech Hub
Open Source Tech Hub
Nov 23, 2024 · Backend Development

What’s New in ThinkPHP 8.1? Detailed Feature and Fix List

ThinkPHP 8.1, slated for release in November, brings extensive improvements over 8.0—including routing enhancements, validation upgrades, multi‑module support, new middleware controls, expanded cache options, refined exception handling, and compatibility with PHP 8.4—providing developers with a more robust and flexible backend framework.

CachePHPThinkPHP
0 likes · 4 min read
What’s New in ThinkPHP 8.1? Detailed Feature and Fix List
php Courses
php Courses
Nov 22, 2024 · Backend Development

Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization

This article explains PHP's array_unique() function, covering its definition, parameters, implementation, usage examples, and performance optimization techniques, while providing complete code snippets and practical guidance for developers, including discussion of alternative approaches such as array_flip and array_keys for faster deduplication.

PHParray_uniquebackend
0 likes · 5 min read
Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization
Programmer XiaoFu
Programmer XiaoFu
Nov 22, 2024 · Backend Development

15 Must-Know SpringBoot Startup Extension Points – Which Have You Used?

This article enumerates fifteen common SpringBoot startup extension points, explains their positions in the bean lifecycle, illustrates each with concrete code snippets and usage scenarios, and provides a visual call‑order diagram to help developers harness these hooks for custom initialization and middleware development.

BeanLifecycleExtensionPointsJava
0 likes · 18 min read
15 Must-Know SpringBoot Startup Extension Points – Which Have You Used?
Top Architect
Top Architect
Nov 21, 2024 · Backend Development

Design and Architecture of a Scalable Payment System

This article presents a comprehensive overview of payment system architecture, detailing core transaction and payment modules, service governance, data consistency, asynchronous processing, performance testing, and practical production practices for building a robust backend payment platform.

AsynchronousService Governancebackend
0 likes · 11 min read
Design and Architecture of a Scalable Payment System
php Courses
php Courses
Nov 21, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific needs, learning opportunities, long‑term maintenance, performance optimization, ease of use, and security—while also outlining the course chapters covering MVC, routing, error handling, namespaces, singleton pattern, configuration, and database operations.

LearningMVCRouting
0 likes · 3 min read
Why Build a Custom PHP Framework and Course Outline
Code Mala Tang
Code Mala Tang
Nov 20, 2024 · Backend Development

Can Node.js Power Millions of Users? Scaling Strategies Revealed

This article explores whether Node.js can handle millions of concurrent users, explains the core non‑blocking architecture, outlines challenges such as the single‑thread model and memory leaks, and provides practical scaling tactics like clustering, load balancing, caching, and database optimization.

ClusteringNode.jsPerformance
0 likes · 10 min read
Can Node.js Power Millions of Users? Scaling Strategies Revealed
DevOps
DevOps
Nov 19, 2024 · Backend Development

10 Common Interface Performance Optimization Techniques for Backend Development

This article presents ten widely applicable backend performance‑optimization strategies—including defensive validation, batch processing to eliminate N+1 queries, asynchronous execution, parallelism, caching, connection pooling, security hardening, compression, message‑queue decoupling, and design‑pattern reuse—each illustrated with Go code examples and practical case studies.

AsynchronousDesign PatternsValidation
0 likes · 30 min read
10 Common Interface Performance Optimization Techniques for Backend Development
Architecture Digest
Architecture Digest
Nov 19, 2024 · Backend Development

Implementing Idempotency in Spring Boot Using Redis and Custom Annotations

This article explains the concept of idempotency, identifies which HTTP operations are naturally idempotent, describes why idempotency is needed in scenarios like timeout retries, async callbacks and message queues, and provides a complete Spring Boot implementation using a custom annotation, Redis storage, AOP interception, token generation and example controllers.

Redisbackendidempotency
0 likes · 8 min read
Implementing Idempotency in Spring Boot Using Redis and Custom Annotations
Code Ape Tech Column
Code Ape Tech Column
Nov 19, 2024 · Backend Development

Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications

This article demonstrates how to wrap the EasyExcel library in a Spring Boot + MyBatis‑Plus project, providing a unified component that simplifies Excel import and export through concise annotations, reusable service methods, and customizable converters while addressing common pitfalls such as date handling and template support.

EasyExcelExcelImportExportJava
0 likes · 15 min read
Encapsulating EasyExcel for Simplified Import/Export in Spring Boot Applications
php Courses
php Courses
Nov 19, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, detailing its syntax, demonstrating simple replacements, multiple replacements using arrays, and character deletions with code examples, while also noting additional options and linking to further PHP learning resources.

PHPbackendstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Nov 19, 2024 · Mobile Development

Full-Stack Mobile App Development with uniapp and ThinkPHP

This course, designed for developers with basic front‑end experience, teaches how to combine the uniapp framework and ThinkPHP backend to build high‑performance, cross‑platform mobile applications, covering topics such as data modeling, token authentication, middleware, API design, pagination, and deployment.

Full-StackThinkPHPUniApp
0 likes · 3 min read
Full-Stack Mobile App Development with uniapp and ThinkPHP
JavaScript
JavaScript
Nov 19, 2024 · Frontend Development

11 Must‑Use Open‑Source Tools for Freelance Developers (Front‑to‑Back)

Discover the 11 most popular open‑source projects that freelance developers rely on—from fast front‑end build tools like Vite and Tailwind CSS to back‑end frameworks such as Express, ORM Sequelize, real‑time Socket.IO, testing with Jest, code quality with ESLint and Prettier, and containerization with Docker—each with concise usage examples.

DockerJavaScriptbackend
0 likes · 11 min read
11 Must‑Use Open‑Source Tools for Freelance Developers (Front‑to‑Back)
php Courses
php Courses
Nov 18, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

PHP's rawurldecode() function decodes URL‑encoded strings—typically those produced by urlencode()—back to their original form, with syntax, usage examples, and a note on its difference from urldecode(), making it a handy tool for handling URLs in backend web development.

PHPURL decodingWeb Development
0 likes · 3 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 15, 2024 · Backend Development

Implementing a View‑Once Image Feature with Spring Boot and MySQL

This guide explains how to design and build a privacy‑focused, view‑once image sharing system using Spring Boot, MySQL, Thymeleaf, and optional cloud storage, covering requirements analysis, architecture, environment setup, code implementation, security considerations, performance optimizations, testing, and deployment.

Image BurnMySQLSpring Boot
0 likes · 15 min read
Implementing a View‑Once Image Feature with Spring Boot and MySQL
Architect
Architect
Nov 14, 2024 · Backend Development

How to Set JVM Parameters for a Platform Handling 1 Million Daily Login Requests on an 8 GB Server

This article explains, step by step, how to estimate capacity, choose the appropriate garbage collector, size the young and old generations, configure stack memory, adjust object aging thresholds, and fine‑tune CMS or G1 settings so that a Java service handling one million daily logins can run reliably on an 8 GB node.

Garbage CollectionJVMJava
0 likes · 24 min read
How to Set JVM Parameters for a Platform Handling 1 Million Daily Login Requests on an 8 GB Server
Selected Java Interview Questions
Selected Java Interview Questions
Nov 14, 2024 · Backend Development

AviatorScript: High‑Performance JVM‑Based Expression Engine and Scripting Language – Features and Usage Guide

This article introduces AviatorScript, a lightweight high‑performance expression engine and scripting language for the JVM (including Android), outlines its core features, demonstrates basic expression evaluation, variable handling, built‑in and custom functions, and shows how to run full scripts with code examples.

AviatorExpression EngineJVM
0 likes · 8 min read
AviatorScript: High‑Performance JVM‑Based Expression Engine and Scripting Language – Features and Usage Guide
php Courses
php Courses
Nov 14, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, its syntax, and demonstrates three examples—simple replacement, multiple replacements using arrays, and character deletion—showing how to modify strings efficiently in backend development, including sample code and expected output for each case.

backendstr_replacestring
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
Java Architecture Stack
Java Architecture Stack
Nov 14, 2024 · Backend Development

How Read‑Write Lock Separation Supercharges E‑Commerce Inventory

This article explains the read‑write lock separation design pattern, its principles, suitable scenarios such as high‑concurrency inventory queries, and provides a complete Java implementation with ReentrantReadWriteLock, including code samples, testing, performance benefits, and a discussion of its advantages and limitations.

InventoryManagementJavaPerformance
0 likes · 9 min read
How Read‑Write Lock Separation Supercharges E‑Commerce Inventory
Architect's Guide
Architect's Guide
Nov 14, 2024 · Backend Development

Implementing the Chain of Responsibility Pattern for Product Validation in Java

This article explains the Chain of Responsibility design pattern, demonstrates its application in a product creation workflow with concrete Java code, shows how to configure and assemble handlers dynamically using Spring, and discusses the pattern's advantages, drawbacks, and testing scenarios.

Chain of ResponsibilityDesign PatternJava
0 likes · 20 min read
Implementing the Chain of Responsibility Pattern for Product Validation in Java
Programmer XiaoFu
Programmer XiaoFu
Nov 14, 2024 · Backend Development

Designing Elegant API Controllers: Security, Idempotency, and Best Practices

This guide walks through building robust API controller interfaces by covering request signing, RSA encryption, IP whitelisting, rate limiting, parameter validation, unified response formats, exception handling, logging, idempotent design, request size limits, stress testing, asynchronous processing, data masking, and comprehensive documentation.

API designLoggingbackend
0 likes · 15 min read
Designing Elegant API Controllers: Security, Idempotency, and Best Practices
php Courses
php Courses
Nov 13, 2024 · Backend Development

Using PHP strtr() Function for String Replacement

This article explains the PHP strtr() function, detailing its syntax and demonstrating various replacement scenarios—including simple character swaps, multiple replacements, sequence substitutions, and partial removals—through clear code examples and shows how it can be applied in practical string manipulation tasks.

PHPbackendcode examples
0 likes · 4 min read
Using PHP strtr() Function for String Replacement
php Courses
php Courses
Nov 12, 2024 · Backend Development

Analysis of Process Mutual Exclusion in PHP and Automatic Semaphore Release

This article explains how a PHP script uses a named semaphore for process mutual exclusion, demonstrates why a second concurrent process can acquire the semaphore after the first finishes, and clarifies that PHP automatically releases held semaphores when a process terminates.

PHPSemaphorebackend
0 likes · 3 min read
Analysis of Process Mutual Exclusion in PHP and Automatic Semaphore Release
macrozheng
macrozheng
Nov 12, 2024 · Backend Development

Boost Kafka Throughput in Spring Boot: Batch Consumption Guide

This article demonstrates how to integrate Kafka with Spring Boot, add necessary dependencies and configuration, implement both single‑message and batch consumers, and tune batch settings to dramatically improve processing speed for millions of records in a microservice environment.

BatchProcessingJavaKafka
0 likes · 12 min read
Boost Kafka Throughput in Spring Boot: Batch Consumption Guide
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 12, 2024 · Backend Development

Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide

This article introduces the Magic‑API framework for Java, explains its extensive features, walks through environment setup, dependency configuration, and demonstrates real‑world use cases such as data source management, pagination, SQL, MyBatis, HTTP calls, Redis integration, and inline Java execution within a Spring Boot 3 project.

JavaRESTapi-development
0 likes · 6 min read
Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 11, 2024 · Backend Development

Cache Penetration and Four Effective Mitigation Strategies

Cache penetration, a common issue in large-scale websites where malicious or non‑existent key requests bypass caches and overload databases, can cause crashes; this article explains the problem and presents four mitigation techniques—caching empty objects, rate limiting, blacklist mechanisms, and Bloom filters—to protect backend systems.

Bloom filterCache PenetrationRedis
0 likes · 4 min read
Cache Penetration and Four Effective Mitigation Strategies
Architect
Architect
Nov 10, 2024 · Backend Development

How to Prevent Duplicate Submissions in Java APIs with Redis and Redisson Locks

This article explains why API debouncing is crucial for backend Java services, outlines which endpoints need protection, describes how to identify duplicate requests, and provides step‑by‑step implementations using Redis shared‑cache and Redisson distributed locks with concrete code examples and test results.

JavaRedisRedisson
0 likes · 14 min read
How to Prevent Duplicate Submissions in Java APIs with Redis and Redisson Locks
Python Programming Learning Circle
Python Programming Learning Circle
Nov 9, 2024 · Fundamentals

A One-Month Python Learning Roadmap: Weekly Plans, Projects, and Career Preparation

This article presents a detailed four‑week, 28‑day Python learning roadmap that guides beginners from core concepts to real‑world projects, covering fundamentals, data structures, OOP, web development, databases, testing, and job‑search preparation, with daily time allocations and resource suggestions.

Pythonbackendcareer-prep
0 likes · 10 min read
A One-Month Python Learning Roadmap: Weekly Plans, Projects, and Career Preparation
Open Source Tech Hub
Open Source Tech Hub
Nov 8, 2024 · Information Security

Why Your WeChat Mini‑Program Is Scanned During Review and How to Interpret the Alerts

A migration mistake left a mini‑program pointing to a test endpoint, triggering an emergency release that generated Tencent Security Team scan alerts; the article explains the log evidence, the automatic security scanning process during WeChat review, and how developers can handle and mitigate these notifications.

Error LogsSecurity ScanTencent Security
0 likes · 10 min read
Why Your WeChat Mini‑Program Is Scanned During Review and How to Interpret the Alerts
Python Programming Learning Circle
Python Programming Learning Circle
Nov 7, 2024 · Backend Development

9 Best Practices for Enterprise Python Development

This article presents nine essential best‑practice steps for building robust, maintainable Python backend applications, covering virtual environments, dependency management, logging, configuration files, testing, asynchronous I/O, Docker containerization, CI/CD automation, and ORM usage with a practical Flask example.

CI/CDORMPython
0 likes · 11 min read
9 Best Practices for Enterprise Python Development
php Courses
php Courses
Nov 7, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

This article explains PHP's rawurldecode() function, detailing its purpose for decoding URL‑encoded strings, providing syntax, a step‑by‑step example that converts an encoded URL back to its original form, and notes its limitations compared to urldecode(), making it a useful tool for backend web development.

PHPURL decodingWeb Development
0 likes · 4 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
Sohu Tech Products
Sohu Tech Products
Nov 6, 2024 · Operations

Design and Implementation of a Business Operation Log Management System Using Canal and Elasticsearch

The article presents a decoupled business operation log management architecture that uses Alibaba’s Canal to capture MySQL binlog changes, streams them through Kafka, and stores structured before‑and‑after records in Elasticsearch with nested mappings, enabling multi‑table correlation via transaction IDs, visual querying, and reliable rollback without modifying application code.

CanalData PipelineElasticsearch
0 likes · 12 min read
Design and Implementation of a Business Operation Log Management System Using Canal and Elasticsearch
Java Tech Enthusiast
Java Tech Enthusiast
Nov 6, 2024 · Backend Development

Java Interview Insights: Spring Boot Startup, Spring MVC Flow, MySQL Indexes, and Redis Performance

The article recounts a recent Hikvision interview, outlining campus salary ranges and providing a technical Q&A that explains Spring Boot’s startup sequence, Spring MVC request handling, MySQL index structures, creation rules, and performance diagnostics, as well as Redis’s in‑memory, single‑threaded architecture and optional I/O threading.

InterviewJavaMySQL
0 likes · 20 min read
Java Interview Insights: Spring Boot Startup, Spring MVC Flow, MySQL Indexes, and Redis Performance
php Courses
php Courses
Nov 6, 2024 · Backend Development

Using PHP's array_filter() Function to Filter Arrays

This article explains how PHP's array_filter() function works, details its parameters, and provides two practical code examples—filtering even numbers from a numeric array and removing empty values from an associative array—to demonstrate flexible array filtering techniques.

PHParray filteringarray_filter
0 likes · 4 min read
Using PHP's array_filter() Function to Filter Arrays
php Courses
php Courses
Nov 6, 2024 · Backend Development

Using PHP file() Function to Read Files into an Array

This article explains how the PHP file() function reads a file's contents into an array, details its syntax and parameters, demonstrates basic and flag‑based usage with code examples, and highlights important behaviors such as line handling and newline removal.

ArrayFile Handlingbackend
0 likes · 5 min read
Using PHP file() Function to Read Files into an Array
Architecture Digest
Architecture Digest
Nov 5, 2024 · Backend Development

Spring Annotation-Based Development and MyBatis Integration Tutorial

This article explains how Spring 3.0's pure annotation mode simplifies bean configuration, demonstrates using @Component, @Scope, @Autowired, @Qualifier, @Value, and @PropertySource for dependency injection and property loading, and shows step‑by‑step integration of MyBatis with Spring, including required dependencies and configuration classes.

ConfigurationJavaMyBatis
0 likes · 8 min read
Spring Annotation-Based Development and MyBatis Integration Tutorial
Architect
Architect
Nov 3, 2024 · Backend Development

How Ctrip Scaled Its Ticket Booking System for Flash‑Sale Events

This article analyzes the challenges Ctrip faced when handling massive traffic during ticket flash‑sale events and details the architectural upgrades, caching strategies, database optimizations, supplier integration safeguards, and traffic‑control mechanisms that enabled stable, fast, and consistent booking experiences.

System Architecturebackendcaching
0 likes · 18 min read
How Ctrip Scaled Its Ticket Booking System for Flash‑Sale Events
Python Programming Learning Circle
Python Programming Learning Circle
Nov 1, 2024 · Backend Development

Designing a Python SDK for Cloud TTS Services: Critique and Refactoring of Volcengine's SDK

This article examines the shortcomings of Volcengine's Python TTS SDK, proposes a cleaner design using request interceptors or Auth objects, demonstrates refactored code examples with the Tetos library, and explains how to integrate signing logic into standard HTTP clients for more maintainable backend development.

PythonSDKbackend
0 likes · 10 min read
Designing a Python SDK for Cloud TTS Services: Critique and Refactoring of Volcengine's SDK
php Courses
php Courses
Nov 1, 2024 · Backend Development

Using PHP's array_pop() to Remove the Last Element from an Array

This article explains how the PHP array_pop() function removes and returns the last element of an array, demonstrates its usage with a fruit array example, shows the resulting output, and discusses considerations such as multiple removals, looping, and preserving the original array.

PHParray manipulationarray_pop
0 likes · 4 min read
Using PHP's array_pop() to Remove the Last Element from an Array
DevOps
DevOps
Oct 31, 2024 · Backend Development

Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions

This article explores the core competencies of backend engineers, emphasizing accurate problem abstraction, discusses Go's ServerCodec and I/O interfaces, demonstrates algorithmic solutions to the Word Search II problem, and offers practical advice on improving coding skills through studying language features, system design, and effective learning habits.

Algorithmabstractionbackend
0 likes · 19 min read
Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions
Sohu Tech Products
Sohu Tech Products
Oct 30, 2024 · Backend Development

How to Build Dynamic Parameter‑Level Rate Limiting with Sentinel

This article explains the need for dynamic, fine‑grained rate limiting in high‑traffic services, describes Sentinel's core mechanisms, and details a three‑step implementation—data collection, rule management, and traffic verification—using sliding‑window counters and priority‑based throttling.

Dynamic ThrottlingSentinelbackend
0 likes · 17 min read
How to Build Dynamic Parameter‑Level Rate Limiting with Sentinel
Selected Java Interview Questions
Selected Java Interview Questions
Oct 30, 2024 · Backend Development

Implementing Short URL Redirection with SpringBoot

This article explains the concept of short‑URL redirection, its benefits, and provides a complete SpringBoot implementation—including database schema, entity, DAO, service, controller, and testing code—to convert long links into short, trackable links and handle redirects.

JavaMyBatisRedirect
0 likes · 11 min read
Implementing Short URL Redirection with SpringBoot
php Courses
php Courses
Oct 30, 2024 · Backend Development

Using PHP array_pop to Remove and Return the Last Element of an Array

This article explains how PHP's array_pop function removes and returns the last element of an array, demonstrates its syntax, provides a complete code example with expected output, and highlights its usefulness for array manipulation in backend development.

Arrayarray_popbackend
0 likes · 3 min read
Using PHP array_pop to Remove and Return the Last Element of an Array
php Courses
php Courses
Oct 30, 2024 · Backend Development

Using PHP's array_flip() Function to Swap Keys and Values

This article explains PHP's array_flip() function, showing its syntax, behavior with duplicate values, and practical examples that demonstrate how to exchange array keys and values and apply the function for look‑ups and data manipulation.

Data manipulationarray_flipbackend
0 likes · 5 min read
Using PHP's array_flip() Function to Swap Keys and Values
php Courses
php Courses
Oct 30, 2024 · Backend Development

Comparing PHP and Node.js: Advantages, Disadvantages, and Migration Considerations

This article examines the shift from PHP to Node.js, outlining Node.js’s asynchronous, JavaScript‑unified, micro‑service‑friendly advantages and its thriving package ecosystem, while also highlighting PHP’s stability, mature CMS support, and hosting ease, and discusses key migration challenges to help developers decide which platform best fits their project needs.

Node.jsPHPWeb Development
0 likes · 10 min read
Comparing PHP and Node.js: Advantages, Disadvantages, and Migration Considerations
php Courses
php Courses
Oct 29, 2024 · Backend Development

PHP Functions for Randomly Shuffling Arrays

This article explains PHP’s built‑in functions for randomly shuffling arrays—shuffle() and array_rand()—provides code examples for each, and demonstrates a practical case of assigning students to classes using these functions, followed by links to additional programming learning resources.

Array ShufflePHParray_rand
0 likes · 3 min read
PHP Functions for Randomly Shuffling Arrays
php Courses
php Courses
Oct 29, 2024 · Backend Development

Swapping Array Keys and Values in PHP: array_flip vs Manual Method

This article explains two efficient ways to swap keys and values of a PHP array—using the built‑in array_flip() function and a manual loop—compares their performance with a microtime benchmark, and provides complete code examples for each approach.

Arrayarray_flipbackend
0 likes · 3 min read
Swapping Array Keys and Values in PHP: array_flip vs Manual Method
21CTO
21CTO
Oct 28, 2024 · Backend Development

What Are the Top 5 Python Packages on PyPI? Surprising Rankings Revealed

This article reveals the surprising top‑five Python packages on PyPI, explains why popular libraries like NumPy and Pandas are not among them, and provides installation details and key features for each of the leading packages such as boto3, urllib3, botocore, aiobotocore, and Requests.

Boto3PyPIbackend
0 likes · 7 min read
What Are the Top 5 Python Packages on PyPI? Surprising Rankings Revealed
php Courses
php Courses
Oct 28, 2024 · Backend Development

How to Use PHP shuffle() to Randomly Rearrange Array Elements

This article explains the PHP shuffle() function, detailing its syntax, behavior of modifying the original indexed array, return value, and provides multiple code examples—including handling of non-indexed arrays—to demonstrate how to randomly reorder array elements in PHP.

ArrayCodingFunction
0 likes · 4 min read
How to Use PHP shuffle() to Randomly Rearrange Array Elements
php Courses
php Courses
Oct 28, 2024 · Backend Development

Impact of Microsoft Not Supporting PHP 8 on Windows Platforms

The article explains PHP 8’s new features and performance benefits, then details how Microsoft’s lack of support on Windows can reduce compatibility, limit ecosystem growth, lower developer confidence, and affect the adoption of PHP 8 in both desktop and cloud environments.

MicrosoftWindowsbackend
0 likes · 5 min read
Impact of Microsoft Not Supporting PHP 8 on Windows Platforms
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 28, 2024 · Backend Development

Resolving Missing Request Headers in Spring MVC Multithreaded Environments

This article analyzes why Spring MVC fails to retrieve request header fields in multithreaded scenarios, explains the underlying ThreadLocal storage mechanism, critiques a common but flawed solution, and presents reliable approaches using CountDownLatch, manual RequestContextHolder propagation, and request caching to ensure header availability across threads.

JavaRequestContextHolderThreadLocal
0 likes · 10 min read
Resolving Missing Request Headers in Spring MVC Multithreaded Environments
Open Source Tech Hub
Open Source Tech Hub
Oct 27, 2024 · Backend Development

How FastRoute Supercharges PHP Routing with One‑Pass Regex

This article explains FastRoute, a high‑performance PHP routing library created by Nikita Popov, detailing its design, core dispatcher and router mechanisms, feature set, single‑regex compilation technique, code examples, and real‑world usage within the Webman framework.

FastRoutePHPPerformance
0 likes · 8 min read
How FastRoute Supercharges PHP Routing with One‑Pass Regex
MaGe Linux Operations
MaGe Linux Operations
Oct 26, 2024 · Backend Development

Step-by-Step HAProxy Deployment and Configuration Guide for Load Balancing

This tutorial walks through installing HAProxy, configuring global, defaults, listen, frontend, and backend sections, setting up ACL‑based routing, defining server groups for default, website, and blog services, testing load‑balancing behavior, and accessing the HAProxy statistics page, all with complete command‑line examples.

ACLHAProxyLinux
0 likes · 15 min read
Step-by-Step HAProxy Deployment and Configuration Guide for Load Balancing
Su San Talks Tech
Su San Talks Tech
Oct 26, 2024 · Databases

9 Proven Tricks to Supercharge Your Pagination API Performance

This article presents nine practical techniques—including default filters, smaller page sizes, reduced joins, index tuning, straight_join usage, data archiving, count(*) optimization, ClickHouse offloading, and read/write splitting—to dramatically improve the speed and scalability of pagination query interfaces.

PaginationSQLbackend
0 likes · 13 min read
9 Proven Tricks to Supercharge Your Pagination API Performance
Code Ape Tech Column
Code Ape Tech Column
Oct 25, 2024 · Fundamentals

Understanding Why BigDecimal Preserves Precision in Java

This article explains how Java's BigDecimal class maintains exact decimal precision by scaling numbers to long integers, detailing its internal fields, demonstrating addition with sample code, and analyzing the underlying add method logic to show why no precision is lost.

ArithmeticBigDecimalJava
0 likes · 6 min read
Understanding Why BigDecimal Preserves Precision in Java
php Courses
php Courses
Oct 25, 2024 · Backend Development

Handling Special Cases in PHP Function Object Programming (FOP)

This article explains how PHP's Function Object Programming treats $this, static methods, anonymous functions, and call_user_func() differently from standard OOP, providing code examples and guidance to avoid common pitfalls when using functions as objects.

backendfunction-object-programmingphp-fop
0 likes · 3 min read
Handling Special Cases in PHP Function Object Programming (FOP)
Wukong Talks Architecture
Wukong Talks Architecture
Oct 25, 2024 · Backend Development

Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment

The article details a mysterious production stall at 70% caused by a TCP packet length field misalignment when the configuration name is "rabbit‑TD", explains the step‑by‑step investigation using server logs and packet captures, identifies the root cause of the merged D4/D5 packets, and proposes two concrete fixes to correct the length handling.

DebuggingTCPbackend
0 likes · 10 min read
Debugging a TCP Communication Bug That Stops Device Production at 70% Due to Length Field Misalignment
Selected Java Interview Questions
Selected Java Interview Questions
Oct 24, 2024 · Information Security

Guide to Using the Sensitive‑Word Java Library for Sensitive Word Detection and Replacement

This article provides a step‑by‑step tutorial on integrating the Sensitive‑Word Java library via Maven, demonstrates core find/replace APIs, showcases advanced detection features such as email, URL, IPv4 and custom replacement strategies, and includes complete code examples and output results.

JavaMavenSensitive Word
0 likes · 12 min read
Guide to Using the Sensitive‑Word Java Library for Sensitive Word Detection and Replacement
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Oct 24, 2024 · Backend Development

Full Elasticsearch 8.x Java API Client Code Ready for Immediate Project Use

This article walks through the new features of the Elasticsearch 8.x Java API client, shows how to set up the development environment, initialize the client with HTTPS or API‑key authentication, and provides complete, ready‑to‑run code examples for index creation, document indexing, searching, aggregations, and scripted sorting.

ElasticsearchElasticsearch 8.xJava
0 likes · 15 min read
Full Elasticsearch 8.x Java API Client Code Ready for Immediate Project Use
DeWu Technology
DeWu Technology
Oct 23, 2024 · Backend Development

Automated Traffic Rule Inspection with Flow Replay Platform

The Flow Replay Platform automates traffic‑rule inspection by recording traffic from all environments, letting engineers define jsonPath‑based interface rules that continuously validate pre‑release and production traffic, instantly alerting anomalies, reducing false positives, accelerating release verification, and cutting manual testing effort, as demonstrated by discovered coupon‑related bugs.

Monitoringautomated testingbackend
0 likes · 9 min read
Automated Traffic Rule Inspection with Flow Replay Platform
MaGe Linux Operations
MaGe Linux Operations
Oct 23, 2024 · Backend Development

How to Hide Nginx Version and Set a Custom Server Header

This guide walks you through downloading, compiling, and configuring Nginx so that the server version is hidden and a custom Server header is displayed, including step‑by‑step commands, source code edits, and verification methods.

Version Hidingbackendcustom server header
0 likes · 4 min read
How to Hide Nginx Version and Set a Custom Server Header
Architecture Digest
Architecture Digest
Oct 23, 2024 · Backend Development

Generating Dynamic PDF Invoices with iTextPdf in Java

This article explains how to use the iTextPdf library in a Java SpringBoot project to create, fill, and merge PDF invoice templates—covering dependency setup, template design, dynamic table generation, and final PDF concatenation for both fixed and variable invoice data.

Dynamic PDFJavaSpringBoot
0 likes · 11 min read
Generating Dynamic PDF Invoices with iTextPdf in Java
php Courses
php Courses
Oct 23, 2024 · Backend Development

Using PHP rawurlencode() to Encode URLs and Query Parameters

This article explains how PHP's rawurlencode() function encodes special characters in URLs and query strings, demonstrates its syntax with code examples, and shows how to safely construct encoded URLs for web applications.

backendphp-functionsrawurlencode
0 likes · 4 min read
Using PHP rawurlencode() to Encode URLs and Query Parameters
php Courses
php Courses
Oct 22, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, shows its syntax, and provides three practical examples demonstrating simple replacement, multiple replacements using arrays, and character deletion, while also mentioning additional options and linking to the official documentation.

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

Structured Approach for Migrating Python Functions to PHP

This guide outlines a systematic method for tracking, testing, and documenting the migration of Python functions to PHP, including creating a mapping table, using version control, writing unit tests, recording edge cases, and conducting regular progress reviews to ensure code quality and functional equivalence.

PHPPythonbackend
0 likes · 4 min read
Structured Approach for Migrating Python Functions to PHP
macrozheng
macrozheng
Oct 22, 2024 · Backend Development

Can @Service Replace @Controller in Spring Boot? A Deep Dive

This article explores whether the @Service annotation can replace @Controller in Spring Boot, demonstrates a working example, explains the underlying bean registration process, and clarifies how Spring’s component scanning and request mapping enable such unconventional usage.

ControllerJavaSpringBoot
0 likes · 8 min read
Can @Service Replace @Controller in Spring Boot? A Deep Dive
Java Architecture Stack
Java Architecture Stack
Oct 22, 2024 · Backend Development

How to Prevent Browser Caching of JavaScript in Java Backend Apps

This article explains why stale JavaScript can break functionality, outlines the risks of caching such as outdated bugs, security flaws, and debugging difficulties, and provides practical Java‑side solutions—including versioned URLs, cache‑control headers, static‑resource policies, and ETag/Last‑Modified handling—to ensure browsers always load the latest scripts.

JavaJavaScriptSpring Boot
0 likes · 7 min read
How to Prevent Browser Caching of JavaScript in Java Backend Apps