Tagged articles

Backend

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

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

This article explains PHP's shuffle() function, its syntax, behavior on indexed and associative arrays, and provides code examples demonstrating how to randomize array elements and handle the function's boolean return value in practice.

BackendCodingShuffle
0 likes · 5 min read
How to Use PHP shuffle() to Randomly Rearrange Array Elements
Code Mala Tang
Code Mala Tang
Aug 27, 2024 · Backend Development

Mastering .env Files: Secure Node.js Config with dotenv and dotenvx

This guide explains why .env files are used, how to install and configure the dotenv package, handle multiple environments, expand variables, and secure secrets with dotenvx, providing clear code examples and best‑practice recommendations for Node.js developers.

BackendConfigurationNode.js
0 likes · 9 min read
Mastering .env Files: Secure Node.js Config with dotenv and dotenvx
IT Services Circle
IT Services Circle
Aug 27, 2024 · Backend Development

How to Present Projects Built on Scaffolding Frameworks in Interviews

The article advises developers to avoid explicitly mentioning the use of scaffolding frameworks like RuoYi when describing project experience, suggesting they instead focus on the underlying implementation details and any custom improvements to demonstrate genuine technical contribution and avoid misconceptions about their capabilities.

BackendRuoYiScaffolding
0 likes · 4 min read
How to Present Projects Built on Scaffolding Frameworks in Interviews
Architecture Digest
Architecture Digest
Aug 27, 2024 · Big Data

Curated List of Free API Interfaces for Various Services

This article provides a comprehensive collection of free, unlimited-use API endpoints covering diverse services such as phone number lookup, historical events, stock data, weather forecasts, identity verification, jokes, maps, and many others, offering developers ready-to-use resources for building data-driven applications.

BackendData Servicesbig data
0 likes · 5 min read
Curated List of Free API Interfaces for Various Services
php Courses
php Courses
Aug 27, 2024 · Backend Development

Using PHP rawurldecode() to Decode URL‑Encoded Strings

This article explains PHP's rawurldecode() function, detailing its syntax, how it reverses URL encoding performed by urlencode(), provides a complete code example, demonstrates the output, and highlights the difference between rawurldecode() and urldecode() for full URL decoding.

BackendPHPrawurldecode
0 likes · 3 min read
Using PHP rawurldecode() to Decode URL‑Encoded Strings
php Courses
php Courses
Aug 26, 2024 · Backend Development

Using PHP count() Function to Determine Array and Object Lengths

This article explains PHP's count() function, its syntax and parameters, and provides step‑by‑step examples for counting simple and multidimensional arrays using both normal and recursive modes. It also shows how to output the results and highlights the differences between COUNT_NORMAL and COUNT_RECURSIVE.

BackendCOUNTFunction
0 likes · 4 min read
Using PHP count() Function to Determine Array and Object Lengths
Selected Java Interview Questions
Selected Java Interview Questions
Aug 25, 2024 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation

This article explains the principles and source‑code flow of Nacos configuration center’s long‑polling mechanism, detailing how the client initiates periodic tasks, how the server processes listener requests, and how configuration changes are detected and propagated through various internal classes and threads.

BackendConfiguration CenterJava
0 likes · 10 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation
Architect
Architect
Aug 23, 2024 · Backend Development

Understanding RocketMQ: Basic Concepts, Ordered Messages, and Transactional Messages

This article explains RocketMQ's core components, including domain models, message transmission models, reliability mechanisms, the challenges of ordered messaging, practical usage scenarios, and the design and implementation of transactional messages in both open‑source and proprietary versions.

BackendRocketMQdistributed systems
0 likes · 21 min read
Understanding RocketMQ: Basic Concepts, Ordered Messages, and Transactional Messages
Zhuanzhuan Tech
Zhuanzhuan Tech
Aug 23, 2024 · Backend Development

Upgrading to JDK 21 and Adopting Generational ZGC: Motivation, Design, Implementation, Monitoring, and Performance Evaluation

This article explains why the backend services were upgraded from JDK 8 to JDK 21, introduces the generational ZGC garbage collector, details its architecture, tuning parameters, integration steps, monitoring setup, and presents performance test results that demonstrate reduced allocation stalls, lower latency, higher throughput, and near‑zero GC pauses.

BackendGenerational ZGCJDK21
0 likes · 20 min read
Upgrading to JDK 21 and Adopting Generational ZGC: Motivation, Design, Implementation, Monitoring, and Performance Evaluation
macrozheng
macrozheng
Aug 23, 2024 · Backend Development

Validate JSON in Spring Boot with JSON Schema: Step‑by‑Step Guide

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

APIBackendJSON Schema
0 likes · 7 min read
Validate JSON in Spring Boot with JSON Schema: Step‑by‑Step Guide
php Courses
php Courses
Aug 23, 2024 · Backend Development

Using PHP str_split to Split Strings into Character Arrays

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

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

Regenerating PHP Session IDs with session_regenerate_id for Improved Security

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

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

Mastering Asynchronous Batch Processing with JDK 21 Virtual Threads

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

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

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

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

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

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

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

BackendFile HandlingPHP
0 likes · 4 min read
PHP fgetc() Function: Reading Characters from Files and Standard Input
php Courses
php Courses
Aug 22, 2024 · Backend Development

Why Build a Custom PHP Framework and Course Outline

This article explains the motivations for creating a custom PHP framework—such as meeting specific needs, learning opportunities, long‑term maintenance, performance optimization, ease of use, and security—and provides a detailed chapter and section outline for a self‑study course.

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

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

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

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

Design of a Unified WebSocket Messaging Service for Backend Systems

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

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

Understanding PHP DateTime: Mutability, Immutability, and Best Practices

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

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

Using PHP array_unique() to Remove Duplicate Elements

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Zero‑Downtime SpringBoot Port Sharing: Design and Implementation

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

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

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

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

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

Using Java 8 Functional Interfaces to Replace if…else Statements

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

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

Master Go Configuration with Viper: Quick Setup and Advanced Features

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

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

How a Kafka‑Proxy Boosts Cluster Scalability and Resilience

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

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

9 Proven Techniques to Supercharge Backend Service Performance

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

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

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

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

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

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

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

BackendCircuit Breakerdegradation
0 likes · 20 min read
Handling Interface‑Level Failures: Degradation, Circuit Breaking, Rate Limiting, and Queuing
Top Architect
Top Architect
Aug 15, 2024 · Backend Development

Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization

This article provides a comprehensive overview of Nginx's high‑performance architecture, including its core, basic and third‑party modules, master‑worker process model, asynchronous event handling with epoll, FastCGI and PHP‑FPM integration, as well as detailed configuration and optimization techniques for production deployments.

BackendNginxOptimization
0 likes · 47 min read
Understanding Nginx Architecture, Process Model, FastCGI Integration, and Performance Optimization
Top Architect
Top Architect
Aug 14, 2024 · Backend Development

Introducing Liteflow: A Lightweight Rule Engine for Java Backend Development

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

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

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

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

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

Key Considerations and Best Practices for Using Spring Event in Production

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

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

Implementing Pull‑Down Pagination for Instant Messaging History

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

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

Traffic Hijacking and Request Interception Techniques for Unified Authentication Platforms

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

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

Mastering Nginx Regex and Location Matching Rules: A Practical Guide

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

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

Common Go Interview Pitfalls and How to Fix Them

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Using array_filter() to Filter Arrays in PHP

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

BackendPHParray
0 likes · 5 min read
Using array_filter() to Filter Arrays in PHP
php Courses
php Courses
Aug 9, 2024 · Backend Development

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

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

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

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

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

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

Design and Implementation of Payment Business Architecture

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Fast Testing of MyBatis SQL Without Starting Spring

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Using PHP str_replace for String Replacement and Deletion

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

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

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

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

BackendControllerExceptionHandling
0 likes · 21 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling