Tagged articles
5000 articles
Page 10 of 50
php Courses
php Courses
Mar 5, 2025 · Backend Development

PHP Session Management and User Authentication

This article explains PHP's session management mechanisms, basic session operations, security considerations, and various user authentication methods—including session‑based login, token‑based authentication, and password hashing—providing developers with practical guidance to build secure web applications.

BackendPHPUser Authentication
0 likes · 4 min read
PHP Session Management and User Authentication
php Courses
php Courses
Mar 4, 2025 · Backend Development

Advanced PHP File and Directory Operations

This article provides a comprehensive guide to advanced PHP file and directory handling, covering reading and writing files, retrieving file metadata, manipulating file pointers, traversing and managing directories, handling uploads, error handling, and best practices with clear code examples.

BackendFile I/OPHP
0 likes · 6 min read
Advanced PHP File and Directory Operations
php Courses
php Courses
Mar 4, 2025 · Backend Development

Using PHP mysqli_query to Execute MySQL Queries

This article explains how to use PHP's mysqli_query function to connect to a MySQL database, execute SELECT statements, process result sets with mysqli_fetch_assoc, and handle other query types such as INSERT, UPDATE, and DELETE, including full example code and best practices.

BackendPHPdatabase
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
Java Backend Technology
Java Backend Technology
Mar 4, 2025 · Backend Development

When Are Service‑Layer Interfaces Really Needed?

This article examines the three classic reasons for defining interfaces on Service and DAO layers, explains why they often fall short when using Spring's dependency injection, and offers practical structuring and workflow tips for projects that may or may not require multiple implementations.

BackendInterfaceService Layer
0 likes · 8 min read
When Are Service‑Layer Interfaces Really Needed?
IT Services Circle
IT Services Circle
Mar 3, 2025 · Backend Development

Meituan Spring Hiring Overview and Java Backend Interview Q&A

This article discusses Meituan's spring recruitment numbers, then provides detailed Java backend interview questions and answers covering Spring MVC vs Spring Boot, MySQL MVCC, Redis Zset implementation, message queue reliability, HashMap internals, and thread pool usage, offering practical insights for candidates.

BackendThreadPooljava
0 likes · 20 min read
Meituan Spring Hiring Overview and Java Backend Interview Q&A
Selected Java Interview Questions
Selected Java Interview Questions
Mar 1, 2025 · Backend Development

Using Maven Reactor for Selective Multi‑Module Builds

This article explains how Maven’s reactor determines build order in a parent‑child multi‑module project and demonstrates how to use command‑line options such as -pl, -rf, -am, and -amd to build only required modules or their dependents, greatly speeding up the build process.

BackendMulti‑moduleReactor
0 likes · 8 min read
Using Maven Reactor for Selective Multi‑Module Builds
Code Ape Tech Column
Code Ape Tech Column
Feb 28, 2025 · Backend Development

Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script

This article explains how to configure Maven profiles for different environments, use the maven‑assembly‑plugin and maven‑jar‑plugin to create a zip deployment package for a Spring Boot application, and provides a reusable shell script (shenniu_publish.sh) for extracting, starting, stopping, and restarting the service on Linux.

BackendDeploymentSpring Boot
0 likes · 13 min read
Spring Boot Packaging with Maven Assembly Plugin and a Deployment Shell Script
Selected Java Interview Questions
Selected Java Interview Questions
Feb 27, 2025 · Backend Development

Step-by-Step Guide to Using MybatisX with Spring Boot

This article introduces MybatisX, an IntelliJ IDEA plugin that streamlines MyBatis and MyBatis‑Plus development, and provides a detailed step‑by‑step tutorial on setting up a Spring Boot project, configuring the database, generating code, and writing a simple controller using MyBatis‑Plus.

BackendMyBatisXMybatis-Plus
0 likes · 5 min read
Step-by-Step Guide to Using MybatisX with Spring Boot
Java Architect Essentials
Java Architect Essentials
Feb 27, 2025 · Backend Development

How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts

This article walks through the problem of locking out users after multiple failed login attempts, explains why IP‑based locking with Redis and Lua scripts is effective, and provides a complete Spring Boot implementation—including front‑end HTML, custom annotations, AOP aspect, Redis configuration, and sample controller code—to enforce a configurable login‑attempt limit.

BackendLogin Rate LimitingLua
0 likes · 18 min read
How to Enforce Login Attempt Limits with Spring Boot, Redis, and Lua Scripts
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 27, 2025 · Backend Development

Understanding and Using Spring's @Import Annotation

This article explains the purpose, usage patterns, and internal mechanics of Spring's @Import annotation, including importing regular classes, ImportSelector implementations, and ImportBeanDefinitionRegistrar implementations, with complete code examples and a discussion of how Spring processes these imports at runtime.

BackendConfigurationDependencyInjection
0 likes · 9 min read
Understanding and Using Spring's @Import Annotation
php Courses
php Courses
Feb 26, 2025 · Backend Development

Using PHP file_exists() to Check File and Directory Existence

This article explains PHP's file_exists() function, detailing its syntax, parameters, return values, usage examples for checking both files and directories, and important considerations such as remote checks and permission handling in web applications.

Backendfile checkfile_exists
0 likes · 4 min read
Using PHP file_exists() to Check File and Directory Existence
Architect's Must-Have
Architect's Must-Have
Feb 26, 2025 · Backend Development

How to Implement Version-Based Routing and Gray Deployment in Microservices

This article explains how to design custom routing strategies for versioned microservices, including default master branch routing, unified version routing, and service‑specific routing, and shows how to apply these rules to achieve gray deployments with load‑balancing and seamless version isolation.

BackendGray DeploymentMicroservices
0 likes · 10 min read
How to Implement Version-Based Routing and Gray Deployment in Microservices
Selected Java Interview Questions
Selected Java Interview Questions
Feb 25, 2025 · Backend Development

Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples

This article introduces the URule rule engine, explains its core concepts, shows how to install and configure it in a Spring Boot project, demonstrates library definitions, rule set creation (wizard and script modes), decision table usage, and provides real‑world scenario code examples for backend developers.

BackendConfigurationDecision Table
0 likes · 15 min read
Integrating URule Rule Engine with Spring Boot: Installation, Configuration, and Practical Examples
php Courses
php Courses
Feb 25, 2025 · Backend Development

Understanding PHP time() Function: Usage, Examples, and Applications

This article explains PHP's time() function, describing how it returns the current Unix timestamp, demonstrates basic usage with code examples, shows how to compare dates and format the timestamp, and provides practical snippets for common time‑related tasks in backend development.

BackendPHPdate handling
0 likes · 4 min read
Understanding PHP time() Function: Usage, Examples, and Applications
Architect's Guide
Architect's Guide
Feb 24, 2025 · Backend Development

Using Java Optional to Prevent NullPointerException

This article introduces Java 8's Optional class, explains its creation methods and common operations such as get, isPresent, ifPresent, filter, map, flatMap, orElse, orElseGet, orElseThrow, and shows practical usage scenarios and best‑practice recommendations for handling null values in backend code.

Backendfunctional programmingjava
0 likes · 15 min read
Using Java Optional to Prevent NullPointerException
Top Architect
Top Architect
Feb 23, 2025 · Backend Development

Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development

This article explains how the LiteFlow rule engine can be integrated into Spring Boot projects to orchestrate serial and parallel business processes, describes its architecture, component types, configuration options, and provides practical code examples and a real‑world e‑commerce workflow.

Backend
0 likes · 11 min read
Introducing LiteFlow: A Lightweight Rule Engine for Java Backend Development
FunTester
FunTester
Feb 23, 2025 · Operations

How to Efficiently Process Test Data in a Multithreaded Performance Engine

This article explains two design approaches for handling test data in a multithreaded performance testing engine, compares their trade‑offs, and provides complete Java code for data aggregation, statistical analysis, TPS calculation, and refactoring the tool for cleaner extensibility.

BackendData StatisticsPerformance Testing
0 likes · 14 min read
How to Efficiently Process Test Data in a Multithreaded Performance Engine
php Courses
php Courses
Feb 20, 2025 · Backend Development

Using PHP mb_strlen() to Get the Length of Multibyte Strings

This article explains how to enable the mbstring extension and use PHP's mb_strlen() function with optional encoding parameters to accurately measure the length of multibyte strings such as Chinese and Japanese, including practical code examples for length calculation and validation.

BackendPHPmbstring
0 likes · 5 min read
Using PHP mb_strlen() to Get the Length of Multibyte Strings
macrozheng
macrozheng
Feb 20, 2025 · Backend Development

Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls

This article explores how Java 8 streams and lambda expressions can make code shorter and more elegant, while highlighting common mistakes such as poor formatting, oversized functions, misuse of Optional, and over‑reliance on parallel streams, and offers practical guidelines for writing readable, maintainable backend code.

BackendLambdaStreams
0 likes · 13 min read
Mastering Java 8 Streams: Clean Code Tips and Common Pitfalls
php Courses
php Courses
Feb 19, 2025 · Backend Development

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

This tutorial explains how PHP's file() function reads a text file into an array, demonstrates the default behavior of preserving line breaks, and shows how to use flags such as FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES to control newline retention and skip empty lines.

BackendTutorialfile-function
0 likes · 4 min read
Using PHP's file() Function to Read Files into an Array
php Courses
php Courses
Feb 18, 2025 · Backend Development

Using PHP glob() to Retrieve File Paths with Pattern Matching

This article explains PHP's glob() function, detailing its syntax, parameters, and various pattern‑matching examples—including wildcard, extension, brace, and recursive searches—while highlighting important flags and considerations for handling returned file and directory arrays.

Backendfile-matchingglob
0 likes · 4 min read
Using PHP glob() to Retrieve File Paths with Pattern Matching
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Feb 17, 2025 · Backend Development

Infinilabs Gateway Config File: A Layer‑by‑Layer Deep Dive

This article walks through the Infinilabs Gateway configuration file from top‑level environment variables down to low‑level disk queues, explaining each section—env, paths, gateway core, stats, API, Elasticsearch services, entry, router, flow, pipelines, metrics, disk queue, Badger KV, floating IP, and global elastic settings—so readers can quickly understand and customize the gateway for microservice and big‑data deployments.

BackendConfigurationElasticsearch
0 likes · 18 min read
Infinilabs Gateway Config File: A Layer‑by‑Layer Deep Dive
php Courses
php Courses
Feb 17, 2025 · Backend Development

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

This article explains the PHP is_string() function, its syntax, and provides a complete example showing how to check variables $name, $age, and $city to determine if they are strings, along with best‑practice security considerations.

Backendis_stringphp-functions
0 likes · 4 min read
Using PHP is_string() to Determine Whether a Variable Is a String
php Courses
php Courses
Feb 17, 2025 · Backend Development

Using PHP is_bool() to Check Boolean Variables

This article explains how the PHP is_bool() function can be used to determine whether a variable holds a boolean value, provides clear code examples with different variable types, and shows the resulting output to illustrate correct usage.

BackendTutorialboolean
0 likes · 4 min read
Using PHP is_bool() to Check Boolean Variables
Python Programming Learning Circle
Python Programming Learning Circle
Feb 15, 2025 · Backend Development

Proper Python Configuration for Multi‑Environment Applications

This article explains how to structure Python projects so that configuration is managed through packages and environment variables, enabling seamless deployment across development, testing, staging, and production environments without code changes, while illustrating best practices with clear examples and code snippets.

BackendConfigurationDeployment
0 likes · 12 min read
Proper Python Configuration for Multi‑Environment Applications
Architect's Guide
Architect's Guide
Feb 15, 2025 · Backend Development

Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus

This article explains how the @TableLogic annotation in MyBatis-Plus implements logical deletion by converting delete operations into updates, details its parameters, supported field types, global configuration, and provides complete Java and SQL code examples for practical usage.

BackendLogical DeletionMyBatis-Plus
0 likes · 8 min read
Using @TableLogic Annotation for Logical Deletion in MyBatis-Plus
php Courses
php Courses
Feb 14, 2025 · Backend Development

Using PHP fread() to Read Files: Syntax, Parameters, and Example

This article explains PHP's fread() function, covering its syntax, parameters, return values, optional offset argument, and provides a complete example that opens a file, reads its contents based on size, outputs the data, and closes the handle.

BackendCode ExamplePHP
0 likes · 3 min read
Using PHP fread() to Read Files: Syntax, Parameters, and Example
php Courses
php Courses
Feb 14, 2025 · Backend Development

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

This article explains how PHP’s file() function reads a text file into an array, demonstrates the default behavior of preserving line endings, and shows how to use flags such as FILE_IGNORE_NEW_LINES and FILE_SKIP_EMPTY_LINES for more flexible file handling.

BackendPHPfile function
0 likes · 3 min read
Using PHP’s file() Function to Read Files into an Array
37 Interactive Technology Team
37 Interactive Technology Team
Feb 13, 2025 · Backend Development

How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide

This article analyzes the shortcomings of separating Swagger2.0 documentation from parameter handling in a Go backend, proposes a unified parameter definition and routing adapter for the GF framework, and demonstrates the resulting automatic OpenAPI generation with detailed code flow and visual examples.

API documentationBackendGF framework
0 likes · 8 min read
How to Unify Swagger2.0 Docs with GF2 Routing: A Practical Guide
php Courses
php Courses
Feb 13, 2025 · Backend Development

Using PHP strlen() to Calculate String Length

This article explains PHP's strlen() function, its syntax, demonstrates how to calculate string lengths with and without surrounding spaces using code examples, and discusses important considerations such as encoding support and handling of special or multibyte characters.

BackendPHPcoding
0 likes · 4 min read
Using PHP strlen() to Calculate String Length
Top Architect
Top Architect
Feb 12, 2025 · Backend Development

Payment System Architecture Overview and Core Components

This article presents a comprehensive overview of a typical payment system architecture, detailing the division between transaction and payment cores, their interactions, service governance, data consistency, asynchronous processing, and practical production practices for building stable, scalable backend payment services.

BackendDistributed Systemsarchitecture
0 likes · 9 min read
Payment System Architecture Overview and Core Components
php Courses
php Courses
Feb 12, 2025 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains PHP's str_replace function, its syntax, and provides three practical examples showing simple replacement, multiple replacements with arrays, and character deletion, while also noting additional options available in the official documentation.

BackendPHPTutorial
0 likes · 3 min read
Using PHP str_replace for String Replacement and Deletion
php Courses
php Courses
Feb 12, 2025 · Backend Development

Handling Division by Zero Errors in PHP: Differences Between PHP 7 and PHP 8 and Best Practices

This article explains how PHP 7 and PHP 8 handle division‑by‑zero errors, outlines common causes of zero‑division, and presents six practical techniques—including input validation, conditional checks, ternary operators, custom error handlers, try‑catch blocks, and avoiding the @ operator—supported by clear code examples and a real‑world financial‑app case study.

BackendExceptionPHP8
0 likes · 6 min read
Handling Division by Zero Errors in PHP: Differences Between PHP 7 and PHP 8 and Best Practices
php Courses
php Courses
Feb 11, 2025 · Backend Development

Using PHP implode() to Join Array Elements into a String

This article explains how the PHP implode() function joins array elements into a string, demonstrates basic and advanced usage with examples—including handling sub‑arrays and omitting the separator—and highlights important considerations for effective string manipulation in backend development.

ArrayBackendString
0 likes · 4 min read
Using PHP implode() to Join Array Elements into a String
Lobster Programming
Lobster Programming
Feb 10, 2025 · Backend Development

How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?

This article explains the concept of distributed locks and compares three common implementation approaches—using a database, Redis, and ZooKeeper—detailing their mechanisms, advantages, drawbacks, and suitable scenarios for ensuring consistent access to shared resources in distributed systems.

BackendZooKeeperconcurrency
0 likes · 7 min read
How to Choose the Right Distributed Lock: DB, Redis, or ZooKeeper?
php Courses
php Courses
Feb 10, 2025 · Backend Development

Using PHP’s floatval Function to Convert Variables to Float

This article explains how PHP’s built‑in floatval function converts various variable types—including integers, strings, booleans, and arrays—into floating‑point numbers, provides syntax details, demonstrates multiple code examples, and notes edge cases such as non‑numeric strings returning zero.

BackendTutorialfloatval
0 likes · 3 min read
Using PHP’s floatval Function to Convert Variables to Float
php Courses
php Courses
Feb 10, 2025 · Backend Development

Using PHP fgetc() to Read Characters from Files and Standard Input

This article explains how to use PHP's fgetc() function to read single characters from files and standard input, covering file opening with fopen(), the function's syntax, example code for looping through file contents, and a demonstration of handling user-entered characters with a switch statement.

Backendfgetcfile-handling
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and Standard Input
Java Captain
Java Captain
Feb 9, 2025 · Backend Development

Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations

This article explains how to integrate Lua scripts into Spring Boot applications with Redis, covering Lua fundamentals, advantages of Lua in Redis, practical use cases, step‑by‑step implementation in Spring Boot, performance optimizations, error handling, security considerations, and best practices for reliable backend development.

BackendLuaSpring Boot
0 likes · 23 min read
Using Lua Scripts in Spring Boot with Redis for Performance and Atomic Operations
JD Retail Technology
JD Retail Technology
Feb 7, 2025 · Backend Development

Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies

A promotional event created an oversized Redis cache entry that, combined with cache‑penetration bursts, saturated network bandwidth and caused a service outage, prompting mitigation through Protostuff serialization, gzip compression, request throttling, and enhanced monitoring, while recommending design‑time cache planning and stress testing to prevent future big‑key failures.

BackendBigKeyCache
0 likes · 9 min read
Cache Big‑Key and Hot‑Key Issues: Case Study, Root‑Cause Analysis, and Mitigation Strategies
php Courses
php Courses
Feb 6, 2025 · Backend Development

Using PHP's array_reverse() Function: Syntax, Examples, and Tips

This article explains PHP's array_reverse() function, covering its syntax, optional parameters, and multiple code examples that demonstrate reversing indexed arrays, associative arrays with key preservation, and combining with other array functions for more complex operations.

BackendPHParray_reverse
0 likes · 4 min read
Using PHP's array_reverse() Function: Syntax, Examples, and Tips
php Courses
php Courses
Feb 5, 2025 · Backend Development

Using PHP is_executable() to Check File Executability

This article explains PHP's is_executable() function, detailing its definition, parameters, return values, usage examples, code explanation, precautions, and common application scenarios for checking file executability to enhance system security in web development.

BackendFile Permissionsis_executable
0 likes · 4 min read
Using PHP is_executable() to Check File Executability
php Courses
php Courses
Feb 5, 2025 · Backend Development

Using PHP tmpfile() to Create and Manage Temporary Files

This article explains how the PHP tmpfile() function creates a unique temporary file that is automatically removed at script termination, demonstrates its syntax, shows a complete example with fwrite, fseek, fread and fclose, and highlights important usage considerations such as manual deletion with unlink().

Backendfile-handlingphp-functions
0 likes · 4 min read
Using PHP tmpfile() to Create and Manage Temporary Files
Raymond Ops
Raymond Ops
Feb 4, 2025 · Fundamentals

Master Go Naming: Consistent, Concise, and Precise Conventions

Effective naming in Go requires consistency, brevity, and precision, with guidelines covering variable and function names, camel‑case conventions, short local variables, descriptive parameters, return values, method receivers, package naming, interface naming, and error types, illustrated by numerous code examples from the standard library.

Backendbest-practicescode style
0 likes · 7 min read
Master Go Naming: Consistent, Concise, and Precise Conventions
Code Ape Tech Column
Code Ape Tech Column
Feb 4, 2025 · Backend Development

Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation

This article introduces the lightweight Sa-Token Java authentication framework, explains why it is chosen over Spring Security and Shiro, details its login and permission APIs with code examples, shows how to configure it in Spring Boot and WebFlux projects, and lists its extensive feature set for secure backend development.

AuthenticationBackendSa-Token
0 likes · 23 min read
Sa-Token Java Permission Authentication Framework: Overview, Login, and Permission Implementation
Architect's Guide
Architect's Guide
Feb 4, 2025 · Backend Development

Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application

This tutorial walks through installing Portainer for Docker container management, creating docker‑compose files to deploy Portainer, setting up a master‑slave‑sentinel Redis architecture, configuring a custom bridge network, and finally integrating Redis Sentinel into a Spring Boot project with Lettuce connection pooling.

BackendContainer ManagementDocker
0 likes · 15 min read
Deploying Redis Sentinel with Portainer and Integrating it into a Spring Boot Application
IT Services Circle
IT Services Circle
Jan 30, 2025 · Backend Development

15 Practical Spring Framework Tips for Developers

This article presents fifteen useful Spring techniques—including bean retrieval, event handling, custom interceptors, retry mechanisms, global exception handling, startup initialization, bean lifecycle methods, resource cleanup, dynamic configuration injection, conditional bean registration, caching, transaction management, bean loading order, AOP aspects, and conditional bean creation—each illustrated with clear Java code examples.

BackendDependencyInjectionTips
0 likes · 17 min read
15 Practical Spring Framework Tips for Developers
Top Architect
Top Architect
Jan 30, 2025 · Backend Development

OAuth 2.0 Tutorial with Spring Boot Implementation and Testing

This article introduces OAuth 2.0 concepts, explains its roles and grant types, and provides a complete Spring Boot implementation—including configuration classes, dependency setup, and test endpoints—followed by step‑by‑step testing results with screenshots.

AuthenticationBackendOAuth2
0 likes · 13 min read
OAuth 2.0 Tutorial with Spring Boot Implementation and Testing
php Courses
php Courses
Jan 27, 2025 · Backend Development

Using PHP ftell() to Retrieve the Current File Pointer Position

This article explains the PHP ftell() function, its parameters and return values, and provides a complete example that reads the first ten bytes of a file, displays the content, obtains the file pointer offset, and highlights important considerations when working with byte‑based positions.

Backendfile-handlingfile-pointer
0 likes · 4 min read
Using PHP ftell() to Retrieve the Current File Pointer Position
php Courses
php Courses
Jan 27, 2025 · Backend Development

Using PHP get_headers() to Retrieve HTTP Response Headers

This article explains the PHP get_headers() function, its syntax and parameters, provides code examples for fetching and printing HTTP response headers, and discusses common use cases such as checking remote file existence, obtaining file metadata, and supporting web crawlers.

BackendHTTPget_headers
0 likes · 4 min read
Using PHP get_headers() to Retrieve HTTP Response Headers
Architecture Digest
Architecture Digest
Jan 26, 2025 · Backend Development

10 Essential Git Tips for Efficient Version Control

This article presents ten practical Git techniques—from undoing the last commit and resolving merge conflicts to using tags, stashing changes, and cleaning up branches—helping developers of all levels manage code history more effectively and streamline their workflow.

BackendGitVersion Control
0 likes · 10 min read
10 Essential Git Tips for Efficient Version Control
php Courses
php Courses
Jan 26, 2025 · Backend Development

How to Use PHP is_file() to Check File Existence and Type

This article explains the PHP is_file() function, covering its syntax, parameters, return values, and provides clear code examples for checking whether a path exists, is a regular file, and how to differentiate files from directories using is_dir().

Backendfile-handlingis_file
0 likes · 4 min read
How to Use PHP is_file() to Check File Existence and Type
php Courses
php Courses
Jan 26, 2025 · Backend Development

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

This article explains PHP’s array_flip() function, showing its syntax, how it swaps array keys and values, handling duplicate values, and demonstrates practical uses with code examples that flip fruit and student arrays and retrieve values efficiently.

BackendCode ExamplePHP
0 likes · 5 min read
Using PHP’s array_flip() Function to Swap Keys and Values
Architect
Architect
Jan 25, 2025 · Backend Development

HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries

This article explores practical HTTP retry solutions for offline store applications, covering a basic loop retry, the built‑in retry mechanism of Apache HttpClient with custom handlers, and an asynchronous retry approach using message queues to achieve higher reliability and eventual consistency.

Apache HttpClientBackendHTTP
0 likes · 12 min read
HTTP Retry Strategies in Offline Store Systems: Simple Loop, Apache HttpClient, and MQ‑Based Asynchronous Retries
Raymond Ops
Raymond Ops
Jan 25, 2025 · Backend Development

Master Go Concurrency: Goroutines, Scheduler, and Synchronization Techniques

This article explains Go's concurrency model, detailing how goroutines are scheduled on logical processors, how to create and manage them, detect and resolve race conditions using atomic operations, mutexes, and channels, and demonstrates practical code examples for each concept.

BackendChannelatomic
0 likes · 19 min read
Master Go Concurrency: Goroutines, Scheduler, and Synchronization Techniques
Architect's Guide
Architect's Guide
Jan 25, 2025 · Information Security

Understanding Session and Token‑Based Authentication with JWT in Java

This article explains the stateless nature of HTTP, compares session‑based and token‑based authentication, describes JWT structure and security considerations, and provides Java code examples for implementing login, token generation, verification, and extraction in a backend application.

BackendJWTjava
0 likes · 8 min read
Understanding Session and Token‑Based Authentication with JWT in Java
php Courses
php Courses
Jan 24, 2025 · Backend Development

Using PHP is_numeric() to Determine Numeric Values

This article explains PHP's is_numeric() function, how it determines whether a variable is numeric, demonstrates usage with various examples, and highlights special cases and form validation considerations for developers in web applications.

Backendis_numericnumeric check
0 likes · 4 min read
Using PHP is_numeric() to Determine Numeric Values
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 24, 2025 · Backend Development

Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide

This article walks you through configuring Spring Cloud for dynamic property updates, covering dependency setup, enabling bootstrap, defining configuration properties, exposing a refresh endpoint, and listening to EnvironmentChangeEvent, all illustrated with complete code snippets and screenshots.

Backendconfiguration-refreshdynamic-config
0 likes · 7 min read
Master Dynamic Configuration Refresh in Spring Cloud Without Nacos – Step‑by‑Step Guide
php Courses
php Courses
Jan 23, 2025 · Backend Development

Using PHP array_merge() to Combine Indexed and Associative Arrays

This article explains PHP's array_merge() function, detailing its syntax, demonstrating how to merge indexed and associative arrays with multiple examples, and highlighting how overlapping keys are handled, providing developers with practical guidance for efficient array manipulation.

ArrayBackendarray merge
0 likes · 4 min read
Using PHP array_merge() to Combine Indexed and Associative Arrays
php Courses
php Courses
Jan 23, 2025 · Backend Development

Using PHP str_replace() for String Replacement

This article explains PHP's str_replace() function, detailing its syntax, parameters, return value, and provides three practical code examples—including single and multiple replacements and case‑insensitive replacement—while highlighting best practices for effective string manipulation.

Backendphp-tutorialstr_replace
0 likes · 4 min read
Using PHP str_replace() for String Replacement
Top Architect
Top Architect
Jan 22, 2025 · Information Security

Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management

This article presents a comprehensive design for securing third‑party API calls by generating unique Access Key/Secret Key pairs, defining permission granularity, implementing signature generation with timestamps and nonces, handling token lifecycle, and providing concrete Java and SQL code examples for practical deployment.

AK/SKAPI SecurityAuthentication
0 likes · 31 min read
Designing Secure Third‑Party API Authentication with AK/SK, Signatures and Token Management
php Courses
php Courses
Jan 22, 2025 · Backend Development

Using PHP rename() Function to Rename Files and Directories

This article explains the PHP rename() function, its syntax, parameters, return values, and provides clear examples for renaming both files and directories while noting permission considerations and common pitfalls.

Backendfile managementrename
0 likes · 4 min read
Using PHP rename() Function to Rename Files and Directories
Architect
Architect
Jan 21, 2025 · Backend Development

Refactoring Spring MVC Controllers for Unified Responses and Robust Validation

The article analyzes the role of Spring MVC Controllers, identifies issues with traditional implementations, and demonstrates how to create a unified response structure, automatically wrap results using ResponseBodyAdvice, resolve String conversion problems, and apply JSR‑303 validation with custom rules and global exception handling.

BackendControllerException Handling
0 likes · 22 min read
Refactoring Spring MVC Controllers for Unified Responses and Robust Validation
Selected Java Interview Questions
Selected Java Interview Questions
Jan 21, 2025 · Backend Development

Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling

This guide explains how to configure Alipay sandbox credentials, expose a local Java Spring Boot service via a tunneling tool, add the Alipay SDK dependency, set up configuration files, implement payment and notification endpoints, and handle common initialization errors for seamless backend payment integration.

AlipayBackendPayment Integration
0 likes · 11 min read
Integrating Alipay Sandbox Payment in a Java Backend with Ngrok Tunneling
php Courses
php Courses
Jan 21, 2025 · Backend Development

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

This article explains PHP's array_values() function, showing how it returns a new array with re‑indexed keys, provides examples with both indexed and associative arrays, demonstrates that the returned array is a copy, and discusses practical scenarios for its use.

BackendCode ExamplePHP
0 likes · 4 min read
Using PHP's array_values() Function to Reindex and Convert Arrays
Top Architecture Tech Stack
Top Architecture Tech Stack
Jan 21, 2025 · Backend Development

Common Backend Interface Performance Optimization Techniques

This article presents a comprehensive set of backend API performance optimization methods—including batch processing, asynchronous execution, caching, preprocessing, pooling, parallelization, indexing, transaction handling, pagination, SQL tuning, and lock granularity—illustrated with code snippets and diagrams to help developers improve response times and resource efficiency.

APIAsynchronousBackend
0 likes · 12 min read
Common Backend Interface Performance Optimization Techniques
JD Cloud Developers
JD Cloud Developers
Jan 20, 2025 · Backend Development

Boosting Inventory Reservation Performance: Strategies for High‑Concurrency Scenarios

This article examines the core challenges of high‑concurrency inventory pre‑reservation, evaluates async throttling, horizontal stock splitting, and Redis‑based write‑shielding, and presents concrete implementations, performance results, thread‑safety techniques, deadlock avoidance, and data‑consistency safeguards for robust backend systems.

Backendinventorymysql
0 likes · 11 min read
Boosting Inventory Reservation Performance: Strategies for High‑Concurrency Scenarios
php Courses
php Courses
Jan 20, 2025 · Backend Development

Using PHP implode() to Join Array Elements into a String

This article explains the PHP implode() function, detailing its syntax, parameters, and usage examples for joining array elements—including handling nested arrays and omitting delimiters—to efficiently convert arrays into strings in backend development.

ArrayBackendPHP
0 likes · 6 min read
Using PHP implode() to Join Array Elements into a String
php Courses
php Courses
Jan 20, 2025 · Backend Development

PHP Memory Optimization Techniques

This article presents a comprehensive guide to PHP memory optimization, covering strategies such as using unset() to free variables, processing data in chunks, manual garbage collection, monitoring usage, optimizing loops, generators, lazy class loading, database tuning, profiling tools, serialization practices, Opcache, session handling, large file processing, and Composer dependency management.

Backendbest-practicescode
0 likes · 9 min read
PHP Memory Optimization Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Jan 19, 2025 · Databases

A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process

A simple typo that changed a daily interest rate from 0.00006944444 to 0.00069444444 inflated calculated interest tenfold, went unnoticed because the author self‑approved the SQL update and testing only checked syntax, and the incident underscores the need for rigorous code review, testing, and change‑management procedures for critical data.

BackendCode reviewbug
0 likes · 12 min read
A Low‑Level Bug Caused by Decimal Precision Mistake: Lessons on Code Review, Testing, and Process
Go Development Architecture Practice
Go Development Architecture Practice
Jan 17, 2025 · Backend Development

Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices

This article explores practical Go backend development techniques, covering project organization, package naming, internal packages, init usage, layer separation (controller, service, dao), dependency injection, global variable pitfalls, observability with logging, tracing and monitoring, comprehensive error handling, and DAO layer automation.

Backenddependency-injectionerror-handling
0 likes · 23 min read
Mastering Go Backend: Project Structure, Error Handling, and Observability Best Practices
macrozheng
macrozheng
Jan 17, 2025 · Backend Development

Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe

This article shares hard‑won lessons from production incidents and provides practical guidelines—graceful shutdown, proper startup timing, suitable business scenarios, reliability patterns, and idempotent handling—to use Spring Event safely and effectively in Java backend systems.

BackendEventIdempotence
0 likes · 12 min read
Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe