Tagged articles

backend

5000 articles · Page 17 of 50
php Courses
php Courses
Aug 23, 2024 · Backend Development

Using PHP str_split to Split Strings into Character Arrays

This article explains how to use PHP's str_split function to divide a string into an array of characters, covering basic syntax, specifying element length, handling multibyte characters, and providing practical code examples with output demonstrations.

PHPbackendphp-tutorial
0 likes · 5 min read
Using PHP str_split to Split Strings into Character Arrays
php Courses
php Courses
Aug 23, 2024 · Backend Development

Regenerating PHP Session IDs with session_regenerate_id for Improved Security

This article explains how to use PHP's session_regenerate_id function to securely regenerate session IDs, discusses the reasons for doing so, provides sample code, and outlines important precautions such as starting the session, using HTTPS, and avoiding excessive regeneration.

PHPbackendsecurity
0 likes · 4 min read
Regenerating PHP Session IDs with session_regenerate_id for Improved Security
Eric Tech Circle
Eric Tech Circle
Aug 22, 2024 · Backend Development

Mastering Asynchronous Batch Processing with JDK 21 Virtual Threads

Using JDK 21’s standardized Virtual Threads, this guide explains how to design and implement robust asynchronous batch processing, covering common pitfalls like CPU spikes and OOM, best‑practice concurrency controls, task queue architecture, and practical code illustrations.

AsynchronousProcessingBatchProcessingJDK21
0 likes · 6 min read
Mastering Asynchronous Batch Processing with JDK 21 Virtual Threads
Ctrip Technology
Ctrip Technology
Aug 22, 2024 · Backend Development

Evolution of Ctrip Vacation Product Log System: From Single‑Table DB to ES + HBase Platform

This article details the three‑stage evolution of Ctrip's vacation product log system—from a simple single‑table DB approach, through a platform‑based ES + HBase solution, to a scalable V3.0 architecture that improves storage, search, and business empowerment while handling billions of log entries.

Data PipelineElasticsearchbackend
0 likes · 16 min read
Evolution of Ctrip Vacation Product Log System: From Single‑Table DB to ES + HBase Platform
php Courses
php Courses
Aug 22, 2024 · Backend Development

PHP fgetc() Function: Reading Characters from Files and Standard Input

This article explains PHP's fgetc() function for reading a single character from an opened file or standard input, demonstrates how to open files with fopen(), shows example code for looping through file contents, and provides a user input example with a switch statement.

File HandlingPHPbackend
0 likes · 4 min read
PHP fgetc() Function: Reading Characters from Files and Standard Input
php Courses
php Courses
Aug 22, 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—and provides a detailed chapter and section outline for a self‑study course.

LearningMVCPHP
0 likes · 3 min read
Why Build a Custom PHP Framework and Course Outline
dbaplus Community
dbaplus Community
Aug 21, 2024 · Backend Development

How PayPal Handled Billions of Daily Transactions with Only 8 VMs via Actor Model

PayPal’s rapid growth forced a shift from simple hardware upgrades to a sophisticated, actor‑based architecture built on Akka, enabling efficient resource utilization, fault tolerance, and high‑throughput processing, ultimately allowing the company to handle billions of daily transactions using only eight virtual machines.

PayPalactor-modelbackend
0 likes · 11 min read
How PayPal Handled Billions of Daily Transactions with Only 8 VMs via Actor Model
Architecture Digest
Architecture Digest
Aug 21, 2024 · Backend Development

Design of a Unified WebSocket Messaging Service for Backend Systems

This article outlines the design and implementation of a unified WebSocket communication service, covering background motivations, project goals, core architecture, message reliability mechanisms using RabbitMQ, message classification, API specifications, and unified message formats to enable efficient, decoupled real‑time messaging across backend applications.

API designbackendmessaging
0 likes · 8 min read
Design of a Unified WebSocket Messaging Service for Backend Systems
php Courses
php Courses
Aug 21, 2024 · Backend Development

Understanding PHP DateTime: Mutability, Immutability, and Best Practices

This article examines PHP's DateTime class, analyzing its mutable design drawbacks, the benefits of the immutable DateTimeImmutable alternative, and offers practical guidelines and best‑practice strategies for developers to write safer, more maintainable date‑handling code.

ImmutabilityPHPbackend
0 likes · 8 min read
Understanding PHP DateTime: Mutability, Immutability, and Best Practices
php Courses
php Courses
Aug 20, 2024 · Backend Development

Using PHP array_unique() to Remove Duplicate Elements

This article explains the PHP array_unique() function, its syntax and parameters, demonstrates how to remove duplicate values from arrays with practical code examples, and shows how the optional $sort_flag argument can affect sorting behavior.

PHParray_uniquebackend
0 likes · 4 min read
Using PHP array_unique() to Remove Duplicate Elements
Tencent Cloud Developer
Tencent Cloud Developer
Aug 20, 2024 · Backend Development

Why Caching Is the Secret Weapon for High‑Performance Search Engines

This article analyzes real‑world search query characteristics, breaks down a typical search system architecture, classifies cacheable data, compares result‑level, intermediate‑value and multi‑layer caches, discusses update, prefetch and placement strategies, and highlights common pitfalls such as cache miss, consistency, and resource overhead.

Cache strategiesPerformanceSystem Design
0 likes · 19 min read
Why Caching Is the Secret Weapon for High‑Performance Search Engines
Architecture & Thinking
Architecture & Thinking
Aug 20, 2024 · Backend Development

Master Go Configuration with Viper: A Step-by-Step Guide

This guide walks through installing Viper, creating common and environment‑specific YAML configuration files, mapping them to Go structs, setting up a global configuration holder, and initializing the config with live watching, providing a complete, runnable example for Go backend projects.

ConfigurationGoStruct Mapping
0 likes · 9 min read
Master Go Configuration with Viper: A Step-by-Step Guide
21CTO
21CTO
Aug 19, 2024 · Artificial Intelligence

How to Become an AI Agent Developer: A Step‑by‑Step Roadmap

This article explains what AI agents are, why they matter, the essential soft and hard skills needed, and provides a detailed step‑by‑step roadmap for anyone aspiring to become an AI agent developer in the emerging AI‑driven software landscape.

AI AgentLLMbackend
0 likes · 6 min read
How to Become an AI Agent Developer: A Step‑by‑Step Roadmap
php Courses
php Courses
Aug 19, 2024 · Backend Development

Using the #[Validate] Attribute in Livewire v3 for Simplified Form Validation

Livewire v3 introduces the #[Validate] attribute, enabling developers to define validation rules directly on component properties, which reduces boilerplate, improves readability, and offers advanced features such as custom messages, multiple rules, and conditional validation for PHP/Laravel applications.

LiveWireValidationattributes
0 likes · 5 min read
Using the #[Validate] Attribute in Livewire v3 for Simplified Form Validation
Architect's Guide
Architect's Guide
Aug 19, 2024 · Fundamentals

Applying the Strategy Pattern with Simple Factory in a Java Backend Service

This article explains how to use the Strategy pattern combined with a simple factory in a Spring‑based Java backend, showing interface definition, multiple arithmetic strategy implementations, a factory that registers them in a map, a service that selects a strategy at runtime, and a REST controller for testing.

JavaSpringStrategy Pattern
0 likes · 6 min read
Applying the Strategy Pattern with Simple Factory in a Java Backend Service
Java Architect Essentials
Java Architect Essentials
Aug 18, 2024 · Backend Development

Why Fastjson’s Date Formatting Breaks on Linux and How to Resolve It

The author recounts switching from Gson to Fastjson, encountering a date‑formatting bug that only appears on Linux due to an outdated Fastjson version, explores a circular‑reference $ref issue, and shares debugging steps, GitHub issue references, and practical fixes for reliable JSON serialization.

DebuggingFastjsonJava
0 likes · 12 min read
Why Fastjson’s Date Formatting Breaks on Linux and How to Resolve It
Architecture Digest
Architecture Digest
Aug 18, 2024 · Backend Development

Zero‑Downtime SpringBoot Port Sharing: Design and Implementation

This article explains how to achieve seamless code updates for SpringBoot applications by allowing two processes to share the same port, detailing the underlying servlet container mechanics, the role of DispatcherServlet, and providing a complete Java implementation with step‑by‑step instructions and code samples.

JavaPortSharingSpringBoot
0 likes · 8 min read
Zero‑Downtime SpringBoot Port Sharing: Design and Implementation
Selected Java Interview Questions
Selected Java Interview Questions
Aug 18, 2024 · Backend Development

Redis Introduces a Multi‑Threaded Query Engine to Boost Vector Search Performance for Generative AI

Redis has launched a multi‑threaded query engine that vertically scales its in‑memory database, dramatically increasing query throughput and lowering latency for vector similarity searches, thereby addressing the performance demands of real‑time retrieval‑augmented generation in generative AI applications.

RAGRedisbackend
0 likes · 9 min read
Redis Introduces a Multi‑Threaded Query Engine to Boost Vector Search Performance for Generative AI
Code Ape Tech Column
Code Ape Tech Column
Aug 16, 2024 · Backend Development

Using Java 8 Functional Interfaces to Replace if…else Statements

This article demonstrates how Java 8’s functional interfaces—such as Supplier, Consumer, Runnable, and Function—can replace repetitive if‑else statements for exception handling and branch logic, providing clear code examples, custom interfaces, and utility methods to simplify backend development.

Functional InterfaceJavaJava 8
0 likes · 9 min read
Using Java 8 Functional Interfaces to Replace if…else Statements
FunTester
FunTester
Aug 16, 2024 · Backend Development

Master Go Configuration with Viper: Quick Setup and Advanced Features

Learn how to install the Viper library in Go, read and parse YAML, JSON, TOML, and ENV files, and leverage features like default values, automatic reload, environment variable binding, merging configs, dynamic updates, and struct unmarshalling through clear code examples.

ConfigurationGobackend
0 likes · 5 min read
Master Go Configuration with Viper: Quick Setup and Advanced Features
dbaplus Community
dbaplus Community
Aug 15, 2024 · Backend Development

How a Kafka‑Proxy Boosts Cluster Scalability and Resilience

This article explains the challenges of large‑scale Kafka clusters and introduces a lightweight Kafka‑Proxy layer that provides seamless cluster switching, traffic monitoring, online offset reset, and flow‑control mechanisms, ultimately improving availability, throughput, and operational efficiency.

Offset ResetTraffic Managementbackend
0 likes · 17 min read
How a Kafka‑Proxy Boosts Cluster Scalability and Resilience
Sanyou's Java Diary
Sanyou's Java Diary
Aug 15, 2024 · Backend Development

9 Proven Techniques to Supercharge Backend Service Performance

This article outlines nine practical methods—caching, parallel processing, batch handling, data compression, lock‑free design, sharding, request avoidance, pooling, and asynchronous processing—illustrated with Redis, MySQL, Go, and Kafka examples, showing how they collectively cut latency and improve throughput.

backendcaching
0 likes · 29 min read
9 Proven Techniques to Supercharge Backend Service Performance
System Architect Go
System Architect Go
Aug 15, 2024 · Backend Development

Analyzing the Feasibility of Supporting One Million Concurrent Requests in a Typical System Architecture

This article presents a typical multi‑layer system architecture, examines the theoretical performance limits of each component—including load balancers, HTTP servers, Redis, message queues, relational databases and network bandwidth—and evaluates whether the combined stack can sustain one million concurrent requests.

Database Performancebackendhigh-concurrency
0 likes · 6 min read
Analyzing the Feasibility of Supporting One Million Concurrent Requests in a Typical System Architecture
Top Architect
Top Architect
Aug 15, 2024 · Backend Development

Handling Interface‑Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing

The article explains how interface‑level faults—where the system stays up but business performance degrades—can be mitigated through four core techniques (degradation, circuit breaking, rate limiting, and queuing), detailing their principles, implementation patterns, and practical trade‑offs for backend services.

backendcircuit breakerdegradation
0 likes · 20 min read
Handling Interface‑Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing
Top Architect
Top Architect
Aug 15, 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 event handling with epoll, FastCGI and PHP‑FPM integration, as well as detailed configuration and optimization techniques for production deployments.

OptimizationPHP-FPMPerformance
0 likes · 47 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Ops Development Stories
Ops Development Stories
Aug 15, 2024 · Backend Development

How to Build a Flexible API Monitoring Exporter with Gin-Vue-Admin and Prometheus

This article walks through extending a simple Prometheus Exporter into a full-featured API monitoring solution using Gin-Vue-Admin, detailing backend task scheduling, database schema, multi-protocol checks (HTTP, TCP, DNS, ICMP), dynamic cron management, and frontend integration for managing and visualizing health metrics.

CronGinPrometheus
0 likes · 18 min read
How to Build a Flexible API Monitoring Exporter with Gin-Vue-Admin and Prometheus
Top Architect
Top Architect
Aug 14, 2024 · Backend Development

Introducing Liteflow: A Lightweight Rule Engine for Java Backend Development

This article introduces Liteflow, a lightweight yet powerful Java rule engine built on Spring Boot, explains its architecture, usage patterns, component types, EL rule files, data context handling, configuration options, and demonstrates a real‑world e‑commerce workflow, while also containing promotional material for related services.

LiteFlowRule Enginebackend
0 likes · 12 min read
Introducing Liteflow: A Lightweight Rule Engine for Java Backend Development
php Courses
php Courses
Aug 14, 2024 · Backend Development

Using PHP's ceil() Function to Round Numbers Upward

This article explains PHP's ceil() function, shows its syntax, and provides three code examples demonstrating how to round floating‑point numbers and integers upward, illustrating the returned smallest integer greater than or equal to the given value.

MathematicsPHPRounding
0 likes · 4 min read
Using PHP's ceil() Function to Round Numbers Upward
Architect's Guide
Architect's Guide
Aug 14, 2024 · Backend Development

Key Considerations and Best Practices for Using Spring Event in Production

This article explains critical pitfalls, proper shutdown handling, event loss during startup, suitable business scenarios, reliability guarantees, and best‑practice patterns for employing Spring Event in high‑traffic backend systems, providing concrete code examples and operational recommendations.

EventJavaReliability
0 likes · 11 min read
Key Considerations and Best Practices for Using Spring Event in Production
IT Services Circle
IT Services Circle
Aug 13, 2024 · Backend Development

Implementing Pull‑Down Pagination for Instant Messaging History

This article explains the challenges of loading historical chat messages in an instant‑messaging app and demonstrates why traditional offset pagination fails, then introduces cursor‑based pagination with SQL examples and best‑practice guidelines for reliable incremental loading.

Cursor PaginationInstant MessagingSQL
0 likes · 7 min read
Implementing Pull‑Down Pagination for Instant Messaging History
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 13, 2024 · Frontend Development

Traffic Hijacking and Request Interception Techniques for Unified Authentication Platforms

This article explores the concept of traffic hijacking, compares front‑end and back‑end interception methods, and provides practical proxy‑based implementations for fetch, XMLHttpRequest, and ReadableStream to achieve seamless request and response manipulation in a unified authentication system.

Service MeshTraffic HijackingXMLHttpRequest
0 likes · 16 min read
Traffic Hijacking and Request Interception Techniques for Unified Authentication Platforms
Liangxu Linux
Liangxu Linux
Aug 12, 2024 · Backend Development

Mastering Nginx Regex and Location Matching Rules: A Practical Guide

This article explains how Nginx processes regular expressions and location directives, details the syntax and priority of different location prefixes, and provides concrete configuration examples with code snippets and diagrams to help developers correctly match request URIs.

Configurationbackendlocation
0 likes · 13 min read
Mastering Nginx Regex and Location Matching Rules: A Practical Guide
Go Development Architecture Practice
Go Development Architecture Practice
Aug 12, 2024 · Backend Development

Common Go Interview Pitfalls and How to Fix Them

This article walks through six common Go interview mistakes—incorrect function brace placement, map initialization without make, unexported struct fields for JSON, ineffective slice iteration, array versus slice parameter passing, and variable shadowing with :=—explaining each issue and providing the correct code examples.

CodingGoInterview
0 likes · 6 min read
Common Go Interview Pitfalls and How to Fix Them
php Courses
php Courses
Aug 12, 2024 · Backend Development

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

This article explains the PHP array() function, demonstrates how to create both indexed and associative arrays with clear examples, outlines important usage notes, and provides sample code for various array types to help developers master array creation in PHP.

ArrayPHPassociative array
0 likes · 5 min read
Using PHP array() Function to Create Indexed and Associative Arrays
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 12, 2024 · Frontend Development

Implementing PDF Contract Electronic Signature with Vue, pdfjs-dist, and pdf-lib

This article describes a complete solution for creating a PDF contract electronic signature system using Vue for the front‑end rendering, pdfjs‑dist to extract predefined form fields, and pdf‑lib on the back‑end to generate a signed PDF, covering field extraction, coordinate conversion, canvas overlay, and server‑side PDF manipulation.

PDF signatureVuebackend
0 likes · 9 min read
Implementing PDF Contract Electronic Signature with Vue, pdfjs-dist, and pdf-lib
Architect's Guide
Architect's Guide
Aug 12, 2024 · Information Security

Implementing Single Sign-On (SSO) with CAS and Session Management in Distributed Backend Systems

This article explains the challenges of multiple product logins, reviews traditional session mechanisms, discusses session sharing solutions in clustered environments, and presents a CAS‑based single sign‑on implementation with Java code examples, highlighting differences between CAS and OAuth2 for secure authentication.

CASJavaRedis
0 likes · 13 min read
Implementing Single Sign-On (SSO) with CAS and Session Management in Distributed Backend Systems
Top Architect
Top Architect
Aug 10, 2024 · Backend Development

Handling Interface-Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing

The article explains interface‑level failures in business systems and presents four mitigation strategies—degradation, circuit breaking, rate limiting, and queuing—detailing their principles, implementation methods, and algorithmic choices such as fixed and sliding windows, token bucket and leaky bucket.

Reliabilitybackendcircuit breaking
0 likes · 18 min read
Handling Interface-Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing
ITPUB
ITPUB
Aug 10, 2024 · Backend Development

Why Did Our Backend Freeze? A Deep Dive into Connection‑Pool Exhaustion and Slow SQL

A detailed post‑mortem of a three‑time service outage reveals how hidden bugs, frequent FullGC, a saturated connection pool, and an unindexed slow SQL query crippled a Spring Boot backend, and shows the step‑by‑step troubleshooting, temporary fixes, and lasting improvements applied.

Troubleshootingbackendconnection-pool
0 likes · 11 min read
Why Did Our Backend Freeze? A Deep Dive into Connection‑Pool Exhaustion and Slow SQL
IT Services Circle
IT Services Circle
Aug 9, 2024 · Backend Development

Interview on xxl-job Task Scheduling Framework and Handling Overlapping Tasks

The interview discusses various routing and blocking strategies of the xxl-job distributed task scheduling framework, explains how it addresses task overlap, idempotency issues, and provides practical solutions such as single‑machine execution, locking mechanisms, and using a business date to avoid date‑related problems.

Task SchedulingXXL-Jobbackend
0 likes · 10 min read
Interview on xxl-job Task Scheduling Framework and Handling Overlapping Tasks
php Courses
php Courses
Aug 9, 2024 · Backend Development

Using array_filter() to Filter Arrays in PHP

This article explains the PHP array_filter() function, its parameters, and demonstrates how to filter numeric arrays and associative arrays with practical code examples, helping developers efficiently remove unwanted elements based on custom callback logic.

ArrayPHParray_filter
0 likes · 5 min read
Using array_filter() to Filter Arrays in PHP
php Courses
php Courses
Aug 9, 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 behavior such as line handling and newline removal.

ArrayPHPbackend
0 likes · 4 min read
Using PHP file() Function to Read Files into an Array
Full-Stack Cultivation Path
Full-Stack Cultivation Path
Aug 9, 2024 · Backend Development

Run TypeScript Directly in Node.js with the New Experimental Flag

Node.js v22.6.0 introduces the experimental --experimental-strip-types flag, enabling developers to execute TypeScript files directly, but it only strips type annotations at runtime and imposes several usage constraints such as mandatory type‑only imports and explicit file extensions.

Experimental FlagJavaScriptNode.js
0 likes · 3 min read
Run TypeScript Directly in Node.js with the New Experimental Flag
Top Architect
Top Architect
Aug 8, 2024 · Backend Development

Design and Implementation of Payment Business Architecture

This article outlines the business background, detailed payment workflow, associated product and coupon management, and practical implementation tips for designing a robust payment system, covering process decomposition, sequence diagrams, data structures, transaction handling, and key technical considerations such as transaction management, locking, and settlement accuracy.

architecturebackendbusiness process
0 likes · 12 min read
Design and Implementation of Payment Business Architecture
php Courses
php Courses
Aug 8, 2024 · Backend Development

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

This article explains PHP's array_flip() function, detailing its syntax, behavior with duplicate values, and practical uses such as reversing associative arrays and looking up keys by value, illustrated with clear code examples and output demonstrations.

Arraysarray_flipbackend
0 likes · 4 min read
Using PHP's array_flip() Function to Swap Keys and Values
php Courses
php Courses
Aug 7, 2024 · Backend Development

Using PHP's urldecode Function to Decode URL Parameters and Full URLs

This article explains how to use PHP's urldecode function to decode URL-encoded parameters and full URLs, provides practical code examples, demonstrates the relationship with urlencode, and highlights best practices for handling special characters in web development.

URL decodingbackendurldecode
0 likes · 4 min read
Using PHP's urldecode Function to Decode URL Parameters and Full URLs
php Courses
php Courses
Aug 7, 2024 · Backend Development

Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries

This article introduces PHP 7.4's Foreign Function Interface (FFI), explains how to enable it, demonstrates basic usage and advanced examples for calling C functions, discusses performance considerations, security best practices, troubleshooting, and future directions for PHP developers.

C integrationFFIPHP
0 likes · 8 min read
Using PHP 7.4+ Foreign Function Interface (FFI) to Call C Libraries
php Courses
php Courses
Aug 6, 2024 · Backend Development

Using array_key_first() in PHP 7.3: Syntax, Examples, and Use Cases

Introduced in PHP 7.3, the array_key_first() function returns the first key of an array or null for an empty array, and this article explains its syntax, demonstrates usage with code examples, and discusses practical scenarios such as retrieving the first key and checking if an array is empty.

array functionsarray_key_firstbackend
0 likes · 3 min read
Using array_key_first() in PHP 7.3: Syntax, Examples, and Use Cases
Programmer DD
Programmer DD
Aug 6, 2024 · Backend Development

Step‑by‑Step JSON Validation in Spring Boot Using JSON Schema

This guide explains how to integrate JSON Schema validation into a Spring Boot application, covering dependency setup, schema definition, bean configuration, service implementation, controller handling, and testing with curl examples to ensure JSON payloads conform to the defined rules.

JSON SchemaJavaSpring Boot
0 likes · 7 min read
Step‑by‑Step JSON Validation in Spring Boot Using JSON Schema
Java Backend Technology
Java Backend Technology
Aug 6, 2024 · Backend Development

Master Spring Boot Project Setup: From IDE to Version Management & Common Tools

This guide walks through initializing a Spring Boot project, handling IDE licensing hurdles, ensuring compatible Spring Cloud, Spring Boot, and Kafka versions, leveraging Maven for dependency management, and integrating essential utilities like global exception handling, logging, CORS, Swagger, and helpful development tools.

DevOpsKafkaVersion management
0 likes · 11 min read
Master Spring Boot Project Setup: From IDE to Version Management & Common Tools
Java Architect Essentials
Java Architect Essentials
Aug 5, 2024 · Backend Development

Fast Testing of MyBatis SQL Without Starting Spring

This article explains how to quickly test MyBatis SQL statements by bypassing the Spring container, using a minimal MyBatis configuration, adding support for PageHelper pagination and MyBatis‑Plus plugins, and provides code examples and a plugin recommendation for efficient backend development.

JavaMyBatisPerformance
0 likes · 4 min read
Fast Testing of MyBatis SQL Without Starting Spring
php Courses
php Courses
Aug 5, 2024 · Backend Development

Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Site

This article explains how to implement product purchase quantity limits in a PHP‑based online store by designing a stock field in the database, updating product detail, cart, and order pages, using Ajax for dynamic updates, and handling inventory adjustments during order processing to improve user experience and operational efficiency.

E‑commercebackendquantity limit
0 likes · 4 min read
Implementing Product Purchase Quantity Limits in a PHP E‑Commerce Site
php Courses
php Courses
Aug 5, 2024 · Backend Development

Using PHP's array_replace_recursive() Function to Recursively Merge Arrays

This article explains PHP's array_replace_recursive() function, detailing its syntax, recursive merging behavior, example usage with code, output interpretation, important considerations, and compares it with array_merge_recursive() for effective backend array handling in PHP development.

ArrayPHPRecursion
0 likes · 4 min read
Using PHP's array_replace_recursive() Function to Recursively Merge Arrays
Selected Java Interview Questions
Selected Java Interview Questions
Aug 4, 2024 · Backend Development

Design and Implementation of a WebSocket Backend for a Real‑Time Multiplayer Quiz Game

This article details the design, architecture, and Java implementation of a WebSocket‑based backend that enables real‑time, multi‑player quiz battles, covering entity definitions, message handling, matchmaking logic, error handling, game flow, and supporting utilities such as Redis‑based state management.

GameJavaRedis
0 likes · 21 min read
Design and Implementation of a WebSocket Backend for a Real‑Time Multiplayer Quiz Game
Architect
Architect
Aug 2, 2024 · Artificial Intelligence

Building AI‑Native Applications with Spring AI: A Complete Tutorial

This article explains how to quickly develop an AI‑native application using Spring AI, covering core features such as chat models, prompt templates, function calling, structured output, image generation, embedding, vector stores, and Retrieval‑Augmented Generation (RAG), and provides end‑to‑end Java code examples for building a simple AI‑driven service.

AI-nativeFunction CallingJava
0 likes · 40 min read
Building AI‑Native Applications with Spring AI: A Complete Tutorial
Architecture Digest
Architecture Digest
Aug 2, 2024 · Backend Development

From Messy to Elegant: Refactoring Spring Boot Controllers with @Valid and Global Exception Handling

The article demonstrates how to transform overly complex Spring Boot controllers—filled with repetitive validation and business logic—into clean, maintainable code by using @Valid annotations, concise validation rules, and a centralized exception handler, effectively halving the code size and improving readability.

ControllerJavaSpringBoot
0 likes · 9 min read
From Messy to Elegant: Refactoring Spring Boot Controllers with @Valid and Global Exception Handling
php Courses
php Courses
Aug 2, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates three practical examples—simple replacement, replacing multiple words with an array, and deleting characters—showing the resulting output and highlighting additional options available in the official documentation.

PHPbackendphp-functions
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
Code Ape Tech Column
Code Ape Tech Column
Aug 2, 2024 · Backend Development

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

This article explains how to refactor Spring MVC controller layers by introducing a unified response wrapper, handling String conversion issues with ResponseBodyAdvice, applying JSR‑303 validation for request parameters, creating custom validation annotations, and implementing custom exceptions with a global exception handler to produce clean, maintainable backend code.

ControllerExceptionHandlingJava
0 likes · 21 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling
FunTester
FunTester
Aug 2, 2024 · Industry Insights

Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need

This article analyzes how JavaScript’s rich functionality, expanding ecosystem, and single‑language workflow have reshaped web development, outlines the essential front‑end and back‑end skills for full‑stack developers, and explores the career advantages and future trends such as WebAssembly.

Full-StackJavaScriptWeb Development
0 likes · 10 min read
Why JavaScript Dominates Full‑Stack Web Development and What Skills You Need
Selected Java Interview Questions
Selected Java Interview Questions
Aug 1, 2024 · Backend Development

Spring Annotation-Based Development and MyBatis Integration Guide

This article explains how Spring 3.0's pure annotation development simplifies bean configuration, demonstrates defining beans with @Component, managing bean scopes, performing various injection techniques, reading properties files, and integrating MyBatis, providing complete code examples and best‑practice tips for backend Java developers.

AnnotationJavaMyBatis
0 likes · 11 min read
Spring Annotation-Based Development and MyBatis Integration Guide
php Courses
php Courses
Aug 1, 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 logic, practical usage examples, and performance enhancements using array_flip(), providing clear code snippets and detailed explanations to efficiently remove duplicate values from arrays and improve execution speed in real-world applications.

array_uniquebackendduplicate removal
0 likes · 4 min read
Understanding PHP's array_unique() Function: Definition, Implementation, Usage, and Performance Optimization
php Courses
php Courses
Aug 1, 2024 · Backend Development

Understanding and Using PHP's is_file() Function

The article explains PHP's is_file() function, how it determines file existence, proper usage with absolute or relative paths, differences from is_dir(), handling of symlinks, and provides practical code examples for checking files before reading them, emphasizing its importance for backend developers.

File HandlingPHPbackend
0 likes · 4 min read
Understanding and Using PHP's is_file() Function
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 1, 2024 · Backend Development

Backend API Design Best Practices

This article outlines comprehensive backend API design guidelines, covering parameter validation, extensibility, idempotency, logging, thread‑pool isolation, third‑party error handling, asynchronous processing, parallel queries, rate limiting, security, lock granularity, and strategies to avoid long‑running transactions.

API designAsynchronousLogging
0 likes · 11 min read
Backend API Design Best Practices
Architect
Architect
Jul 31, 2024 · Backend Development

Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More

This article walks through the author's practical research on integrating WebSocket in Spring Boot, detailing step‑by‑step configurations for Javax, WebMVC, and WebFlux, comparing their APIs, highlighting pitfalls, and providing concrete code snippets and cold‑knowledge tips for both server and client implementations.

JavaSpring Bootbackend
0 likes · 19 min read
Mastering WebSocket Integration in Spring Boot: Javax, WebMVC, WebFlux, and More
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jul 31, 2024 · Backend Development

Master Nginx Load Balancing: Round‑Robin, Weighted, IP‑Hash & Least‑Conn Explained

This guide walks through Nginx’s four primary load‑balancing methods—round‑robin, weighted, IP‑hash, and least‑connections—explaining their principles, when to use each, and providing complete configuration examples and code snippets to help you distribute traffic efficiently across multiple backend servers.

Configurationbackendload balancing
0 likes · 6 min read
Master Nginx Load Balancing: Round‑Robin, Weighted, IP‑Hash & Least‑Conn Explained
Top Architect
Top Architect
Jul 31, 2024 · Backend Development

Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications

This article introduces a Spring‑based asynchronous processing SDK that leverages annotations, transaction event listeners, Kafka, XXL‑Job, and a dedicated database to achieve non‑blocking execution, fault tolerance, and eventual consistency while preserving transaction integrity and providing a clear configuration and usage guide.

DatabaseDesign PatternKafka
0 likes · 12 min read
Design and Implementation of a Generic Asynchronous Processing SDK for Spring Applications
Selected Java Interview Questions
Selected Java Interview Questions
Jul 31, 2024 · Backend Development

Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor

This article explains why combining Lombok's @Data and @Builder annotations can remove the automatically generated no‑args constructor, demonstrates the resulting compilation errors, and provides two practical solutions using @Tolerate or a combination of @RequiredArgsConstructor and @NoArgsConstructor, while also describing Lombok's annotation‑processing mechanism.

BuilderJavaLombok
0 likes · 4 min read
Resolving Lombok @Data and @Builder Conflict: Restoring the No‑Args Constructor
Top Architect
Top Architect
Jul 30, 2024 · Backend Development

Payment System Architecture: Business Background, Process Decomposition, Sequence Design, and Structural Design

This article analyzes the complexities of payment system design, covering business background, modular process breakdown, sequence diagrams for pre‑payment, payment integration, post‑payment stages, and detailed structural design, while also highlighting related business components and practical implementation tips.

System Designarchitecturebackend
0 likes · 12 min read
Payment System Architecture: Business Background, Process Decomposition, Sequence Design, and Structural Design
php Courses
php Courses
Jul 30, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can be used to encapsulate reusable code blocks, demonstrates practical examples including simple arithmetic, data processing callbacks, and integration with object‑oriented programming to improve code reuse and maintainability.

PHPbackend
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Jul 30, 2024 · Backend Development

How to Use PHP's in_array() Function to Check for Elements in an Array

This article explains PHP's in_array() function, detailing its syntax, parameters, return values, and demonstrates basic usage, strict mode comparison, and searching within multidimensional arrays through clear code examples to help developers efficiently check element existence in arrays.

Arraybackendcode examples
0 likes · 5 min read
How to Use PHP's in_array() Function to Check for Elements in an Array
BirdNest Tech Talk
BirdNest Tech Talk
Jul 30, 2024 · Fundamentals

Master Conditional Compilation in Rust with cfg_if: A Practical Guide

This article explains how the Rust cfg_if crate simplifies conditional compilation by providing a macro that replaces nested #[cfg] attributes with clear if‑else or match structures, shows step‑by‑step usage, advanced patterns, and compares cfg_if to raw #[cfg] for readability and maintainability.

Conditional CompilationRustbackend
0 likes · 8 min read
Master Conditional Compilation in Rust with cfg_if: A Practical Guide
JD Cloud Developers
JD Cloud Developers
Jul 29, 2024 · Backend Development

Designing Robust Backend Services: Path Standards, Security, Monitoring, and Degradation Strategies

This article outlines comprehensive best‑practice guidelines for designing robust, secure, and maintainable backend services—covering API path conventions, request handling, parameter design, error codes, dependency management, monitoring, degradation strategies, legacy service handling, encryption, access control, and tamper‑proof mechanisms, with practical code examples.

API designEncryptionMonitoring
0 likes · 18 min read
Designing Robust Backend Services: Path Standards, Security, Monitoring, and Degradation Strategies
php Courses
php Courses
Jul 29, 2024 · Backend Development

Using PHP’s array_values() Function to Reindex Arrays

This article explains PHP’s array_values() function, showing how it returns a new array with reindexed numeric keys, works with both indexed and associative arrays, provides code examples, and highlights that the returned array is a copy, not a reference to the original.

Arrayarray_valuesbackend
0 likes · 4 min read
Using PHP’s array_values() Function to Reindex Arrays