Tagged articles
4050 articles
Page 10 of 41
php Courses
php Courses
Oct 25, 2024 · Backend Development

Top 10 Essential PHP Plugins for Developers

This article introduces ten essential PHP plugins—such as Composer, PHPUnit, and Xdebug—detailing their core features like dependency management, automated testing, performance debugging, code style enforcement, and HTTP handling, to help developers boost productivity and maintain high code quality across projects.

ComposerPHPPlugins
0 likes · 9 min read
Top 10 Essential PHP Plugins for Developers
php Courses
php Courses
Oct 25, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example

The article introduces PHP's Function Object Programming (FOP) paradigm, explains its full compatibility with object‑oriented programming, demonstrates a practical code example using closures and array_map, discusses cross‑platform support, and outlines the main advantages such as reusability, extensibility, and cleaner code.

OOPPHPbackend-development
0 likes · 4 min read
Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example
Senior Tony
Senior Tony
Oct 24, 2024 · Backend Development

Why Java Still Needs Lock: Beyond synchronized with Non‑Blocking, Fair, and Read‑Write Features

This article explains why Java’s Lock interface is still needed despite synchronized, covering non‑blocking tryLock, timed lock acquisition, interruptible locking, fair versus non‑fair locks, read‑write locks, and Condition objects, with code samples and execution logs illustrating each feature.

LockSynchronizationbackend-development
0 likes · 14 min read
Why Java Still Needs Lock: Beyond synchronized with Non‑Blocking, Fair, and Read‑Write Features
Test Development Learning Exchange
Test Development Learning Exchange
Oct 24, 2024 · Databases

Comprehensive Testing of Business Data Migration in Enterprise Applications

This article details the comprehensive process of testing business data migration in enterprise applications, covering requirements analysis, environment preparation, test planning, data validation, performance testing, security checks, rollback strategies, and feedback mechanisms to ensure accuracy and integrity.

Data Migrationbackend-developmentdatabase
0 likes · 8 min read
Comprehensive Testing of Business Data Migration in Enterprise Applications
macrozheng
macrozheng
Oct 24, 2024 · Backend Development

Master Java Thread Pools: Boost Performance and Avoid Resource Pitfalls

This article explains why creating a thread for each task is inefficient, introduces thread pools as a solution, compares execution times with code examples, details ThreadPoolExecutor's core interfaces, constructors, execution flow, rejection policies, state transitions, and provides practical usage patterns and best‑practice recommendations for Java backend development.

ExecutorServiceThreadPoolExecutorbackend-development
0 likes · 28 min read
Master Java Thread Pools: Boost Performance and Avoid Resource Pitfalls
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 24, 2024 · Backend Development

Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL

This article demonstrates how to implement fine‑grained permission checks in Spring Boot 3 without using Spring Security, by creating custom HandlerInterceptors, JWT utilities, DAO and service layers, and integrating SpEL expressions for dynamic authorization, complete with code snippets and test results.

JWTbackend-developmenthandlerinterceptor
0 likes · 13 min read
Master Fine-Grained Permission Control in Spring Boot 3 with JWT and SpEL
21CTO
21CTO
Oct 22, 2024 · Backend Development

Node.js 23 LTS Upgrade & Rust 1.82 Release: New Features and Key Changes

The article announces the official release of Node.js 23 with its promotion to LTS status, highlights its new require() support for native ES modules, stable -run command, enhanced test runner, and the discontinuation of 32‑bit Windows support, while also covering Rust 1.82's launch and a comprehensive set of web accessibility guidelines.

Node.jsRustbackend-development
0 likes · 6 min read
Node.js 23 LTS Upgrade & Rust 1.82 Release: New Features and Key Changes
Selected Java Interview Questions
Selected Java Interview Questions
Oct 22, 2024 · Backend Development

Common Java Stream API Programming and Operations

This article introduces Java 8's Stream API, explains how to create streams from collections and arrays, and demonstrates a wide range of intermediate and terminal operations with clear code examples to help developers write concise, efficient, and readable Java code.

CollectionsJava 8Stream API
0 likes · 9 min read
Common Java Stream API Programming and Operations
Lobster Programming
Lobster Programming
Oct 21, 2024 · Backend Development

Mastering Order State Management with Spring State Machine

This guide demonstrates how to use Spring State Machine to elegantly manage order status changes by defining states, events, configuring transitions, and implementing listeners, providing Maven dependencies and Java code examples for building extensible, event‑driven workflows in backend applications.

Spring State Machinebackend-developmentjava
0 likes · 7 min read
Mastering Order State Management with Spring State Machine
phodal
phodal
Oct 20, 2024 · Backend Development

Why Streaming BFF Is the Missing Glue for AI‑Native Apps

The article proposes a Streaming Backend‑for‑Frontend (BFF) layer to unify heterogeneous AI agents, handle Server‑Sent Events streams, and resolve interface inconsistencies, offering a practical architecture for generative‑AI‑native systems across IDEs, DevOps, and team‑AI scenarios.

AI ArchitectureServer-Sent EventsStreaming BFF
0 likes · 13 min read
Why Streaming BFF Is the Missing Glue for AI‑Native Apps
Top Architect
Top Architect
Oct 20, 2024 · Backend Development

Comprehensive Maven Guide: Configuration, Dependency Management, Modules, Plugins, and Build Settings

This article provides a detailed tutorial on Maven, covering basic project configuration, repository setup, POM structure, dependency declaration and scopes, indirect dependencies, exclusions, variable properties, multi‑module management, unified dependency management, essential plugins such as jar, assembly and shade, as well as build settings like compiler version, resource exclusion, and main‑class definition.

Pluginsbackend-developmentbuild tools
0 likes · 22 min read
Comprehensive Maven Guide: Configuration, Dependency Management, Modules, Plugins, and Build Settings
Java Tech Enthusiast
Java Tech Enthusiast
Oct 20, 2024 · Backend Development

Why C++ Candidates Struggle in Backend Development Jobs and How to Improve

C++ graduates often fail backend interviews at major internet firms because those companies favor Java or Go and expect experience with databases, caches, and message queues, so candidates should either acquire those backend skills, switch to the dominant languages, or target C++‑friendly domains such as embedded, AV, gaming, or client‑side networking.

C++Gobackend-development
0 likes · 8 min read
Why C++ Candidates Struggle in Backend Development Jobs and How to Improve
ITPUB
ITPUB
Oct 19, 2024 · Backend Development

Why Some Teams Choose Redis Over Kafka for Message Queuing

The article examines the technical reasons a new tech director prefers using Redis Streams as a lightweight message queue instead of Kafka, comparing their features, operational costs, performance characteristics, and suitability for small‑to‑medium projects.

Kafkabackend-development
0 likes · 7 min read
Why Some Teams Choose Redis Over Kafka for Message Queuing
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 18, 2024 · Backend Development

How to Use Arthas Flamegraph for Java Performance Profiling and Optimization

Learn how to leverage the Arthas flamegraph tool to profile Java applications, interpret CPU usage visualizations, and apply practical optimization techniques illustrated through real-world case studies that reduced CPU consumption by up to 6% and improved system stability during high‑traffic events.

ArthasCPU optimizationbackend-development
0 likes · 7 min read
How to Use Arthas Flamegraph for Java Performance Profiling and Optimization
php Courses
php Courses
Oct 17, 2024 · Backend Development

Common Mistakes to Avoid When Using Closures for Functional Programming in PHP

This article explains functional programming in PHP, highlights five typical closure mistakes such as incorrect declaration, reliance on globals, mutable variable modification, unpredictable side effects, and recursion misuse, and provides corrected code examples and best‑practice guidelines.

PHPbackend-developmentbest practices
0 likes · 5 min read
Common Mistakes to Avoid When Using Closures for Functional Programming in PHP
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 17, 2024 · Backend Development

Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples

This article provides a comprehensive, step‑by‑step guide to using Spring Boot 3's @ComponentScan annotation, covering basic usage, package filtering, include/exclude filters, lazy initialization, custom name generators, scoped proxies, and custom scope resolvers, complete with runnable code samples and output screenshots.

ComponentScanSpring Frameworkbackend-development
0 likes · 12 min read
Mastering Spring Boot 3 @ComponentScan: Advanced Configurations & Examples
Architecture Digest
Architecture Digest
Oct 16, 2024 · Backend Development

Implementing Request and Response Encryption in Spring Boot with ControllerAdvice

This article walks through the design and implementation of symmetric request/response encryption for a Spring Boot API, covering requirement analysis, data models, custom ControllerAdvice for decryption and encryption, serialization challenges with FastJson and Jackson, and final configuration to keep encrypted payloads consistent across Android, iOS, and H5 clients.

ControllerAdviceJacksonapi-encryption
0 likes · 12 min read
Implementing Request and Response Encryption in Spring Boot with ControllerAdvice
macrozheng
macrozheng
Oct 16, 2024 · Backend Development

Master Spring Boot Request Logging, Wrappers, and AOP Utilities in One Guide

This article explains how to use Spring Boot's built‑in request logging, request/response wrappers, OncePerRequestFilter, and AOP utility classes such as AopContext, AopUtils, and ReflectionUtils, providing configuration snippets and practical code examples for backend developers.

FiltersRequest Loggingaop
0 likes · 13 min read
Master Spring Boot Request Logging, Wrappers, and AOP Utilities in One Guide
php Courses
php Courses
Oct 16, 2024 · Backend Development

Using PHP's urlencode Function to Encode URLs

This article explains the importance of URL encoding for transmitting data safely on the internet, demonstrates how to use PHP's built‑in urlencode function with examples for both ASCII and non‑ASCII strings, and highlights considerations such as space handling and the alternative rawurlencode function.

Data TransmissionPHPURL encoding
0 likes · 4 min read
Using PHP's urlencode Function to Encode URLs
Baidu Tech Salon
Baidu Tech Salon
Oct 15, 2024 · Industry Insights

How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine

This article details Baidu's visual search architecture evolution, covering the shift from a PHP/HHVM stack to Golang with the GDP framework, the adoption of the ExGraph graph engine, comprehensive system redesign, and stability infrastructure built to support rapid product iteration and AI model integration.

ArchitectureGolangbackend-development
0 likes · 14 min read
How Baidu Revamped Visual Search: From PHP to Golang and Graph Engine
IT Services Circle
IT Services Circle
Oct 15, 2024 · Backend Development

Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects

The article analyzes why C++‑focused graduates receive few backend interview opportunities at major internet firms, highlights the mismatch between C++ skill sets and common backend components, and offers practical advice on switching languages or augmenting projects to better align with industry demands.

C++GoJob Hunting
0 likes · 10 min read
Why C++ Graduates Struggle to Land Backend Development Jobs in Internet Companies and How to Improve Their Prospects
php Courses
php Courses
Oct 15, 2024 · Backend Development

Using PHP strpos() to Find Character and Substring Positions

This article explains PHP's strpos() function, covering its syntax and demonstrating how to locate characters, substrings, and use an offset through clear code examples, enabling developers to efficiently perform string position searches.

PHPbackend-developmentstring handling
0 likes · 5 min read
Using PHP strpos() to Find Character and Substring Positions
Java Architecture Stack
Java Architecture Stack
Oct 15, 2024 · Backend Development

How to Build Powerful Search, Log, and Recommendation Solutions with Elasticsearch

This guide walks through five real‑world Elasticsearch use cases—including full‑text product search with highlighting, centralized log collection and analysis, personalized video recommendation, price‑range aggregation for e‑commerce, and geo‑location restaurant search—detailing index design, query syntax, Docker setup, and front‑end integration.

ElasticsearchFull‑Text SearchPrice Aggregation
0 likes · 35 min read
How to Build Powerful Search, Log, and Recommendation Solutions with Elasticsearch
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 15, 2024 · Backend Development

Mastering HTTP Methods in Spring Boot 3: A Complete Guide to RESTful APIs

This comprehensive tutorial explains how to design and implement RESTful APIs with Spring Boot 3.2.5, covering all major HTTP methods (GET, HEAD, POST, PUT, DELETE, PATCH), best‑practice endpoint design, response handling, status‑code usage, pagination, filtering, versioning, caching, and security considerations.

HTTP methodsRESTful APIbackend-development
0 likes · 17 min read
Mastering HTTP Methods in Spring Boot 3: A Complete Guide to RESTful APIs
Architect
Architect
Oct 14, 2024 · Backend Development

Designing a Unified API Response Structure with Status Codes, Annotations, and Interceptors in Spring Boot

This article explains how to create a consistent JSON API response format—including custom status codes, message fields, and a Result wrapper—by using a @ResponseResult annotation, an interceptor, and ResponseBodyAdvice in Spring Boot, while also offering tips for optimization and error handling.

Response wrapperannotationsapi-design
0 likes · 7 min read
Designing a Unified API Response Structure with Status Codes, Annotations, and Interceptors in Spring Boot
php Courses
php Courses
Oct 14, 2024 · Backend Development

Using PHP to Communicate with MIDI Devices via Serial Port

This article introduces the basics of the MIDI protocol and demonstrates how to use PHP’s serial communication extension to send MIDI messages to musical devices, providing a complete code example and explanations of each step for developers interested in integrating music hardware with PHP applications.

MIDIMusic TechnologyPHP
0 likes · 4 min read
Using PHP to Communicate with MIDI Devices via Serial Port
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 14, 2024 · Backend Development

Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide

This article walks through creating a Spring Boot 3 application from scratch, demonstrating how to customize the ApplicationContext, embed a Tomcat server, define a custom SpringApplication class, configure web components, and test REST endpoints, providing complete code snippets and explanations for each step.

Embedded TomcatREST APIbackend-development
0 likes · 9 min read
Build a Custom Spring Boot 3 Application with Embedded Tomcat – Step‑by‑Step Guide
php Courses
php Courses
Oct 12, 2024 · Backend Development

Using PHP is_dir() to Check Directories and Traverse Files

This article explains PHP's is_dir() function, demonstrates how it checks whether a path is a directory, provides simple and advanced code examples—including directory traversal with opendir() and readdir()—and offers practical usage tips for developers.

PHPbackend-developmentdirectory traversal
0 likes · 4 min read
Using PHP is_dir() to Check Directories and Traverse Files
Test Development Learning Exchange
Test Development Learning Exchange
Oct 11, 2024 · Backend Development

Comprehensive Python Scripts for Property Management System Functions

This article provides a collection of Python scripts that cover essential property management system features such as resident data handling, automated payment reminders, monthly report generation, emergency notifications, maintenance request processing, visitor logging, facility booking, vehicle entry/exit tracking, announcement publishing, and database backup.

Property ManagementPythonbackend-development
0 likes · 12 min read
Comprehensive Python Scripts for Property Management System Functions
php Courses
php Courses
Oct 11, 2024 · Backend Development

Using curl_close() to Properly Close cURL Sessions in PHP

The article explains the purpose, syntax, and usage of PHP's curl_close() function, provides a complete example of creating, configuring, executing, and then closing a cURL session, and highlights the resource, performance, and memory benefits of properly closing cURL handles.

PHPResource Managementbackend-development
0 likes · 3 min read
Using curl_close() to Properly Close cURL Sessions in PHP
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 11, 2024 · Backend Development

Understanding VS Code's IPC Architecture and Channel Mechanism

This article explains VS Code's inter‑process communication (IPC) architecture, detailing how preload scripts expose methods, how the main process creates Server, Connection, and Channel classes, how the renderer creates a Client to connect, and how ProxyChannel converts services to typed channels, with full TypeScript code examples.

ElectronIPCInterprocess Communication
0 likes · 11 min read
Understanding VS Code's IPC Architecture and Channel Mechanism
Top Architect
Top Architect
Oct 10, 2024 · Backend Development

Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern

This article explains why overusing null‑check statements in Java leads to verbose code, distinguishes cases where null is a valid response versus an error, and offers practical techniques such as assertions, throwing exceptions, returning empty collections, and applying the Null Object pattern to write cleaner backend code.

ExceptionsNull Object patternassertions
0 likes · 9 min read
Avoiding Excessive Null Checks in Java: Using Assertions, Exceptions, and the Null Object Pattern
Java Architect Essentials
Java Architect Essentials
Oct 9, 2024 · Backend Development

Investigating and Resolving a Massive Thread Leak in a Java Backend Application

This article details the discovery, analysis, and fix of a severe thread‑leak issue in a Java Spring MVC service caused by unsafe use of a shared CloseableHttpAsyncClient, showing how multithreaded testing reproduced the problem and how refactoring the client to a local variable eliminated the runaway thread growth.

HttpAsyncClientThread Leakbackend-development
0 likes · 12 min read
Investigating and Resolving a Massive Thread Leak in a Java Backend Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 9, 2024 · Backend Development

Mastering Forest: A Practical Guide to Declarative HTTP Calls in Spring Boot

This article introduces the Forest Java HTTP client, explains its architecture and dynamic‑proxy mechanism, and provides step‑by‑step Spring Boot examples—including dependency setup, configuration, declarative interfaces, request annotations, parameter handling, and programmatic usage—so developers can quickly adopt declarative HTTP calls in their backend services.

Declarative APIForestbackend-development
0 likes · 10 min read
Mastering Forest: A Practical Guide to Declarative HTTP Calls in Spring Boot
php Courses
php Courses
Oct 8, 2024 · Backend Development

Developing a PHP WebSocket Server for Real‑Time Multi‑User Collaboration

This article explains how to build a PHP WebSocket server using the Ratchet library, provides step‑by‑step code examples for server setup and a simple real‑time chat client, and demonstrates how to enable multi‑user online collaboration with WebSocket technology.

PHPRatchetbackend-development
0 likes · 6 min read
Developing a PHP WebSocket Server for Real‑Time Multi‑User Collaboration
php Courses
php Courses
Oct 8, 2024 · Backend Development

Introduction to Laravel: Features, Installation, and Getting Started

Laravel, the popular open-source PHP framework introduced in 2011, offers elegant syntax, powerful Eloquent ORM, simplified routing, built-in authentication, a rich ecosystem and active community, and this guide explains its advantages and provides step-by-step instructions for installing and starting a new Laravel project.

Eloquent ORMPHPWeb framework
0 likes · 5 min read
Introduction to Laravel: Features, Installation, and Getting Started
Su San Talks Tech
Su San Talks Tech
Oct 3, 2024 · Backend Development

Master Java’s Syntactic Sugar: 10 Features That Simplify Your Code

This article explains what syntactic sugar is, outlines its benefits such as readability, reduced boilerplate, and lower error rates, and then showcases ten concrete Java syntactic‑sugar features—including autoboxing, enhanced for‑loops, generics, varargs, try‑with‑resources, lambdas, method references, string concatenation, switch expressions, and type inference—complete with code examples.

AutoboxingCode SimplificationLambda
0 likes · 7 min read
Master Java’s Syntactic Sugar: 10 Features That Simplify Your Code
Top Architect
Top Architect
Sep 30, 2024 · Backend Development

Optimizing a High‑Concurrency Java Backend Interface: Reducing Response Time from 30 s to 0.8 s

This article details a real-world performance optimization of a high‑concurrency Java backend interface, reducing response time from 30 seconds to under 0.8 seconds through SQL analysis, array aggregation, moving logic to PostgreSQL, and introducing Caffeine caching, with code examples and lessons learned.

SQL optimizationbackend-developmentjava
0 likes · 13 min read
Optimizing a High‑Concurrency Java Backend Interface: Reducing Response Time from 30 s to 0.8 s
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 27, 2024 · Backend Development

Master JVM Tuning: Practical Steps, Tools, and Real-World Code Example

This article explains why JVM tuning is essential for performance, outlines a step‑by‑step optimization workflow—including GC monitoring, heap dumps, parameter tuning, and tool usage—provides a concrete Java code example that triggers memory pressure, and shares effective JVM flags to prevent out‑of‑memory errors.

Garbage CollectionJVMMemory Management
0 likes · 7 min read
Master JVM Tuning: Practical Steps, Tools, and Real-World Code Example
Architecture Digest
Architecture Digest
Sep 26, 2024 · Backend Development

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

The article explains the trade‑offs of placing a Java try‑catch block inside versus outside a for‑loop, illustrating both approaches with code examples, and advises choosing the placement based on whether you need unified error handling or per‑iteration resilience, while also noting a free book promotion.

Exception Handlingbackend-developmentfor loop
0 likes · 4 min read
Should try‑catch be placed inside or outside a for loop in Java?
macrozheng
macrozheng
Sep 26, 2024 · Backend Development

Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide

This article explains how to integrate Spring Boot with WebSocket to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server code, front‑end integration, essential IM modules, common deployment challenges, and provides complete example code and demos.

Instant Messagingbackend-developmentreal-time-communication
0 likes · 15 min read
Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
JavaEdge
JavaEdge
Sep 25, 2024 · Backend Development

What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features

The article outlines the twelve preview features introduced in JDK 23, from primitive pattern matching to structured concurrency, and argues that mastering timeless programming principles from Effective Java can help developers adapt to such language evolutions.

Effective JavaJDK 23New Features
0 likes · 10 min read
What’s New in JDK 23? A Quick Tour of 12 Game‑Changing Features
php Courses
php Courses
Sep 25, 2024 · Backend Development

PHP Development Ecosystem in 2024: Trends, Frameworks, Security, and Future Outlook

In 2024, PHP remains a dominant backend language, with the release of PHP 8.3, thriving frameworks like Laravel and Symfony, modern development practices, enhanced security measures, and growing integration with AI, IoT, and serverless architectures, ensuring its continued relevance in web development.

APIModern PracticesPHP
0 likes · 13 min read
PHP Development Ecosystem in 2024: Trends, Frameworks, Security, and Future Outlook
IT Services Circle
IT Services Circle
Sep 24, 2024 · Backend Development

Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees

This article explains how RocketMQ guarantees message reliability across the production, storage, and consumption stages, covering synchronous, asynchronous, and transactional sending, disk persistence and replication strategies, consumption models (at-least-once, at-most-once, exactly-once), and handling consumer crashes without message loss.

Consumer CrashMessage QueueMessage Reliability
0 likes · 6 min read
Ensuring Message Reliability in RocketMQ: Producer, Storage, and Consumer Guarantees
Bilibili Tech
Bilibili Tech
Sep 24, 2024 · Backend Development

Technical Implementation of Bilibili's Game Live Streaming Interactive Features: 'Play Together' and 'Help Me Play'

Bilibili’s game live‑stream platform implements interactive features ‘Play Together’ and ‘Help Me Play’ by using Redis ZSET queues, MySQL persistence, real‑time streamer recommendation, ticket‑based purchase flows, state‑machine order handling, and comprehensive monitoring to ensure reliable, scalable viewer‑streamer gameplay collaboration.

BilibiliMySQLbackend-development
0 likes · 12 min read
Technical Implementation of Bilibili's Game Live Streaming Interactive Features: 'Play Together' and 'Help Me Play'
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 23, 2024 · Backend Development

Mastering Spring Bean Lifecycle: 8 Essential Stages Explained

This article walks through the eight critical phases of a Spring bean's lifecycle—from instantiation and property population to initialization, post‑processor hooks, usage, and destruction—detailing how Spring creates, configures, enhances, and finally disposes of beans, with code snippets and diagrams for clarity.

backend-developmentbean-lifecycledependency-injection
0 likes · 5 min read
Mastering Spring Bean Lifecycle: 8 Essential Stages Explained
php Courses
php Courses
Sep 23, 2024 · Backend Development

Understanding PHP time() Function: Purpose, Usage, and Code Examples

This article explains the PHP time() function, describing how it returns the current Unix timestamp, how to use it without parameters, and provides multiple code examples for retrieving timestamps, comparing dates, and formatting the current date and time.

PHPbackend-developmentdate
0 likes · 4 min read
Understanding PHP time() Function: Purpose, Usage, and Code Examples
php Courses
php Courses
Sep 23, 2024 · Backend Development

Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks

This article compares Laravel and Symfony, two leading PHP frameworks, by examining their core features, learning curves, performance, ecosystems, and community support to help developers choose the most suitable option for their projects.

PHPSymfonybackend-development
0 likes · 8 min read
Laravel vs Symfony: A Comprehensive Comparison of PHP Frameworks
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 23, 2024 · Backend Development

How to Load Initial Data into Spring Boot 3.2.5: Runners, Beans, and SQL Scripts

This guide explains why pre‑loading initial data is essential for Spring Boot applications and demonstrates four practical methods—CommandLineRunner/ApplicationRunner, bean initialization with @PostConstruct, SQL script execution, and @Sql annotation for tests—complete with code snippets and configuration details.

CommandLineRunnerData InitializationSQL Scripts
0 likes · 8 min read
How to Load Initial Data into Spring Boot 3.2.5: Runners, Beans, and SQL Scripts
Architecture Digest
Architecture Digest
Sep 22, 2024 · Backend Development

Advanced MapStruct Usage: Expressions, qualifiedByName, NullValueMappingStrategy, and Decorator

This article introduces MapStruct, a compile‑time Java bean‑mapping framework, and demonstrates advanced features such as expression mapping, qualifiedByName for custom conversions, null‑value handling strategies, and the use of decorators to extend mapper behavior, complete with code examples.

Decoratorbackend-developmentbean-mapping
0 likes · 7 min read
Advanced MapStruct Usage: Expressions, qualifiedByName, NullValueMappingStrategy, and Decorator
Su San Talks Tech
Su San Talks Tech
Sep 22, 2024 · Backend Development

Mastering Rate Limiting: From Fixed Windows to Redis Distributed Solutions

This article explains why rate limiting is essential for microservice stability, introduces basic concepts like thresholds and rejection strategies, and walks through multiple algorithms—including fixed‑window, sliding‑window, sliding‑log, leaky‑bucket, token‑bucket—and their Java implementations as well as Redis‑based distributed approaches, complete with code samples and performance considerations.

Distributed Systemsbackend-developmentjava
0 likes · 25 min read
Mastering Rate Limiting: From Fixed Windows to Redis Distributed Solutions
Lobster Programming
Lobster Programming
Sep 21, 2024 · Backend Development

Mastering Spring Boot Transaction Hooks for Advanced Business Logic

This article explains how Spring Boot’s @Transactional annotation works, introduces programmatic transaction management, and demonstrates how to create custom transaction hook functions with TransactionSynchronizationManager and TransactionSynchronization to execute custom logic at each transaction phase, improving robustness and maintainability.

Spring FrameworkTransaction Hooksbackend-development
0 likes · 4 min read
Mastering Spring Boot Transaction Hooks for Advanced Business Logic
Top Architect
Top Architect
Sep 20, 2024 · Backend Development

Understanding HTTP vs RPC in Spring Cloud: A Practical Guide

This article explains why Spring Cloud uses HTTP instead of RPC for remote calls, compares HTTP and RPC protocols, describes how to implement a simple HTTP server in Java, outlines the principles of RESTful architecture, and discusses the advantages, disadvantages, and future trends of both approaches.

HTTPMicroservicesRESTful
0 likes · 9 min read
Understanding HTTP vs RPC in Spring Cloud: A Practical Guide
Java Tech Enthusiast
Java Tech Enthusiast
Sep 20, 2024 · Backend Development

What Is RPC and Why It Is Not a Protocol

The article clarifies that RPC (Remote Procedure Call) is a mechanism—not a protocol—used to abstract network communication so remote methods can be invoked like local calls, illustrating its design with LPC, dynamic proxies, request handlers, and showing HTTP as one possible implementation.

Distributed SystemsIPCRPC
0 likes · 6 min read
What Is RPC and Why It Is Not a Protocol
php Courses
php Courses
Sep 20, 2024 · Backend Development

Adjusting Image Hue with PHP Imagick

This article explains how to install the PHP Imagick extension and use its Imagick class to load an image, adjust its brightness, saturation, and hue via the modulateImage method, and then save or output the modified image, providing complete example code.

Hue AdjustmentPHPbackend-development
0 likes · 4 min read
Adjusting Image Hue with PHP Imagick
Open Source Tech Hub
Open Source Tech Hub
Sep 20, 2024 · Backend Development

Unlocking High‑Performance PHP: From Sockets to Swoole’s Async IO

This article explains how PHP’s socket extension can be used for network programming, walks through traditional multi‑process/thread blocking models, introduces IO multiplexing with the Reactor pattern, and shows how the Swoole extension enables efficient asynchronous and coroutine‑based server development.

Concurrent IOPHPReactor
0 likes · 20 min read
Unlocking High‑Performance PHP: From Sockets to Swoole’s Async IO
php Courses
php Courses
Sep 19, 2024 · Backend Development

Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles

This article explains how the PHP curl library’s curl_multi_add_handle() function can combine multiple cURL handles into a single multi‑handle session, provides its syntax and parameters, and demonstrates its usage with a complete example that improves network request efficiency.

Network RequestsPHPbackend-development
0 likes · 4 min read
Using PHP curl_multi_add_handle() to Manage Multiple cURL Handles
Top Architecture Tech Stack
Top Architecture Tech Stack
Sep 18, 2024 · Backend Development

Overview of Java's Null‑Restricted and Nullable Types Preview Feature

The article introduces Java's new preview feature that distinguishes non‑null, nullable, and unspecified types using syntax like Foo! and Foo?, explains its safety benefits, compatibility, automatic null‑pointer detection, strict initialization rules, and flexible nullness conversion, while also containing promotional material for IDE tools.

Preview Featurebackend-developmentjava
0 likes · 5 min read
Overview of Java's Null‑Restricted and Nullable Types Preview Feature
Top Architect
Top Architect
Sep 16, 2024 · Backend Development

Implementing Data Permission Interceptor in MyBatis‑Plus Using Custom Annotations

This article explains how to create a custom annotation and MyBatis‑Plus interceptor to enforce data‑permission filtering based on user roles, provides both basic and advanced implementations with complete Java code examples, and shows how to integrate the interceptor into the MyBatis‑Plus plugin configuration.

Data PermissionInterceptorbackend-development
0 likes · 15 min read
Implementing Data Permission Interceptor in MyBatis‑Plus Using Custom Annotations
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 16, 2024 · Backend Development

Mastering Spring’s IOC Container: Concepts, Types, and Startup Steps

This article explains the Inversion of Control principle, defines what an IOC container is, compares Spring’s BeanFactory and ApplicationContext, and walks through the three-stage startup process—including loading configurations, registering bean definitions, and instantiating beans with automatic dependency injection.

IoCbackend-developmentdependency-injection
0 likes · 5 min read
Mastering Spring’s IOC Container: Concepts, Types, and Startup Steps
Eric Tech Circle
Eric Tech Circle
Sep 12, 2024 · Backend Development

Build a Spring Boot 3.x Microservice OAuth2 Authorization Server from Scratch

This guide walks through creating a Spring Boot 3.3.3 microservice permission framework with OAuth2, covering technology stack, core features, project structure, step‑by‑step service startup, token acquisition, API calls, and provides the complete source repository for hands‑on experimentation.

Authorization ServerMicroservicesOAuth2
0 likes · 8 min read
Build a Spring Boot 3.x Microservice OAuth2 Authorization Server from Scratch
Alibaba Cloud Native
Alibaba Cloud Native
Sep 12, 2024 · Backend Development

How to Build a High‑Quality Enterprise Codebase for AI‑Powered Code Completion

This guide explains how to prepare a clean, well‑documented enterprise code repository, outlines upload restrictions, annotation standards, naming conventions, and step‑by‑step usage of the Tongyi Lingma IDE plugin for both backend and frontend development scenarios, plus troubleshooting tips.

AI coding assistantbackend-developmentbest practices
0 likes · 10 min read
How to Build a High‑Quality Enterprise Codebase for AI‑Powered Code Completion
php Courses
php Courses
Sep 11, 2024 · Backend Development

Using PHP file_put_contents() to Write Data to Files

This article explains the PHP file_put_contents() function, detailing its syntax, parameters, return values, and providing multiple code examples for writing strings, appending data, handling arrays, and using callbacks, while also offering tips for combining it with other file functions.

Code Examplesbackend-developmentfile-handling
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Sep 11, 2024 · Backend Development

Using is_callable() in PHP to Check Callable Functions and Methods

This article explains PHP's is_callable() function, its parameters, and demonstrates its use with code examples for checking the callability of both functions and class methods, highlighting how it improves code robustness and maintainability.

Code Examplesbackend-developmentcallable functions
0 likes · 4 min read
Using is_callable() in PHP to Check Callable Functions and Methods
Java Tech Enthusiast
Java Tech Enthusiast
Sep 10, 2024 · Backend Development

Thread Pool Data Persistence in Java Systems

The article explains how using a database‑backed persistence layer for Java thread‑pool tasks prevents data loss during service downtime by storing tasks before submission, tracking status and retries, and employing idempotent processing with configurable pool sizes and scheduled reprocessing of failed or pending jobs.

Data PersistenceError HandlingSystem Architecture
0 likes · 7 min read
Thread Pool Data Persistence in Java Systems
Ctrip Technology
Ctrip Technology
Sep 10, 2024 · Backend Development

Ctrip Hotel BFF Architecture Migration and Efficiency Boost with NestJS and Cloud Functions

The article outlines Ctrip Hotel's transition from a monolithic BFF model to a multi‑endpoint "one‑code‑many‑ends" architecture using NestJS, introduces a cloud‑function platform for improved performance and operational efficiency, and describes a dynamic gateway layer that further enhances front‑end flexibility across multiple client types.

BFFCloud FunctionsFrontend Architecture
0 likes · 19 min read
Ctrip Hotel BFF Architecture Migration and Efficiency Boost with NestJS and Cloud Functions
Top Architect
Top Architect
Sep 9, 2024 · Backend Development

Backend Development Guide: Spring Boot Project Initialization, Version Management, and Common Utilities

This article walks through the challenges of setting up a Java backend environment, demonstrates how to create a Spring Boot project, explains version compatibility between Spring Cloud, Spring Boot, and Kafka, and provides reusable code snippets for exception handling, logging, CORS, Swagger, and response wrapping, along with recommended tools.

Microservicesbackend-developmentjava
0 likes · 13 min read
Backend Development Guide: Spring Boot Project Initialization, Version Management, and Common Utilities
macrozheng
macrozheng
Sep 9, 2024 · Backend Development

Why Redis Streams Can Replace Kafka for Lightweight Messaging

Redis Streams offer a memory‑efficient, easy‑to‑use message queue that matches many Kafka features, making it a practical alternative for projects that cannot afford the overhead of deploying a full‑blown Kafka infrastructure.

Kafka AlternativeMessage QueueStreams
0 likes · 7 min read
Why Redis Streams Can Replace Kafka for Lightweight Messaging
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Sep 9, 2024 · Backend Development

Master Spring Boot Annotations: @SpringBootApplication, @RestController, @Autowired & More

This article explains the most commonly used Spring Boot annotations—including @SpringBootApplication, @RestController, @RequestMapping, @Autowired, @Value, @Component, @Service, @Repository, and @Configuration—providing clear descriptions and practical code examples for each.

annotationsbackend-developmentdependency-injection
0 likes · 4 min read
Master Spring Boot Annotations: @SpringBootApplication, @RestController, @Autowired & More
Java Tech Enthusiast
Java Tech Enthusiast
Sep 8, 2024 · Backend Development

Guide to Using mybatis-plus-generator-ui for Java Code Generation

This guide explains how to integrate the mybatis-plus-generator-ui library into a Spring Boot project, configure database connections, launch the web UI, and use its customizable templates and naming converters to generate Entity, Mapper, Service, and Controller classes for multiple databases with a single click.

Tutorialbackend-developmentcode-generation
0 likes · 12 min read
Guide to Using mybatis-plus-generator-ui for Java Code Generation
Top Architect
Top Architect
Sep 7, 2024 · Backend Development

XXL-Job Distributed Task Scheduling Framework: Project Overview and Hands‑On Guide

This article introduces the open‑source XXL-Job distributed task scheduling framework, explains its architecture and communication design, and provides a step‑by‑step hands‑on tutorial covering server deployment, executor configuration, task development (annotation, API, sharding), execution, and log inspection, with code examples and screenshots.

Distributed SchedulingXXL-JOBbackend-development
0 likes · 14 min read
XXL-Job Distributed Task Scheduling Framework: Project Overview and Hands‑On Guide
Top Architect
Top Architect
Sep 6, 2024 · Backend Development

14 Java Backend Code‑Optimization Tips from a Senior Architect

This article presents fourteen practical Java backend optimization techniques—including configuration‑file management, Lombok’s @RequiredArgsConstructor, modular code design, exception handling, reducing DB queries, avoiding null returns, minimizing if‑else, slimming controllers, IDE shortcuts, source‑code reading, design patterns, and efficient collections—each illustrated with clear code examples.

Code OptimizationDesign PatternsLombok
0 likes · 10 min read
14 Java Backend Code‑Optimization Tips from a Senior Architect
php Courses
php Courses
Sep 6, 2024 · Backend Development

Using PHP filemtime to Retrieve File Modification Time

This article explains how to use PHP's filemtime function to obtain a file's last modification timestamp, demonstrates converting the timestamp to a readable date with date(), and provides code examples for retrieving modification times of a single file as well as multiple files.

backend-developmentdate functionfile modification time
0 likes · 3 min read
Using PHP filemtime to Retrieve File Modification Time
Java Architect Essentials
Java Architect Essentials
Sep 5, 2024 · Backend Development

Comprehensive Guide to WebSocket: Protocol, Lifecycle, API, and Java Implementation

This article provides an in‑depth overview of the WebSocket protocol, covering its fundamentals, advantages, lifecycle, message formats, Java API usage, Spring Boot integration, performance considerations, and future development directions, complete with practical code examples for both server and client sides.

APIbackend-developmentjava
0 likes · 18 min read
Comprehensive Guide to WebSocket: Protocol, Lifecycle, API, and Java Implementation
Zhuanzhuan Tech
Zhuanzhuan Tech
Sep 5, 2024 · Backend Development

Challenges of Abstraction and Reuse in Business Middle‑Platform Development

The article reflects on the difficulties of turning abstract design concepts such as GOF patterns and DDD into practical, reusable middle‑platform services for an e‑commerce business, discussing when to abstract, the trade‑offs between thin and thick services, and how to balance efficiency with evolving business needs.

Software Architectureabstractionbackend-development
0 likes · 16 min read
Challenges of Abstraction and Reuse in Business Middle‑Platform Development
macrozheng
macrozheng
Sep 5, 2024 · Information Security

How to Automatically Mask Sensitive Data in Spring Boot with Jackson Annotations

This article explains how to implement unified data desensitization in Java Spring Boot applications by creating custom annotations, enums, serializers, and utility methods that automatically mask personal information during JSON serialization, complete with code examples and test results.

Jacksonbackend-developmentdata masking
0 likes · 13 min read
How to Automatically Mask Sensitive Data in Spring Boot with Jackson Annotations