Tag

Backend Development

0 views collected around this technical thread.

macrozheng
macrozheng
Jun 13, 2025 · Backend Development

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

This article explains how to integrate WebSocket into a Spring Boot project to create a lightweight instant‑messaging system, covering dependency setup, configuration classes, core server implementation, required modules, common deployment issues, and practical solutions with complete code examples.

Backend DevelopmentDistributed SystemsInstant Messaging
0 likes · 14 min read
How to Build a Real‑Time Chat with Spring Boot WebSocket: Step‑by‑Step Guide
php中文网 Courses
php中文网 Courses
Jun 13, 2025 · Backend Development

How to Transform Legacy PHP Code into a Clean, Testable Architecture

Legacy PHP applications often suffer from spaghetti code, global state abuse, mixed concerns, and lack of tests; this guide outlines a step‑by‑step refactoring strategy—adding a testing safety net, introducing dependency injection, separating concerns with MVC/DDD, adopting repository patterns, and leveraging modern tools like Composer and PHPStan—to evolve them into maintainable, testable, and scalable backend systems.

Backend DevelopmentDDDDependency Injection
0 likes · 6 min read
How to Transform Legacy PHP Code into a Clean, Testable Architecture
Java Captain
Java Captain
Jun 12, 2025 · Backend Development

How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications

Learn how to replace plain‑text passwords in Spring Cloud’s Nacos configuration with encrypted values by extending NacosConfigProperties, overriding its initialization, and registering a custom bootstrap auto‑configuration, ensuring your application complies with corporate security policies.

Backend DevelopmentConfigurationJava
0 likes · 5 min read
How to Securely Encrypt Nacos Config Passwords in Spring Cloud Applications
php中文网 Courses
php中文网 Courses
Jun 12, 2025 · Backend Development

Build Real-Time Search with PHP and Xunsearch: Step-by-Step Guide

This tutorial explains how to set up Xunsearch, a C++‑based full‑text engine, with PHP to create fast, real‑time search functionality and automatically keep the index updated, covering environment preparation, installation, coding examples, and best practices.

Backend Developmentfull-text indexingreal-time search
0 likes · 5 min read
Build Real-Time Search with PHP and Xunsearch: Step-by-Step Guide
php中文网 Courses
php中文网 Courses
Jun 12, 2025 · Backend Development

Build a High‑Performance RESTful API with Go’s Gin Framework – Step‑by‑Step Guide

This tutorial walks you through setting up a Go environment, initializing a project, and using the high‑performance Gin framework to create a complete RESTful API with CRUD operations, middleware for logging and authentication, error handling, project structure optimization, and deployment best practices.

Backend DevelopmentCRUDGin
0 likes · 9 min read
Build a High‑Performance RESTful API with Go’s Gin Framework – Step‑by‑Step Guide
php中文网 Courses
php中文网 Courses
Jun 12, 2025 · Backend Development

Master PHP’s ftell(): How to Get File Pointer Position with Code Examples

This article explains how to use PHP's ftell() function to retrieve the current file pointer position, covering its signature, parameters, return values, and providing a practical code example that reads the first ten bytes of a file and displays the pointer offset.

Backend DevelopmentPHPfile handling
0 likes · 4 min read
Master PHP’s ftell(): How to Get File Pointer Position with Code Examples
Continuous Delivery 2.0
Continuous Delivery 2.0
Jun 12, 2025 · Backend Development

Why Over‑Engineering and Bad Code Kill Your Project—and How to Fix It

This article reveals how common bad coding practices such as over‑engineering, hidden business logic in utility classes, deep inheritance trees, excessive DTO layers, unnecessary interfaces, and contract‑less microservices degrade team efficiency and project quality, and offers concrete, principle‑driven remedies.

Backend DevelopmentJavaanti-patterns
0 likes · 8 min read
Why Over‑Engineering and Bad Code Kill Your Project—and How to Fix It
php中文网 Courses
php中文网 Courses
Jun 11, 2025 · Backend Development

Master Go CLI Development: Build Powerful Command-Line Tools with Cobra

This comprehensive Go tutorial walks you through installing Cobra, initializing a project, creating basic and advanced commands with flags, subcommands, configuration, colored and table output, building a Todo CLI with persistence, and cross‑platform compilation and automated release, empowering you to craft professional command‑line tools.

Backend DevelopmentCLICobra
0 likes · 9 min read
Master Go CLI Development: Build Powerful Command-Line Tools with Cobra
Architect's Tech Stack
Architect's Tech Stack
Jun 11, 2025 · Backend Development

Master Dynamic Data Permissions in Java with easy-data-scope

This tutorial walks you through building a Spring Boot project that uses the easy-data-scope library to inject dynamic SQL for fine‑grained data permissions, covering database setup, Maven dependencies, core annotations, custom rule implementation, and practical query examples.

Backend DevelopmentData PermissionJava
0 likes · 11 min read
Master Dynamic Data Permissions in Java with easy-data-scope
DevOps
DevOps
Jun 11, 2025 · Artificial Intelligence

How AI Agents and MCP Protocol Are Replacing Traditional Front‑End Development

This article explains how AI‑driven agents, powered by large language models and the Model Control Protocol (MCP), can directly interact with internal and external APIs, eliminating the need for traditional front‑end code and reshaping application development toward capability orchestration.

AI agentsAPI orchestrationBackend Development
0 likes · 8 min read
How AI Agents and MCP Protocol Are Replacing Traditional Front‑End Development
php中文网 Courses
php中文网 Courses
Jun 10, 2025 · Backend Development

Master PHP’s is_resource(): Detect Resource Types with Real Code Examples

This article explains how PHP's is_resource() function checks whether a variable represents an external resource such as a file handle, database connection, or image, and provides clear code samples demonstrating its practical use in each scenario.

Backend DevelopmentPHPcode examples
0 likes · 4 min read
Master PHP’s is_resource(): Detect Resource Types with Real Code Examples
php中文网 Courses
php中文网 Courses
Jun 10, 2025 · Backend Development

How to Automate Architecture Testing in PHP Projects for Cleaner Code

This article explains what architecture testing is, why PHP projects need it, introduces tools like Deptrac, PHPArch and PHPMD, shows common testing scenarios, and provides best practices for integrating automated architecture tests into CI/CD pipelines to improve code quality and maintainability.

Backend DevelopmentCI/CDPHP
0 likes · 6 min read
How to Automate Architecture Testing in PHP Projects for Cleaner Code
Java Architect Essentials
Java Architect Essentials
Jun 10, 2025 · Backend Development

Master Spring Boot Annotations: From @RequestMapping to @Conditional

This comprehensive guide explains the most common Spring Boot annotations—including request mapping, bean definitions, dependency injection, scopes, and auto‑configuration—providing clear examples and usage tips for Java backend developers.

AnnotationsBackend DevelopmentDependency Injection
0 likes · 15 min read
Master Spring Boot Annotations: From @RequestMapping to @Conditional
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 10, 2025 · Backend Development

Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices

This article presents a comprehensive guide to Spring Data JPA in Spring Boot 3, covering 131 practical cases, core repository interfaces, Specification and Criteria Builder techniques, and dozens of performance‑optimizing tips such as lazy loading, caching, batch processing, transaction management, projections, and stream queries.

Backend DevelopmentJavaJpaRepository
0 likes · 15 min read
Master Spring Data JPA: 131 Real‑World Spring Boot 3 Cases & Best Practices
Code Mala Tang
Code Mala Tang
Jun 9, 2025 · Backend Development

Build High‑Performance APIs with FastAPI and Swagger: A Hands‑On Guide

Learn how to create fast, modern Python APIs using FastAPI, automatically generate interactive Swagger documentation, and enhance your endpoints with validation, metadata, and a full-featured to‑do list project, all illustrated with clear code examples and step‑by‑step deployment instructions.

API DevelopmentBackend DevelopmentFastAPI
0 likes · 10 min read
Build High‑Performance APIs with FastAPI and Swagger: A Hands‑On Guide
Top Architect
Top Architect
Jun 9, 2025 · Backend Development

Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development

This article introduces Liteflow, a lightweight yet powerful Java rule engine, explains its architecture, shows how to integrate it with Spring Boot, details its component types and EL rule syntax, and demonstrates a real‑world e‑commerce workflow using XML rule files.

Backend DevelopmentJavaLiteFlow
0 likes · 13 min read
Mastering Liteflow: A Lightweight Rule Engine for Java Backend Development
Java Tech Enthusiast
Java Tech Enthusiast
Jun 9, 2025 · Backend Development

Eliminate Repetitive Audit Fields in Java: 6 Proven Strategies with MyBatis‑Plus, AOP, and JWT

This article presents a production‑tested, six‑step solution for automatically handling common entity fields such as createTime, updateTime, createUser, and updateUser in Java backend systems, covering MyBatis‑Plus auto‑fill, AOP interception, multi‑data‑source adaptation, distributed ID generation, pitfalls avoidance, performance tuning, and audit logging.

AOPAutomatic Field FillingBackend Development
0 likes · 9 min read
Eliminate Repetitive Audit Fields in Java: 6 Proven Strategies with MyBatis‑Plus, AOP, and JWT
php中文网 Courses
php中文网 Courses
Jun 9, 2025 · Backend Development

Master PHP Getters and Setters: Boost Data Safety and Flexibility

This article explains PHP getters and setters, detailing their purpose, implementation, and benefits with clear code examples, helping developers enhance data encapsulation, validation, and overall code reliability in backend applications.

Backend DevelopmentPHPdata encapsulation
0 likes · 6 min read
Master PHP Getters and Setters: Boost Data Safety and Flexibility
php中文网 Courses
php中文网 Courses
Jun 9, 2025 · Backend Development

Master Advanced Dependency Injection Techniques in Modern PHP

This article explores the core concepts, benefits, and advanced implementations of Dependency Injection in modern PHP, covering constructor, setter, and interface injection, autowiring, contextual and lazy injection, container patterns like factories, decorators, conditional registration, and best practices for performance, testing, and integration with other design patterns.

Backend DevelopmentDependency InjectionPHP
0 likes · 6 min read
Master Advanced Dependency Injection Techniques in Modern PHP
php中文网 Courses
php中文网 Courses
Jun 9, 2025 · Backend Development

Master PHP’s is_file(): Check Files and Paths Like a Pro

This article explains how the PHP is_file() function works, shows its syntax, and provides clear code examples for checking whether a given path exists and is a regular file, while also noting its limitations and the alternative is_dir() function.

Backend DevelopmentPHPfile handling
0 likes · 3 min read
Master PHP’s is_file(): Check Files and Paths Like a Pro