Tagged articles

backend

5000 articles · Page 13 of 50
php Courses
php Courses
Dec 27, 2024 · Backend Development

Using PHP's setcookie Function to Create and Manage Cookies

This article explains the PHP setcookie function, detailing its syntax, parameters, and practical examples for setting cookies with various attributes such as expiration time, path, domain, security, and HttpOnly flags.

backendcookiesetcookie
0 likes · 4 min read
Using PHP's setcookie Function to Create and Manage Cookies
JD Tech Talk
JD Tech Talk
Dec 27, 2024 · Backend Development

Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services

The article examines the performance impact of excessive logging in large‑scale Java systems and proposes request‑level sampling with cross‑thread identifier propagation, offering practical component‑based solutions, implementation considerations, and a concrete code example for backend developers.

JavaLoggingThreadLocal
0 likes · 7 min read
Log Sampling and Cross‑Thread Propagation in High‑Throughput Java Services
Architect's Guide
Architect's Guide
Dec 27, 2024 · Backend Development

Fast‑Retry: High‑Performance Asynchronous Retry Framework for Java

Fast‑Retry is a high‑throughput Java retry library that enables asynchronous, non‑blocking retries for massive task volumes, offering programmable and annotation‑based APIs, custom retry policies, and significant performance gains over traditional synchronous frameworks like Spring‑Retry and Guava‑Retry.

JavaPerformanceRetry
0 likes · 11 min read
Fast‑Retry: High‑Performance Asynchronous Retry Framework for Java
php Courses
php Courses
Dec 26, 2024 · Backend Development

Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles

This article explains how the PHP curl_multi_add_handle() function can be used to add multiple cURL handles to a single session, improving network request efficiency and code maintainability, and provides a complete example with detailed code walkthrough.

HTTP requestsNetworkingbackend
0 likes · 5 min read
Using curl_multi_add_handle() in PHP to Manage Multiple cURL Handles
php Courses
php Courses
Dec 26, 2024 · Backend Development

Using PHP basename() Function to Retrieve File Names from Paths

This article explains the PHP basename() function, detailing its syntax, parameters, and behavior, and demonstrates its usage through multiple code examples that extract file names from absolute and relative paths, optionally removing specified suffixes, while noting OS-specific considerations.

File PathPHPString Functions
0 likes · 5 min read
Using PHP basename() Function to Retrieve File Names from Paths
Sohu Tech Products
Sohu Tech Products
Dec 25, 2024 · Operations

Mastering Elasticsearch Query Limits: Tips to Boost Performance

This article explains the five major Elasticsearch query limits—including result size, max clause count, field data, join operations, and query throughput—provides concrete code examples, and offers practical optimization strategies to improve performance and ensure cluster stability.

Elasticsearchbackendperformance optimization
0 likes · 11 min read
Mastering Elasticsearch Query Limits: Tips to Boost Performance
ITPUB
ITPUB
Dec 25, 2024 · Backend Development

How a Low Guava RateLimiter Triggered RPC Thread‑Pool Exhaustion

A developer investigates why an RPC service suddenly rejected many requests, discovers that a Guava RateLimiter with a limit of only ten calls per minute caused thread‑pool saturation, and explains the misinterpretations, monitoring data, and steps taken to pinpoint the root cause.

Rate Limiterbackendthread-pool
0 likes · 10 min read
How a Low Guava RateLimiter Triggered RPC Thread‑Pool Exhaustion
php Courses
php Courses
Dec 25, 2024 · Backend Development

Using PHP's urldecode() Function to Decode URLs

This article explains the concept of URL encoding and decoding, introduces PHP's urldecode() function with its prototype, provides step‑by‑step example code showing how to encode a string with urlencode() and then decode it back using urldecode(), and notes its limitations and the alternative rawurldecode() function.

URLbackendurldecode
0 likes · 4 min read
Using PHP's urldecode() Function to Decode URLs
php Courses
php Courses
Dec 25, 2024 · Backend Development

Key New Features in PHP 8.4

PHP 8.4 brings a collection of developer‑friendly enhancements—including readonly independent properties, string‑key array unpacking, JIT performance gains, typed class constants, improved error messages, an upgraded type system, and stronger Fiber support—aimed at making code cleaner, faster and more maintainable.

New Featuresasyncbackend
0 likes · 6 min read
Key New Features in PHP 8.4
Bin's Tech Cabin
Bin's Tech Cabin
Dec 25, 2024 · Backend Development

Unveiling Netty and Kafka Time Wheels: High‑Performance Scheduling Explained

This article explores the design and implementation of time wheel algorithms in Netty and Kafka, comparing their single‑layer and multi‑layer approaches, analyzing performance trade‑offs, and detailing how these systems achieve O(1) scheduling for massive delayed tasks while avoiding empty ticks.

KafkaNettyTime Wheel
0 likes · 76 min read
Unveiling Netty and Kafka Time Wheels: High‑Performance Scheduling Explained
JD Tech Talk
JD Tech Talk
Dec 24, 2024 · Frontend Development

Large File Upload: Principles, Implementation, and Optimizations

This article explains what constitutes a large file, contrasts its upload challenges with ordinary files, outlines the chunked upload workflow for both front‑end and back‑end, and provides practical code examples and optimization techniques such as resumable uploads, instant upload, progress tracking, and pause/resume functionality.

Chunked UploadLarge File UploadResumable Upload
0 likes · 12 min read
Large File Upload: Principles, Implementation, and Optimizations
php Courses
php Courses
Dec 23, 2024 · Backend Development

Using Named Arguments in PHP 8: Concepts, Benefits, and Best Practices

This guide explains PHP 8's named arguments feature, showing how they improve code readability, allow skipping optional parameters, make argument order irrelevant, and provide practical examples and best‑practice recommendations for writing clearer, more maintainable backend code.

backendbest-practicescode-quality
0 likes · 7 min read
Using Named Arguments in PHP 8: Concepts, Benefits, and Best Practices
php Courses
php Courses
Dec 23, 2024 · Backend Development

Using PHP str_replace for String Replacement and Deletion

This article explains the PHP str_replace function, its syntax, and demonstrates through three examples how to perform simple replacements, replace multiple substrings, and delete characters in strings, while also mentioning additional options and linking to further learning resources.

backendphp-tutorialstr_replace
0 likes · 4 min read
Using PHP str_replace for String Replacement and Deletion
Architect's Guide
Architect's Guide
Dec 23, 2024 · Backend Development

Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice

This article walks through the design and implementation of symmetric AES encryption for both GET and POST API endpoints in a Spring Boot application, covering requirement analysis, data model definition, custom RequestBodyAdvice and ResponseBodyAdvice, serialization challenges with FastJSON vs Jackson, and final configuration to ensure consistent JSON output across encrypted and non‑encrypted responses.

AESAPI EncryptionControllerAdvice
0 likes · 12 min read
Implementing API Request and Response Encryption/Decryption with Spring Boot and ControllerAdvice
IT Services Circle
IT Services Circle
Dec 22, 2024 · Backend Development

Various Strategies for Implementing Order Auto‑Cancellation in High‑Concurrency Systems

This article compares seven practical approaches—DelayQueue, database polling, Redis queues, Redis key expiration callbacks, RabbitMQ delayed messages, scheduled task frameworks, and event‑stream processing—for automatically cancelling unpaid orders, outlining their suitable scenarios, code examples, advantages, disadvantages, and optimization tips.

DelayQueueJavabackend
0 likes · 12 min read
Various Strategies for Implementing Order Auto‑Cancellation in High‑Concurrency Systems
Architect's Guide
Architect's Guide
Dec 22, 2024 · Backend Development

Cool Request Plugin for IDEA: Tracing, MyBatis Function Tracking, and Custom Timing Features

The article introduces the Cool Request IDEA plugin, explains its tracing capabilities for arbitrary packages, automatic MyBatis function monitoring, customizable timing colors, script-based environment manipulation, and provides a Java code example for handling responses, highlighting its usefulness for backend developers.

IDEAJavaMyBatis
0 likes · 4 min read
Cool Request Plugin for IDEA: Tracing, MyBatis Function Tracking, and Custom Timing Features
IT Services Circle
IT Services Circle
Dec 20, 2024 · Backend Development

Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker

This article compiles detailed backend interview notes covering salary expectations, OS stack vs heap differences, process and thread concepts, DNS resolution, ping protocol, MySQL indexing and locking mechanisms, Redis performance characteristics, Kafka throughput optimizations, and Docker's underlying implementation.

DockerInterviewNetworking
0 likes · 17 min read
Comprehensive Backend Development Interview Notes: OS Memory, Concurrency, Networking, Databases, Redis, Kafka, and Docker
Selected Java Interview Questions
Selected Java Interview Questions
Dec 20, 2024 · Backend Development

12 MyBatis‑Plus Optimization Tips for Efficient Database Operations

This article presents twelve practical MyBatis‑Plus optimization techniques—ranging from avoiding null checks and specifying select fields to batch operations, safe ordering, pagination, logical deletion, optimistic locking, and performance tracking—each illustrated with code examples and clear explanations to help backend developers write cleaner, faster, and more maintainable Java ORM queries.

JavaMybatisPlusORM
0 likes · 14 min read
12 MyBatis‑Plus Optimization Tips for Efficient Database Operations
macrozheng
macrozheng
Dec 20, 2024 · Backend Development

Avoid the Top 10 Java ThreadPool Pitfalls and Boost Performance

This article explains ten common mistakes when using Java thread pools—such as unbounded queues, wrong thread counts, missing shutdown, and ignored exceptions—and provides concrete code examples and best‑practice solutions to help developers write safer, more efficient concurrent code.

JavaThreadPoolbackend
0 likes · 10 min read
Avoid the Top 10 Java ThreadPool Pitfalls and Boost Performance
IT Architects Alliance
IT Architects Alliance
Dec 19, 2024 · Backend Development

From Monolith to Microservices: When and How to Adopt Distributed Architecture

The article examines monolithic architecture’s early popularity, its simplicity and deployment ease, then details its scalability and maintenance drawbacks, and explains how distributed architectures—through decoupling, redundancy, scalability, and mechanisms like caching and load balancing—address these issues, outlining practical migration steps.

Distributed Architecturebackendmicroservices
0 likes · 20 min read
From Monolith to Microservices: When and How to Adopt Distributed Architecture
macrozheng
macrozheng
Dec 19, 2024 · Backend Development

Master Java Optional: Clean Null Handling with Real-World Examples

This article introduces Java's Optional class, explains why null checks cause clutter, demonstrates how to replace traditional three‑level null‑checking with concise Optional chains, and provides detailed examples of all core Optional methods such as empty, of, ofNullable, isPresent, get, ifPresent, filter, map, flatMap, orElse, orElseGet, and orElseThrow.

JavaJava8NullPointerException
0 likes · 11 min read
Master Java Optional: Clean Null Handling with Real-World Examples
php Courses
php Courses
Dec 18, 2024 · Backend Development

PHP array_merge() Function: Syntax, Examples, and Usage Guide

This article explains the PHP array_merge() function, its simple syntax, and demonstrates how to merge indexed, multiple, and associative arrays with clear code examples, showing the resulting output and highlighting key behaviors such as key overriding.

Code ExamplePHParray merge
0 likes · 5 min read
PHP array_merge() Function: Syntax, Examples, and Usage Guide
21CTO
21CTO
Dec 16, 2024 · Information Security

Pick the Best Identity Verification Framework: Clerk, Supabase Auth, or Better Auth

This article introduces three top‑tier authentication solutions—Clerk, Supabase Auth, and Better Auth—detailing their key features, supported strategies, customization options, and integration benefits, helping developers decide which framework best fits their user management and security needs.

Identity verificationUser Managementauthentication
0 likes · 4 min read
Pick the Best Identity Verification Framework: Clerk, Supabase Auth, or Better Auth
21CTO
21CTO
Dec 16, 2024 · Backend Development

Why Rust Beats Go and Zig for Backend Development: A Hands‑On Comparison

After building sizable projects in Go, Zig, and Rust, the author compares their performance, safety, ecosystem, and developer experience, ultimately concluding that Rust’s ownership model and compile‑time guarantees make it the superior choice for backend engineers despite Go’s speed and Zig’s simplicity.

Language comparisonZigbackend
0 likes · 8 min read
Why Rust Beats Go and Zig for Backend Development: A Hands‑On Comparison
Eric Tech Circle
Eric Tech Circle
Dec 15, 2024 · Mobile Development

Mastering WeChat Mini Program Subscription Messages: From Setup to Code

This guide explains what WeChat Mini Program subscription messages are, outlines common use cases, and provides a step‑by‑step implementation process—including template creation, backend push configuration, frontend subscription requests, and server‑side message sending with code examples.

APIMiniProgramSubscriptionMessage
0 likes · 8 min read
Mastering WeChat Mini Program Subscription Messages: From Setup to Code
Top Architect
Top Architect
Dec 14, 2024 · Backend Development

Introducing Liteflow Rule Engine: Concepts, Usage, and Business Practices

This article presents Liteflow, a lightweight yet powerful rule engine for Java/Spring Boot, explaining its architecture, supported rule formats, component types, configuration, code examples, and a real‑world e‑commerce workflow, while also noting its high‑performance startup processing and monitoring capabilities.

backend
0 likes · 10 min read
Introducing Liteflow Rule Engine: Concepts, Usage, and Business Practices
macrozheng
macrozheng
Dec 13, 2024 · Backend Development

How to Implement a FIFO Export Queue in Spring Boot to Prevent Performance Bottlenecks

To avoid performance degradation caused by simultaneous large‑scale data exports, this guide demonstrates building a fixed‑size FIFO export queue in Spring Boot, integrating EasyExcel for million‑row exports, handling asynchronous processing, and providing sample code for the queue, export service, and controller.

EasyExcelExport QueueFIFO
0 likes · 12 min read
How to Implement a FIFO Export Queue in Spring Boot to Prevent Performance Bottlenecks
Laravel Tech Community
Laravel Tech Community
Dec 12, 2024 · Backend Development

New Features in PHP 8.4.1: Property Hooks, Asymmetric Visibility, Deprecation Attributes, Ext‑DOM Enhancements, BCMath Object API, and New array_* Functions

PHP 8.4.1 introduces a suite of backend improvements—including property hooks, asymmetric visibility, deprecation attributes, a spec‑compliant DOM API, an object‑oriented BCMath API, and several new array_* functions—each illustrated with concise code examples and usage notes.

Asymmetric VisibilityNew FeaturesPHP 8.4
0 likes · 5 min read
New Features in PHP 8.4.1: Property Hooks, Asymmetric Visibility, Deprecation Attributes, Ext‑DOM Enhancements, BCMath Object API, and New array_* Functions
php Courses
php Courses
Dec 12, 2024 · Backend Development

Using PHP is_file() to Determine Whether a Path Is a File

This article explains PHP's is_file() function, demonstrates its usage with sample code, outlines important considerations, and summarizes how it can be applied to verify whether a given path points to a file.

backendfile checkis_file
0 likes · 3 min read
Using PHP is_file() to Determine Whether a Path Is a File
Tencent Cloud Developer
Tencent Cloud Developer
Dec 12, 2024 · Backend Development

Common Rate Limiting Algorithms: Fixed Window, Sliding Window, Sliding Log, Leaky Bucket, and Token Bucket

The article examines five common rate‑limiting algorithms—Fixed Window, Sliding Window, Sliding Log, Leaky Bucket, and Token Bucket—detailing their principles, pros and cons, and providing complete C++ implementations to help developers choose the best approach for controlling traffic bursts and ensuring system stability.

AlgorithmC++Performance
0 likes · 14 min read
Common Rate Limiting Algorithms: Fixed Window, Sliding Window, Sliding Log, Leaky Bucket, and Token Bucket
JD Tech
JD Tech
Dec 11, 2024 · Backend Development

Optimizing SpringBoot Application Startup Speed: Diagnosis and Solutions

This article details how a SpringBoot advertising platform service with startup times of 400‑500 seconds was analyzed and optimized through Actuator monitoring, log inspection, Tomcat TLD scan disabling, asynchronous HBase warm‑up, custom BeanPostProcessors, async JSF consumer initialization, Tomcat version tuning, and hardware upgrades, achieving roughly a 60% reduction in launch time.

BeanPostProcessorJavaPerformance
0 likes · 20 min read
Optimizing SpringBoot Application Startup Speed: Diagnosis and Solutions
Code Ape Tech Column
Code Ape Tech Column
Dec 11, 2024 · Backend Development

Layered Architecture Design for SpringBoot Projects: Nine-Layer Structure and Detailed Implementation

This article explains the concept of layered architecture in Java backend projects, outlines five design dimensions, presents a nine‑layer SpringBoot module structure, and provides concrete code examples for each layer—including util, infrastructure, domain, service, integration, facade, client, controller, and boot—demonstrating how to achieve clean separation of concerns and maintainable code.

DDDJavaSpringBoot
0 likes · 18 min read
Layered Architecture Design for SpringBoot Projects: Nine-Layer Structure and Detailed Implementation
php Courses
php Courses
Dec 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 to dynamically generate file content.

File HandlingPHPbackend
0 likes · 5 min read
Using PHP file_put_contents() to Write Data to Files
php Courses
php Courses
Dec 11, 2024 · Backend Development

Using PHP’s is_callable() Function to Check Callable Functions and Methods

This article explains PHP’s is_callable() function, detailing its purpose, parameter options, and how to use it to verify whether functions or class methods are callable, accompanied by clear code examples demonstrating checks on a simple function and a class method.

Functionbackendcallable
0 likes · 4 min read
Using PHP’s is_callable() Function to Check Callable Functions and Methods
php Courses
php Courses
Dec 10, 2024 · 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, INSERT, UPDATE, and DELETE statements, and process results, including a complete example code snippet demonstrating connection, query execution, result handling, and cleanup.

MySQLibackendquery
0 likes · 4 min read
Using PHP mysqli_query to Execute MySQL Queries
php Courses
php Courses
Dec 10, 2024 · Backend Development

Understanding and Building a PHP Interpreter with C

This course introduces the background and features of PHP, explains the role and inner workings of the PHP interpreter—including lexical analysis, parsing, and the virtual machine—and guides students through implementing interpreter modules in C, culminating in a hands‑on project to build a simple PHP interpreter.

Learningbackendc-language
0 likes · 3 min read
Understanding and Building a PHP Interpreter with C
JD Tech Talk
JD Tech Talk
Dec 10, 2024 · Operations

Stability Challenges and Solutions for an Inventory Platform

This article analyzes the stability challenges faced by an e‑commerce inventory platform—including complex business flows, database hotspots, and high‑frequency calculations—and details a series of engineering solutions such as traffic splitting, gray‑release pipelines, Redis caching, consistency checks, throttling, and comprehensive monitoring to improve reliability and performance.

Inventorybackend
0 likes · 14 min read
Stability Challenges and Solutions for an Inventory Platform
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 9, 2024 · Backend Development

Microservices vs SOA: Key Architectural Differences Explained

Microservices and Service‑Oriented Architecture (SOA) both aim to modularize systems, but they differ in design philosophy, technology heterogeneity, governance, and deployment, with microservices favoring fine‑grained, independent services, decentralized governance, and container‑based continuous delivery, while SOA relies on larger, centrally managed services via an ESB.

SOAbackenddeployment
0 likes · 4 min read
Microservices vs SOA: Key Architectural Differences Explained
php Courses
php Courses
Dec 9, 2024 · Backend Development

Extracting Values from a Two-Dimensional PHP Array by ID

This article demonstrates how to create a reusable PHP function that searches a two‑dimensional array for a specific id and returns the value of a given key, such as the title, using a simple loop and conditional check.

ArrayFunctionbackend
0 likes · 2 min read
Extracting Values from a Two-Dimensional PHP Array by ID
Architect
Architect
Dec 8, 2024 · Backend Development

16 Essential Redis Patterns Every Backend Engineer Should Master

This article compiles sixteen practical Redis use‑cases—from caching and distributed locks to rate limiting, bitmaps, shopping carts, timelines, queues, likes, tags, filtering, follow/fan relationships, and leaderboards—providing code snippets and command examples to help backend developers design scalable systems.

Design PatternsRedisbackend
0 likes · 11 min read
16 Essential Redis Patterns Every Backend Engineer Should Master
Programmer1970
Programmer1970
Dec 6, 2024 · Backend Development

Comparing API Protocol Styles: SOAP, REST, GraphQL, and RPC

The article systematically compares four major API styles—SOAP, REST, GraphQL, and RPC—detailing each one's core characteristics, advantages, limitations, and suitable use‑cases, and concludes with guidance on selecting the most appropriate protocol based on security, performance, complexity, and team expertise.

APIGraphQLREST
0 likes · 13 min read
Comparing API Protocol Styles: SOAP, REST, GraphQL, and RPC
Top Architect
Top Architect
Dec 6, 2024 · Information Security

Design and Implementation of Secure Third‑Party API Authentication Using AK/SK, Signatures, and Tokens

This article presents a comprehensive design for securing third‑party APIs, covering permission segmentation, AK/SK generation, signature workflow and rules, anti‑replay mechanisms, token handling, detailed API endpoint specifications, and best‑practice security measures with illustrative Java code examples.

AK/SKAPI securitySignature
0 likes · 32 min read
Design and Implementation of Secure Third‑Party API Authentication Using AK/SK, Signatures, and Tokens
Selected Java Interview Questions
Selected Java Interview Questions
Dec 6, 2024 · Backend Development

Design and Implementation of a Lightweight Data Translation Framework for Java Backend Applications

This article introduces a lightweight, extensible Java framework that uses custom annotations to translate relational data, dictionaries, collections, and nested objects, detailing its background, architecture, core annotation design, usage examples, advanced features, Spring Boot integration, ORM support, and provides the open‑source repository link.

AnnotationData TranslationJava
0 likes · 17 min read
Design and Implementation of a Lightweight Data Translation Framework for Java Backend Applications
php Courses
php Courses
Dec 6, 2024 · Backend Development

How to Retrieve a File’s Last Modification Time in PHP

This article explains how to retrieve a file’s last modification time in PHP using functions like filemtime(), stat(), and the DateTime class, and provides a practical example for detecting changes and notifying users.

backenddatetimefilemtime
0 likes · 3 min read
How to Retrieve a File’s Last Modification Time in PHP
php Courses
php Courses
Dec 6, 2024 · Backend Development

Using define() to Create Constants in PHP

This article explains how to use PHP's define() function to create constants, detailing its syntax, parameters, a practical example, and important considerations such as naming rules, case sensitivity, immutability, and typical naming conventions.

backendconstantsdefine
0 likes · 3 min read
Using define() to Create Constants in PHP
php Courses
php Courses
Dec 5, 2024 · Backend Development

Using PHP’s floatval() Function to Convert Variables to Float

This article explains PHP’s built‑in floatval() function, its syntax, and provides multiple code examples showing how to convert integers, strings, booleans, and arrays to floating‑point numbers, while also noting conversion limitations such as non‑numeric strings returning zero.

PHPbackendfloatval
0 likes · 4 min read
Using PHP’s floatval() Function to Convert Variables to Float
macrozheng
macrozheng
Dec 4, 2024 · Databases

Why MySQL Pagination Slows Down at Scale and How to Speed It Up

This article examines how pagination queries on large MySQL tables become dramatically slower as the offset grows, presents real‑world performance measurements, and offers three practical optimization strategies—including selecting only primary keys, range‑based filtering, and using ElasticSearch—to keep query latency low.

PaginationPerformanceSQL
0 likes · 10 min read
Why MySQL Pagination Slows Down at Scale and How to Speed It Up
php Courses
php Courses
Dec 4, 2024 · Backend Development

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

This article explains the PHP fgetc() function, shows how to open files with fopen(), demonstrates reading characters from files and standard input using loops and switch statements, and provides complete code examples for practical use.

Code ExampleFile HandlingPHP
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
php Courses
php Courses
Dec 4, 2024 · Backend Development

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

This article explains PHP’s is_numeric() function, detailing how it determines whether a variable is numeric, provides multiple code examples—including simple variable checks and form input validation—and discusses special cases such as decimal points and trailing symbols.

backendis_numericnumeric validation
0 likes · 4 min read
Using PHP’s is_numeric() Function to Check Numeric Values
php Courses
php Courses
Dec 3, 2024 · Backend Development

Understanding PHP's urldecode() Function: Usage and Examples

This article explains PHP's urldecode() function, covering URL encoding concepts, the function's signature, practical encoding/decoding examples, limitations with non‑printable characters, and when to use rawurldecode() as an alternative.

PHPURL decodingWeb Development
0 likes · 4 min read
Understanding PHP's urldecode() Function: Usage and Examples
php Courses
php Courses
Dec 3, 2024 · Backend Development

Understanding PHP Constants: Definition, Usage, and Best Practices

This article explains what PHP constants are, how to define them with define() or const, showcases practical examples, outlines their benefits such as data consistency and global access, and provides best‑practice guidelines for using constants effectively in backend development.

backendconstconstants
0 likes · 4 min read
Understanding PHP Constants: Definition, Usage, and Best Practices
Code Ape Tech Column
Code Ape Tech Column
Dec 2, 2024 · Backend Development

Creating an Enterprise‑Grade OSS Object Storage Spring Boot Starter Based on Amazon S3

This article provides a step‑by‑step guide to building a Spring Boot starter that abstracts object storage services (OSS) via the Amazon S3 protocol, covering dependency selection, configuration properties, template interfaces, implementation, auto‑configuration, packaging, and testing for cloud‑native backend applications.

Amazon S3JavaOSS
0 likes · 15 min read
Creating an Enterprise‑Grade OSS Object Storage Spring Boot Starter Based on Amazon S3
php Courses
php Courses
Dec 2, 2024 · Backend Development

Using PHP's tmpfile() Function to Create and Manage Temporary Files

This article explains how PHP's tmpfile() function creates a unique temporary file that is automatically deleted when closed or when the script ends, and demonstrates its usage with example code for writing, reading, and cleaning up the file.

File Handlingbackendphp-tutorial
0 likes · 4 min read
Using PHP's tmpfile() Function to Create and Manage Temporary Files
php Courses
php Courses
Dec 2, 2024 · Backend Development

Understanding PHP 8.1 Fibers: How They Work and Their Limitations

This article explains PHP 8.1 Fibers, describing their cooperative multitasking mechanism, how suspension and resumption affect the main script, why they do not provide true asynchronous execution, and how they can be combined with event loops for more efficient non‑blocking code in backend development.

AsynchronousFibersPHP
0 likes · 7 min read
Understanding PHP 8.1 Fibers: How They Work and Their Limitations
Architect's Guide
Architect's Guide
Dec 2, 2024 · Backend Development

Implementing QR‑Code Login with WebSocket in Spring Boot

This article explains how to design a QR‑code login flow, create the necessary database table, define the required APIs, and integrate front‑end JavaScript with a Spring Boot back‑end using WebSocket to notify the client of successful authentication.

JavaQR Code LoginSpring Boot
0 likes · 13 min read
Implementing QR‑Code Login with WebSocket in Spring Boot
Lobster Programming
Lobster Programming
Dec 2, 2024 · Backend Development

Designing Scalable E‑Commerce Shopping Carts: From Cookies to Redis

This article explores the core functions of e‑commerce shopping carts and compares client‑side storage methods such as Cookies and LocalStorage with server‑side solutions like Redis and MySQL, offering guidance on choosing the appropriate approach based on business scale and reliability requirements.

E‑commerceMySQLRedis
0 likes · 7 min read
Designing Scalable E‑Commerce Shopping Carts: From Cookies to Redis
dbaplus Community
dbaplus Community
Dec 1, 2024 · Backend Development

Why Redis Expiration Listeners Fail for Delayed Tasks and Better Alternatives

This article examines why using Redis key‑space expiration notifications for delayed job execution is unreliable, compares common approaches such as message‑queue delayed delivery, RabbitMQ dead‑letter queues, time wheels, and Redisson DelayQueue, and provides practical recommendations for robust timeout handling in e‑commerce systems.

RedisTime Wheelbackend
0 likes · 7 min read
Why Redis Expiration Listeners Fail for Delayed Tasks and Better Alternatives
Architect
Architect
Nov 30, 2024 · Information Security

Secure Spring Boot API Data Transmission with AES/RSA Hybrid Encryption

This article explains how to protect front‑end and back‑end communication in a Spring Boot application by encrypting request and response data using a hybrid AES and RSA scheme, custom request wrappers, filters, and AOP‑based response encryption, complete with code examples and implementation details.

AESAPI securityEncryption
0 likes · 48 min read
Secure Spring Boot API Data Transmission with AES/RSA Hybrid Encryption
21CTO
21CTO
Nov 29, 2024 · Backend Development

Why Upgrade to PHP 8.4? New OOP Features, Performance Boosts, and More

This article outlines why PHP 8.4 is a substantial upgrade, highlighting enhanced object‑oriented programming, developer‑friendly attributes, new language constructs, performance improvements, and a host of new functions and library support that make it a compelling move for modern backend development.

backendnew-featuresphp8.4
0 likes · 7 min read
Why Upgrade to PHP 8.4? New OOP Features, Performance Boosts, and More
php Courses
php Courses
Nov 29, 2024 · Backend Development

Understanding PHP’s is_numeric() Function: Usage, Examples, and Edge Cases

This article explains PHP’s is_numeric() function, detailing how it determines whether a variable is numeric, providing multiple code examples—including simple variable checks, form input validation, and discussion of special cases like trailing decimal points—so beginners can effectively use it in their projects.

backendis_numericnumeric validation
0 likes · 4 min read
Understanding PHP’s is_numeric() Function: Usage, Examples, and Edge Cases
php Courses
php Courses
Nov 29, 2024 · Backend Development

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

This article explains the PHP fgetc() function, shows how to open files with fopen(), demonstrates reading characters from a file and from STDIN using loops and switch statements, and provides complete code examples for each scenario.

File HandlingPHPbackend
0 likes · 4 min read
Using PHP fgetc() to Read Characters from Files and User Input
Selected Java Interview Questions
Selected Java Interview Questions
Nov 28, 2024 · Backend Development

Key Considerations and Best Practices for Using Spring Event in Backend Systems

This article explains critical pitfalls and best‑practice guidelines for employing Spring Event in Java backend applications, covering graceful shutdown requirements, event loss during startup, suitable business scenarios, reliability enhancements, retry mechanisms, idempotency, and the relationship between Spring Event and message queues.

JavaReliabilityRetry
0 likes · 12 min read
Key Considerations and Best Practices for Using Spring Event in Backend Systems
php Courses
php Courses
Nov 28, 2024 · Backend Development

Understanding Getters and Setters in PHP: Purpose, Usage, and Practical Examples

This article explains the purpose and implementation of getters and setters in PHP, demonstrates their advantages for data validation and encapsulation, and provides comprehensive code examples showing how to combine them for secure and reliable object property management.

Object-Orientedbackenddata encapsulation
0 likes · 6 min read
Understanding Getters and Setters in PHP: Purpose, Usage, and Practical Examples
php Courses
php Courses
Nov 28, 2024 · Backend Development

How to Use PHP’s is_file() Function to Check File Existence

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

PHPbackendfile-existence
0 likes · 5 min read
How to Use PHP’s is_file() Function to Check File Existence
php Courses
php Courses
Nov 28, 2024 · Backend Development

Comparing PHP 8.4 Property Hooks with Laravel Eloquent Mutators

This article examines PHP 8.4's new Property Hooks feature, compares it with Laravel Eloquent's Mutators, provides implementation examples for both, and offers guidance on when to prefer each approach based on project requirements and performance considerations.

EloquentMutatorsbackend
0 likes · 8 min read
Comparing PHP 8.4 Property Hooks with Laravel Eloquent Mutators
Selected Java Interview Questions
Selected Java Interview Questions
Nov 27, 2024 · Backend Development

Designing a Flexible Permission Control System with Java Annotations and Spring AOP

This article explains how to build a scalable, maintainable permission control framework in Java by defining custom annotations, designing relational database tables, and using Spring AOP to intercept method calls for organization‑level, personal, limit, and special‑role checks, while providing implementation details and best‑practice recommendations.

AOPJavaPermission
0 likes · 21 min read
Designing a Flexible Permission Control System with Java Annotations and Spring AOP
php Courses
php Courses
Nov 27, 2024 · Backend Development

New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Array Functions, Simplified Instantiation, Explicit Nullable Types, and Lazy Objects

PHP 8.4 introduces property hooks, asymmetric visibility, new array functions, simplified object instantiation, explicit nullable types, and lazy objects, providing cleaner syntax, better control, and performance improvements for developers across skill levels.

New Featuresarray-functionsbackend
0 likes · 7 min read
New Features in PHP 8.4: Property Hooks, Asymmetric Visibility, Array Functions, Simplified Instantiation, Explicit Nullable Types, and Lazy Objects
Architect's Tech Stack
Architect's Tech Stack
Nov 27, 2024 · Backend Development

Refactoring Spring Boot Controllers: From Messy Code to Clean, Validated, and Exception‑Handled Design

This article examines common problems in Spring Boot controller implementations—excessive try‑catch blocks, inline validation, and business logic leakage—and demonstrates how to refactor them using @Valid, assertion utilities, and a global exception handler to achieve concise, maintainable backend code.

ControllerExceptionHandlingJava
0 likes · 9 min read
Refactoring Spring Boot Controllers: From Messy Code to Clean, Validated, and Exception‑Handled Design
JD Retail Technology
JD Retail Technology
Nov 27, 2024 · Backend Development

Optimizing SpringBoot Application Startup Time: Diagnosis and Solutions

This article documents the diagnosis of slow SpringBoot startup in a large‑scale advertising platform and presents a series of optimizations—including actuator monitoring, Tomcat TLD scan disabling, HBase async warm‑up, custom BeanPostProcessor timing, asynchronous JSF consumer refer, Tomcat version tuning, and hardware migration—that together reduce launch time by about 60%.

BeanPostProcessorJavaPerformance
0 likes · 20 min read
Optimizing SpringBoot Application Startup Time: Diagnosis and Solutions
php Courses
php Courses
Nov 26, 2024 · Backend Development

Using PHP glob() Function to Match File Paths

This article explains the PHP glob() function, detailing its syntax, parameters, and various usage examples—including wildcard, brace expansion, and recursive matching—to help developers efficiently retrieve file paths matching specific patterns, while noting important considerations such as flags and empty results.

Code ExamplePHPbackend
0 likes · 4 min read
Using PHP glob() Function to Match File Paths