Tagged articles
250 articles
Page 2 of 3
Python Programming Learning Circle
Python Programming Learning Circle
Feb 17, 2024 · Fundamentals

Common Python Decorators: Usage, Examples, and Implementation

This article introduces Python decorators, explains their syntax, and provides ten practical examples—including timing, caching, input validation, logging, error suppression, output validation, retry logic, visualization, debugging, and deprecation—complete with code snippets and usage guidance for data‑science and general development tasks.

Error Handlingcachingdecorators
0 likes · 9 min read
Common Python Decorators: Usage, Examples, and Implementation
Code Ape Tech Column
Code Ape Tech Column
Feb 6, 2024 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles

This article provides an in‑depth tutorial on Spring Validation, covering simple usage, requestBody and requestParam/PathVariable validation, unified exception handling, advanced techniques such as group, nested, collection and custom validation, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

BackendHibernate ValidatorJava
0 likes · 17 min read
Comprehensive Guide to Spring Validation: Best Practices and Implementation Principles
Architecture Digest
Architecture Digest
Feb 1, 2024 · Backend Development

Best Practices for Designing the Controller Layer in Spring Boot: Unified Response, Validation, and Exception Handling

This article explains how to build a clean and maintainable Spring Boot controller layer by separating responsibilities, unifying response structures, applying comprehensive parameter validation (including custom rules), and implementing centralized exception handling to keep business logic concise and robust.

Backend DevelopmentControllerException Handling
0 likes · 18 min read
Best Practices for Designing the Controller Layer in Spring Boot: Unified Response, Validation, and Exception Handling
Java Backend Technology
Java Backend Technology
Jan 15, 2024 · Fundamentals

Why Every Web App Needs Front‑End and Back‑End Data Validation

This article explains why both front‑end and back‑end data validation are essential in modern web applications, outlines the specific checks each layer should perform—from required fields and format rules to security safeguards like XSS/CSRF protection—and highlights the combined benefits for user experience, server load, and overall system integrity.

BackendSecurityWeb
0 likes · 9 min read
Why Every Web App Needs Front‑End and Back‑End Data Validation
macrozheng
macrozheng
Dec 28, 2023 · Backend Development

Master Spring Boot Validation: 10 Essential Tips & Custom Annotations

This article explains ten practical techniques for implementing robust parameter validation in Spring Boot applications, covering built‑in annotations, custom constraints, server‑side checks, internationalization, validation groups, cross‑field rules, exception handling, testing, and the importance of complementary client‑side validation.

JavaSpring Bootannotations
0 likes · 17 min read
Master Spring Boot Validation: 10 Essential Tips & Custom Annotations
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 18, 2023 · Backend Development

Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload

This article explains how to retrieve and handle various Spring Boot API parameters—including query, path, request body, header, and file uploads—covers parameter type handling such as dates and lists, demonstrates validation annotations, and provides complete code examples for each scenario.

API parametersBackend DevelopmentJava
0 likes · 11 min read
Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload
Open Source Tech Hub
Open Source Tech Hub
Dec 9, 2023 · Backend Development

Build Real‑Time Group & Private Chat with WebSocket and PHP Validation

This guide explains how to design group and private chat messages, define a unified JSON protocol, validate payloads with a custom validator, and implement WebSocket callbacks (onWorkerStart, onWebSocketConnect, onMessage, onClose) using PHP and JavaScript client examples for both one‑to‑one and group conversations.

BackendPHPReal-time Chat
0 likes · 11 min read
Build Real‑Time Group & Private Chat with WebSocket and PHP Validation
php Courses
php Courses
Nov 27, 2023 · Backend Development

Handling HTML Form Submissions with PHP: Validation and Processing

This article explains how to create an HTML login form, submit it via POST to a PHP script, and use PHP functions like isset() and the $_POST array to validate the username and password, outputting appropriate success or error messages.

Form HandlingPHPWeb Development
0 likes · 4 min read
Handling HTML Form Submissions with PHP: Validation and Processing
php Courses
php Courses
Nov 23, 2023 · Backend Development

PHP Form Handling: Creating and Processing a Login Form

This article demonstrates how to build an HTML login form and use PHP functions like isset() and $_POST to validate, process, and securely handle submitted username and password data on the server side.

Form HandlingPHPWeb Development
0 likes · 4 min read
PHP Form Handling: Creating and Processing a Login Form
政采云技术
政采云技术
Nov 22, 2023 · Backend Development

Comprehensive Guide to Spring Validation: Annotations, Usage Scenarios, and Advanced Techniques

This article provides an in‑depth overview of Spring Validation, covering standard Bean Validation 2.0 annotations, Hibernate extensions, the differences between @Valid and @Validated, practical usage in controllers, programmatic validation, Dubbo integration, group validation, and how to create custom validation annotations with full code examples.

Bean ValidationDubboannotation
0 likes · 16 min read
Comprehensive Guide to Spring Validation: Annotations, Usage Scenarios, and Advanced Techniques
php Courses
php Courses
Nov 20, 2023 · Backend Development

PHP Form Handling: Creating and Processing a Login Form

This article explains how to build a login form in HTML and process its data securely with PHP, covering form structure, POST submission, data validation using isset() and $_POST, and handling success or error messages.

Form HandlingPHPWeb Development
0 likes · 4 min read
PHP Form Handling: Creating and Processing a Login Form
Architecture Digest
Architecture Digest
Nov 17, 2023 · Backend Development

Best Practices for Designing an Excellent Controller Layer in Spring MVC

This article explains how to design a clean, maintainable Spring MVC controller layer by unifying response structures, applying centralized exception handling, and leveraging JSR‑303 validation with custom rules, illustrated with comprehensive code examples and best‑practice guidelines.

Backend DevelopmentControllerJava
0 likes · 18 min read
Best Practices for Designing an Excellent Controller Layer in Spring MVC
DeWu Technology
DeWu Technology
Oct 18, 2023 · Backend Development

Understanding Bean Validation and Spring Validation in Java Applications

Bean Validation (JSR‑303/380) offers a standard, annotation‑driven API—implemented by Hibernate Validator—for declaring constraints such as @NotNull or @Email, while Spring integrates it via @Valid and @Validated (with group support and AOP‑based method validation), enabling automatic request‑body checks, custom constraints, and service‑layer validation, provided the proper annotations are applied.

Bean ValidationJSR-303spring
0 likes · 15 min read
Understanding Bean Validation and Spring Validation in Java Applications
Java Architect Essentials
Java Architect Essentials
Oct 2, 2023 · Backend Development

Standardizing the Controller Layer: Parameter Validation, Unified Response, and Exception Handling in Spring Boot

This article explains how to structure a Spring Boot controller by describing the four parts of a request, demonstrating elegant parameter validation, implementing a unified response wrapper with status codes, and handling both validation and business exceptions through centralized advice and custom exception classes.

ControllerException HandlingJava
0 likes · 22 min read
Standardizing the Controller Layer: Parameter Validation, Unified Response, and Exception Handling in Spring Boot
IT Services Circle
IT Services Circle
Sep 25, 2023 · Frontend Development

Understanding and Using Regular Expressions in JavaScript

This article provides a comprehensive, beginner‑friendly guide to JavaScript regular expressions, covering core concepts, syntax, creation methods, modifiers, character classes, quantifiers, special characters, capture groups, look‑ahead/look‑behind assertions, common string methods, practical use cases such as validation, search‑replace, data extraction, cleaning, and a list of useful online regex tools.

JavaScriptString Manipulationregular expressions
0 likes · 27 min read
Understanding and Using Regular Expressions in JavaScript
Python Programming Learning Circle
Python Programming Learning Circle
Sep 2, 2023 · Fundamentals

Python Decorators: Ten Practical Custom Decorators with Code Examples

This article explains Python decorators, a powerful feature for modifying functions or classes, and provides ten practical custom decorators—including @timer, @memoize, @validate_input, @log_results, @suppress_errors, @validate_output, @retry, @visualize_results, @debug, and @deprecated—each with clear explanations and complete code samples.

Pythoncachingdecorators
0 likes · 9 min read
Python Decorators: Ten Practical Custom Decorators with Code Examples
Java High-Performance Architecture
Java High-Performance Architecture
Aug 30, 2023 · Backend Development

How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot

This article explains how to standardize Spring Boot controller handling by receiving parameters, defining unified status codes, applying global validation, wrapping responses consistently, and managing exceptions with custom advice, using annotations, enums, and AOP techniques to improve code readability and front‑end integration.

ControllerException HandlingJava
0 likes · 20 min read
How to Unify Controller Parameters, Responses, Validation, and Exceptions in Spring Boot
Top Architect
Top Architect
Aug 15, 2023 · Backend Development

Elegant Parameter Validation in Spring Using @Validated and Custom Annotations

This article explains how to replace repetitive if‑statements with Spring's @Validated and @Valid annotations, shows how to import validation dependencies, demonstrates creating custom validation annotations and constraint validators, and provides a comprehensive list of built‑in javax.validation constraints for clean and maintainable backend code.

CustomValidatorJavaannotations
0 likes · 11 min read
Elegant Parameter Validation in Spring Using @Validated and Custom Annotations
JD.com Experience Design Center
JD.com Experience Design Center
Aug 11, 2023 · Product Management

How to Build Data‑Driven Personas: A Step‑by‑Step Guide

This article explains how to create, segment, validate, and document qualitative user personas using systematic variable collection, manual clustering, questionnaire verification, and detailed persona templates to ensure actionable insights for product development.

Segmentationproduct researchqualitative analysis
0 likes · 11 min read
How to Build Data‑Driven Personas: A Step‑by‑Step Guide
Java Interview Crash Guide
Java Interview Crash Guide
Aug 11, 2023 · Backend Development

How to Refactor Spring Controllers for Unified Responses and Validation

This article explains how to redesign Spring MVC controllers by introducing a unified response structure, leveraging ResponseBodyAdvice for automatic wrapping, handling String conversion issues, applying JSR‑303 validation, creating custom validators, and centralizing exception handling to produce cleaner, more maintainable backend code.

BackendJavaresponsebodyadvice
0 likes · 20 min read
How to Refactor Spring Controllers for Unified Responses and Validation
Top Architect
Top Architect
Aug 10, 2023 · Backend Development

Optimizing Controller Layer Logic in Spring MVC: Best Practices and Refactoring

This article explains the responsibilities of the MVC controller layer, shows a typical Spring Boot controller implementation, and then demonstrates a series of refactorings—including delegating to the service layer, using validation annotations, standardizing response objects, and centralizing exception handling—to produce cleaner, more maintainable backend code.

ControllerException HandlingJava
0 likes · 12 min read
Optimizing Controller Layer Logic in Spring MVC: Best Practices and Refactoring
php Courses
php Courses
Jul 28, 2023 · Backend Development

Developing Stable and Reliable API Interfaces with ThinkPHP6

This tutorial explains how to design request/response structures, configure routing, implement controllers, perform parameter validation, and handle exceptions when building robust API endpoints using the ThinkPHP6 framework, complete with practical code examples.

APIBackendException Handling
0 likes · 6 min read
Developing Stable and Reliable API Interfaces with ThinkPHP6
Architect's Tech Stack
Architect's Tech Stack
Jul 22, 2023 · Backend Development

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

This article explains how to refactor a Spring MVC Controller layer by introducing a unified response format, leveraging ResponseBodyAdvice for automatic wrapping, applying JSR‑303 validation for request parameters, and centralizing exception handling to produce clean, maintainable backend code.

ControllerJavaSpring MVC
0 likes · 17 min read
Improving Spring MVC Controller Layer: Unified Response Structure, Validation, and Exception Handling
Top Architect
Top Architect
May 23, 2023 · Backend Development

Understanding @NotNull, @NotBlank, @NotEmpty and the Difference Between @Valid and @Validated in Spring Boot

This article explains how to import validation dependencies in Spring Boot, compares the semantics of @NotNull, @NotBlank, and @NotEmpty annotations, demonstrates their usage with code examples, and clarifies the behavioral differences between @Valid and @Validated when validating controller inputs.

@Valid@ValidatedNotBlank
0 likes · 7 min read
Understanding @NotNull, @NotBlank, @NotEmpty and the Difference Between @Valid and @Validated in Spring Boot
Java Architect Essentials
Java Architect Essentials
May 14, 2023 · Backend Development

Comprehensive Guide to Spring Boot Backend API Design: Validation, Global Exception Handling, Unified Response, Version Control, and Security

This article presents a step‑by‑step tutorial on building robust Spring Boot backend APIs, covering environment setup, parameter validation techniques, global exception handling, unified response structures, optional response wrapping, API versioning via path or header, and comprehensive security measures such as token authentication, timestamp checks, request signing, replay protection, and HTTPS.

APIException HandlingSecurity
0 likes · 26 min read
Comprehensive Guide to Spring Boot Backend API Design: Validation, Global Exception Handling, Unified Response, Version Control, and Security
Code Ape Tech Column
Code Ape Tech Column
May 1, 2023 · Backend Development

Comprehensive Guide to Backend API Development with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security

This article provides a detailed tutorial on building robust Spring Boot backend APIs, covering interface structure, environment setup, parameter validation methods, custom validators, global exception handling, unified response formats, optional response wrapping, API version control, and security measures such as token authentication and request signing.

Backend APIException HandlingSpring Boot
0 likes · 27 min read
Comprehensive Guide to Backend API Development with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security
macrozheng
macrozheng
Apr 25, 2023 · Backend Development

Refactor Spring Controllers for Unified Responses and Robust Validation

This article explains why traditional Spring MVC Controllers become cumbersome, demonstrates how to unify response structures with a Result wrapper, leverages ResponseBodyAdvice for automatic packaging, resolves String conversion issues, and shows best‑practice parameter validation using JSR‑303, custom validators, and global exception handling to keep controller code clean and maintainable.

ControllerJavaresponsebodyadvice
0 likes · 20 min read
Refactor Spring Controllers for Unified Responses and Robust Validation
IT Xianyu
IT Xianyu
Apr 24, 2023 · Backend Development

Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor a Spring MVC Controller by introducing a unified response wrapper, leveraging ResponseBodyAdvice for automatic packaging, applying JSR‑303 validation for @RequestBody, @PathVariable and @RequestParam parameters, creating custom validation annotations, and handling business and system exceptions consistently.

ControllerException HandlingJava
0 likes · 15 min read
Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling
Java Architect Essentials
Java Architect Essentials
Apr 23, 2023 · Backend Development

Comprehensive Guide to Spring Validation: Simple to Advanced Usage and Implementation Principles

This article provides a detailed tutorial on Spring Validation, covering basic dependency setup, requestBody and requestParam/PathVariable validation, advanced techniques such as group, nested, collection and custom validation, programmatic validation, fail‑fast mode, the difference between @Valid and @Validated, and the underlying implementation mechanisms within Spring MVC.

APIHibernate ValidatorSpring Boot
0 likes · 18 min read
Comprehensive Guide to Spring Validation: Simple to Advanced Usage and Implementation Principles
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2023 · Backend Development

Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor a Spring MVC Controller layer by defining its responsibilities, introducing a unified response format, using ResponseBodyAdvice for automatic wrapping, applying JSR‑303 validation for request parameters, and implementing custom exceptions with centralized handling to achieve cleaner, more maintainable backend code.

Controllerexceptionhandlingresponsebodyadvice
0 likes · 17 min read
Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling
Java Captain
Java Captain
Apr 11, 2023 · Backend Development

Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices

This article provides comprehensive guidance on Java backend development, covering IDE selection, bean and DTO conversion techniques, validation with JSR‑303, extensive Lombok usage, builder patterns, proxy design, refactoring strategies, and the balance between business‑driven and technology‑driven development.

Design PatternsJavaLombok
0 likes · 25 min read
Improving Java Backend Code: Bean Conversion, DTO Handling, Lombok, Validation, and Refactoring Practices
Selected Java Interview Questions
Selected Java Interview Questions
Jan 28, 2023 · Backend Development

Standardizing Controller Parameter Handling, Response Wrapping, Validation, and Exception Management in Spring Boot

This article explains how to structure Spring Boot controller layers by receiving request parameters, unifying status codes and response formats, applying @Validated for automatic input validation, using @RestControllerAdvice for centralized exception handling, and optionally disabling wrapping with a custom annotation, providing complete code examples for each step.

ControllerJavaResponse wrapper
0 likes · 21 min read
Standardizing Controller Parameter Handling, Response Wrapping, Validation, and Exception Management in Spring Boot
Watermelon Frontend Tech Team
Watermelon Frontend Tech Team
Dec 29, 2022 · Frontend Development

Why Runtime Type Checking Matters in TypeScript and How to Implement It

The article explains the difference between compile‑time and runtime type checking, why runtime checks are essential for data‑exchange scenarios in TypeScript projects, and compares several practical solutions—including JSON schemas, API‑based libraries like Zod, class‑validator, TypeScript‑JSON‑Schema, TypeScript‑is, and DeepKit—highlighting their advantages, drawbacks, and implementation details.

JSON SchemaTypeScriptZod
0 likes · 16 min read
Why Runtime Type Checking Matters in TypeScript and How to Implement It
Programmer DD
Programmer DD
Dec 23, 2022 · Fundamentals

Master the Chain of Responsibility Pattern in Java for Real-World Validation

This article explains the Chain of Responsibility design pattern, demonstrates its implementation with Spring‑managed handlers for product creation validation and expense‑approval workflows, shows how to configure and dynamically compose handlers via JSON, and provides complete Java code examples and diagrams.

ConfigurationJavavalidation
0 likes · 21 min read
Master the Chain of Responsibility Pattern in Java for Real-World Validation
Top Architect
Top Architect
Dec 21, 2022 · Backend Development

Refactoring the Spring Boot Controller Layer for Clean Architecture and Unified Responses

This article explains why the Controller layer should stay thin, identifies common pitfalls such as tangled validation and inconsistent responses, and demonstrates how to introduce a unified result wrapper, global response advice, robust parameter validation, custom validators, and centralized exception handling to produce concise, maintainable backend code.

ControllerException HandlingJava
0 likes · 17 min read
Refactoring the Spring Boot Controller Layer for Clean Architecture and Unified Responses
Top Architect
Top Architect
Dec 13, 2022 · Backend Development

Implementing Request/Response Encryption and Decryption with a Spring Boot Starter

This article explains how to create a reusable Spring Boot starter that automatically encrypts outgoing responses and decrypts incoming requests using AES, provides a request‑wrapper to allow multiple reads of the input stream, and integrates Spring Validation to simplify parameter checking, all illustrated with complete Java code examples.

JavaSpring BootStarter
0 likes · 25 min read
Implementing Request/Response Encryption and Decryption with a Spring Boot Starter
Su San Talks Tech
Su San Talks Tech
Nov 24, 2022 · Backend Development

Master Spring Validation: From Basic to Advanced Parameter Checks

This article explains how to use Spring Validation for automatic request parameter checks in Java web applications, covering basic setup, DTO annotations, requestBody and requestParam validation, unified exception handling, and advanced features like group, nested, collection, custom, and fail‑fast validation.

BackendHibernate ValidatorJava
0 likes · 18 min read
Master Spring Validation: From Basic to Advanced Parameter Checks
Top Architect
Top Architect
Nov 23, 2022 · Backend Development

Chain of Responsibility Pattern in Java: Design, Implementation, and Practical Example

This article explains the Chain of Responsibility design pattern, demonstrates its use for request validation and processing in Java backend applications, provides complete code examples—including abstract handler, concrete validators, business logic, and a test harness—while discussing its advantages, drawbacks, and real‑world analogues such as servlet filters.

Chain of ResponsibilityJavaSoftware Architecture
0 likes · 11 min read
Chain of Responsibility Pattern in Java: Design, Implementation, and Practical Example
Java Captain
Java Captain
Nov 23, 2022 · Backend Development

Best Practices for Designing an Excellent Controller Layer in Spring MVC

The article presents comprehensive best‑practice guidelines for building a clean, maintainable Controller layer in Spring MVC, covering its essential responsibilities, common pitfalls, unified response structures, parameter validation with JSR‑303, custom validators, and centralized exception handling to improve code simplicity and robustness.

BackendControllerJava
0 likes · 19 min read
Best Practices for Designing an Excellent Controller Layer in Spring MVC
Top Architect
Top Architect
Nov 20, 2022 · Backend Development

Comprehensive Guide to Spring Validation: Parameter Checks, Groups, Nested Objects, Collections, Custom Constraints, and Implementation Details

This article provides a thorough tutorial on using Spring Validation for request parameter checking, covering simple usage, dependency setup, requestBody and requestParam validation, group and nested validation, collection handling, custom constraints, programmatic validation, fail‑fast mode, and the underlying implementation in Spring MVC and Hibernate Validator.

Hibernate ValidatorJavaParameter Validation
0 likes · 17 min read
Comprehensive Guide to Spring Validation: Parameter Checks, Groups, Nested Objects, Collections, Custom Constraints, and Implementation Details
Code Ape Tech Column
Code Ape Tech Column
Nov 10, 2022 · Backend Development

Designing an Excellent Controller Layer in Spring MVC

This article explains how to improve the Controller layer in Spring applications by separating responsibilities, implementing unified response structures with Result wrappers, handling String response issues via ResponseBodyAdvice, applying parameter validation with JSR‑303, customizing validators, and centralizing exception handling for cleaner, more maintainable backend code.

ControllerJavaexceptionhandling
0 likes · 18 min read
Designing an Excellent Controller Layer in Spring MVC
Selected Java Interview Questions
Selected Java Interview Questions
Nov 7, 2022 · Backend Development

Comprehensive Guide to Spring Validation: RequestBody, RequestParam, and Advanced Techniques

This article provides a detailed tutorial on using Spring Validation in Spring Boot applications, covering simple and advanced usage such as requestBody and requestParam parameter checks, group validation, nested and collection validation, custom constraints, programmatic validation, fail‑fast mode, and the underlying implementation mechanisms.

Hibernate ValidatorJavaSpring Boot
0 likes · 16 min read
Comprehensive Guide to Spring Validation: RequestBody, RequestParam, and Advanced Techniques
Top Architect
Top Architect
Nov 7, 2022 · Backend Development

Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling

This article explains how to refactor Spring MVC Controller code by introducing a unified response format, handling String and JSON return types with ResponseBodyAdvice, applying parameter validation using JSR‑303, and implementing custom exceptions with centralized exception handling to simplify business logic and improve code maintainability.

Controllerexceptionhandlingresponsebodyadvice
0 likes · 20 min read
Improving Spring Controller Layer: Unified Response Structure, Validation, and Exception Handling
Laravel Tech Community
Laravel Tech Community
Oct 26, 2022 · Backend Development

PHP 8.3 RFC: Built‑in json_validate Function

The article explains the PHP 8.3 RFC that introduces a built‑in json_validate function, describing its signature, parameters, return values, usage examples, community discussion, reasons for inclusion, and the impact on major PHP projects, while noting its compatibility with the existing json_decode parser.

JSONPHPjson_validate
0 likes · 7 min read
PHP 8.3 RFC: Built‑in json_validate Function
Architect's Tech Stack
Architect's Tech Stack
Oct 26, 2022 · Backend Development

Using EasyExcel Spring Boot Starter for Excel Import, Export and Validation

This article introduces the EasyExcel‑Spring‑Boot‑Starter project, explains the limitations of POI and EasyExcel, shows how to integrate it into a Spring Boot application with Maven dependencies, demonstrates Excel import and export APIs, and provides comprehensive validation and error‑handling mechanisms for robust backend development.

Excel ImportJavaeasyexcel
0 likes · 10 min read
Using EasyExcel Spring Boot Starter for Excel Import, Export and Validation
Liangxu Linux
Liangxu Linux
Sep 25, 2022 · Fundamentals

Essential Regular Expressions for Common Data Validation

A comprehensive collection of regular expressions for validating numbers, characters, emails, URLs, phone numbers, dates, IP addresses, and other common data formats, presented with clear descriptions and ready-to-use patterns for developers.

data validationpattern-matchingregex
0 likes · 16 min read
Essential Regular Expressions for Common Data Validation
Top Architect
Top Architect
Sep 11, 2022 · Backend Development

Improving Controller Layer Logic: Unified Response Wrapping, Validation, and Exception Handling in Spring MVC

This article explains how to design a clean Controller layer in Spring MVC by implementing unified response structures, handling String response issues with ResponseBodyAdvice, applying parameter validation with JSR‑303, and creating custom exceptions with centralized exception handling to simplify business logic.

ControllerException HandlingJava
0 likes · 19 min read
Improving Controller Layer Logic: Unified Response Wrapping, Validation, and Exception Handling in Spring MVC
IT Architects Alliance
IT Architects Alliance
Sep 7, 2022 · Backend Development

Improving Spring MVC Controller Logic: Unified Response, Validation, and Exception Handling

This article explains how to refactor Spring MVC controller code by introducing a unified response structure, handling String response issues with ResponseBodyAdvice, applying JSR‑303 validation, creating custom validation annotations, and implementing custom exceptions with global exception handling to produce cleaner, more maintainable backend services.

ControllerJavaexceptionhandling
0 likes · 18 min read
Improving Spring MVC Controller Logic: Unified Response, Validation, and Exception Handling
Top Architect
Top Architect
Aug 28, 2022 · Backend Development

Spring Boot Parameter Validation with javax.validation and Custom Annotations

This tutorial demonstrates how to replace verbose manual checks in Java services with Spring's javax.validation annotation‑based validation, covering built‑in constraints, Maven setup, DTO annotations, validation groups, custom validators, and a global exception handler for unified error responses.

Javaannotationsexceptionhandling
0 likes · 13 min read
Spring Boot Parameter Validation with javax.validation and Custom Annotations
360 Quality & Efficiency
360 Quality & Efficiency
Aug 26, 2022 · Frontend Development

Using form-create to Dynamically Generate Forms in Vue

This article explains how to use the form-create library to dynamically build, render, and validate JSON‑driven forms in Vue, covering the definition of form items, component rendering with conditional logic, and handling of data binding and validation rules.

Dynamic FormsJSONVue
0 likes · 6 min read
Using form-create to Dynamically Generate Forms in Vue
Programmer DD
Programmer DD
Aug 18, 2022 · Backend Development

How to Build a Clean, Robust Spring Controller Layer with Unified Responses and Validation

This article explains why the Controller layer is essential, identifies common pitfalls such as tangled validation and inconsistent responses, and demonstrates how to refactor Spring MVC controllers using a unified Result wrapper, ResponseBodyAdvice, proper String handling, JSR‑303 validation, custom validators, and global exception handling to produce clean, maintainable backend code.

BackendControllerexception-handling
0 likes · 21 min read
How to Build a Clean, Robust Spring Controller Layer with Unified Responses and Validation
Java High-Performance Architecture
Java High-Performance Architecture
Aug 14, 2022 · Backend Development

Master Unified Responses, Validation, and Exception Handling in Spring Boot Controllers

This article explains how to structure Spring Boot controller requests, apply elegant parameter validation, wrap responses with a consistent ResultVo format, handle validation and business exceptions uniformly using @RestControllerAdvice, and selectively disable wrapping for specific endpoints, providing a complete backend development guide.

ControllerException HandlingJava
0 likes · 21 min read
Master Unified Responses, Validation, and Exception Handling in Spring Boot Controllers
ITPUB
ITPUB
Jul 17, 2022 · Backend Development

36 Essential Tips for Designing Robust Backend APIs

This comprehensive guide presents 36 practical recommendations for backend engineers, covering parameter validation, compatibility, extensibility, idempotency, error handling, logging, performance optimization, caching, rate limiting, security, transaction management, and clear communication to help design reliable, maintainable, and scalable service interfaces.

BackendScalabilitySecurity
0 likes · 27 min read
36 Essential Tips for Designing Robust Backend APIs
Top Architect
Top Architect
Jul 2, 2022 · Backend Development

Unified Parameter Handling, Validation, and Response Wrapping in Spring Boot Controllers

This article explains how to structure Spring Boot controller methods to receive parameters, implement unified status codes, validation with @Validated, and automatic response wrapping using ResultVo and @RestControllerAdvice, while also providing custom exception handling and optional exclusion annotations for flexible API design.

ControllerException HandlingJava
0 likes · 19 min read
Unified Parameter Handling, Validation, and Response Wrapping in Spring Boot Controllers
macrozheng
macrozheng
Jul 1, 2022 · Backend Development

Mastering Spring Boot Controllers: Unified Validation, Response, and Exception Handling

This tutorial explains how to structure a Spring Boot controller layer, validate request parameters with @Validated, wrap responses in a standard ResultVo format, define unified status codes, and handle exceptions globally using @RestControllerAdvice and AOP, while also providing a way to skip wrapping for specific endpoints.

ControllerException HandlingJava
0 likes · 18 min read
Mastering Spring Boot Controllers: Unified Validation, Response, and Exception Handling
Java Architect Essentials
Java Architect Essentials
Jun 26, 2022 · Backend Development

Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot

This article explains how to structure a Spring Boot controller layer by separating URL, request method, request data, and response data, then introduces unified status‑code packaging with ResultVo, parameter validation using @Validated, and centralized exception handling with @RestControllerAdvice and AOP to produce consistent API responses.

ControllerException HandlingResultVo
0 likes · 18 min read
Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Jun 7, 2022 · Backend Development

Unified Parameter Validation, Response Wrapping, and Exception Handling in Spring Boot Controllers

This article explains how to handle controller parameters, implement unified status codes with ResultVo, apply @Validated for request validation, and use @RestControllerAdvice together with ResponseBodyAdvice to automatically wrap responses and centralize exception handling in a Spring Boot backend.

ControllerResponseWrapperSpringBoot
0 likes · 18 min read
Unified Parameter Validation, Response Wrapping, and Exception Handling in Spring Boot Controllers
Python Programming Learning Circle
Python Programming Learning Circle
May 27, 2022 · Fundamentals

Nine Useful JSON Validation and Formatting Tools

This article introduces nine popular tools—including JSONLint, JSONCompare, JTC, ijson, and others—that help developers validate, format, compress, compare, and edit JSON data, providing both online services and IDE plugins for more efficient JSON handling.

IDE pluginsJSONdata-processing
0 likes · 5 min read
Nine Useful JSON Validation and Formatting Tools
Efficient Ops
Efficient Ops
May 25, 2022 · Fundamentals

Mastering Common Regex Patterns for Data Validation

This article provides a comprehensive collection of regular expression patterns for validating numbers, characters, emails, URLs, IP addresses, dates, and other common input formats, offering developers ready-to-use solutions for robust data validation in applications.

data validationinput validationregex
0 likes · 15 min read
Mastering Common Regex Patterns for Data Validation
Java Captain
Java Captain
Apr 29, 2022 · Backend Development

Best Practices for Java Bean Conversion, Validation, and Refactoring

This article discusses practical techniques for Java developers, covering bean conversion using DTOs and Spring utilities, validation with JSR‑303, leveraging Lombok for cleaner code, applying design patterns, and systematic refactoring to improve readability, maintainability, and overall code quality in backend projects.

JavaLombokdto
0 likes · 27 min read
Best Practices for Java Bean Conversion, Validation, and Refactoring
Selected Java Interview Questions
Selected Java Interview Questions
Apr 24, 2022 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices, Advanced Usage, and Implementation Details

This article provides an in‑depth tutorial on Spring Validation, covering basic usage, dependency setup, requestBody and requestParam validation, DTO constraints, group and nested validation, collection handling, custom validators, programming‑style validation, fail‑fast mode, and the underlying implementation mechanisms in Spring MVC.

HibernateValidatorSpringBootdto
0 likes · 16 min read
Comprehensive Guide to Spring Validation: Best Practices, Advanced Usage, and Implementation Details
Code Ape Tech Column
Code Ape Tech Column
Jan 6, 2022 · Backend Development

Enabling Startup Parameter Validation in Spring Boot Using Java Validation

This article explains how to use Spring's Java Validation to check configuration properties at application startup, demonstrates the required annotations, lists supported validation constraints, and shows how to implement and register custom validators to enforce business rules early in the boot process.

backend-developmentconfiguration-propertiesspring-boot
0 likes · 7 min read
Enabling Startup Parameter Validation in Spring Boot Using Java Validation
Baidu MEUX
Baidu MEUX
Dec 20, 2021 · Product Management

How to Build and Validate a User Satisfaction Model: A Step‑by‑Step Guide

This article explains why user satisfaction matters, outlines a five‑step process for constructing a satisfaction model—including goal definition, metric collection, definition, attribution, and weighting—and describes how to validate the model through content and structural validity checks.

UX Metricsmetric weightingmodel building
0 likes · 10 min read
How to Build and Validate a User Satisfaction Model: A Step‑by‑Step Guide
macrozheng
macrozheng
Dec 13, 2021 · Backend Development

Master Spring Validation: From Simple Use to Advanced Techniques and Internals

This guide thoroughly explores Spring Validation, covering basic and advanced usage such as requestBody and requestParam checks, grouping, nested and collection validation, custom constraints, programmatic validation, fail-fast configuration, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

Hibernate ValidatorJavaSpring Boot
0 likes · 17 min read
Master Spring Validation: From Simple Use to Advanced Techniques and Internals
FunTester
FunTester
Dec 2, 2021 · Fundamentals

Regular Expressions in Java: Theory, Syntax, and Practical Examples

This article provides a comprehensive overview of Java regular expressions, covering their historical background, core syntax such as character literals, character classes, quantifiers, anchors, and logical operators, and demonstrates practical use cases like validation, splitting, and replacement of strings.

Stringpatternregex
0 likes · 9 min read
Regular Expressions in Java: Theory, Syntax, and Practical Examples
Architects Research Society
Architects Research Society
Nov 23, 2021 · Fundamentals

Requirements Validation, Review, Prototyping, and Test Case Generation

The article explains how to validate and review software requirements through effectiveness, consistency, completeness, realism, and testability checks, describes the role of requirement reviews and prototyping in reducing rework costs, and outlines how to generate test cases that ensure requirements are testable and verifiable.

prototypingrequirements engineeringsoftware development
0 likes · 6 min read
Requirements Validation, Review, Prototyping, and Test Case Generation
360 Quality & Efficiency
360 Quality & Efficiency
Sep 10, 2021 · Operations

Implementing Server-Side Git Hooks for Changelog Validation

This article explains how to enforce changelog standards in GitLab by configuring server‑side Git hooks that validate commit messages, providing step‑by‑step instructions, environment setup, and both shell and Python script examples to automatically reject non‑conforming pushes.

GitLabchangelogserver-side hook
0 likes · 7 min read
Implementing Server-Side Git Hooks for Changelog Validation
macrozheng
macrozheng
Aug 30, 2021 · Backend Development

Master Spring Boot Parameter Validation: Custom Rules, Group Checks, and Global Error Handling

This tutorial explains why parameter validation is essential in Spring Boot APIs, shows how to integrate the JSR‑303 Validator, demonstrates custom annotations, group validation, and simplifies error responses with a global exception handler, providing complete code examples for each step.

Custom AnnotationException HandlingGroup Validation
0 likes · 17 min read
Master Spring Boot Parameter Validation: Custom Rules, Group Checks, and Global Error Handling
Architecture Digest
Architecture Digest
Aug 17, 2021 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices, Scenarios, and Advanced Features

This article provides an in‑depth tutorial on Spring Validation, covering basic usage, requestBody and requestParam validation, group and nested validation, collection handling, custom constraints, programmatic validation, fail‑fast mode, and the underlying implementation details within Spring MVC and Hibernate Validator.

BackendHibernateJava
0 likes · 15 min read
Comprehensive Guide to Spring Validation: Best Practices, Scenarios, and Advanced Features
php Courses
php Courses
Aug 5, 2021 · Backend Development

Common PHP Utility Functions for String Handling, Encryption, and Validation

This article presents a collection of practical PHP utility functions—including string truncation with ellipsis, MD5-based encryption, phone number masking, mobile, numeric and email validation, as well as recursive category handling—complete with usage scenarios and full source code to help developers quickly implement common backend tasks.

BackendPHPString Manipulation
0 likes · 8 min read
Common PHP Utility Functions for String Handling, Encryption, and Validation
Selected Java Interview Questions
Selected Java Interview Questions
Jul 23, 2021 · Backend Development

Global Exception Handling in Spring MVC Using @ControllerAdvice and @ExceptionHandler

This article explains why global exception handling is needed in Spring MVC, outlines its application scenarios, compares AOP with the simpler @ControllerAdvice/@ExceptionHandler approach, and provides detailed code examples for custom response objects, validation handling, and transaction rollback strategies to improve code cleanliness and maintainability.

BackendControllerAdviceException Handling
0 likes · 11 min read
Global Exception Handling in Spring MVC Using @ControllerAdvice and @ExceptionHandler
政采云技术
政采云技术
Jul 13, 2021 · Frontend Development

Understanding rc-form: Internals, APIs, and Usage in React Forms

This article provides a comprehensive overview of rc-form, a React library used by Ant Design to manage form state, validation, and data collection, explaining why it is needed, its core APIs, practical usage examples, and a deep dive into its internal implementation.

Ant DesignFormReact
0 likes · 19 min read
Understanding rc-form: Internals, APIs, and Usage in React Forms
Programmer DD
Programmer DD
Jul 10, 2021 · Backend Development

How to Validate Spring Cloud Dynamic Configs with In‑Memory Java Compilation

This article explains how to build a runtime validator for Spring Cloud dynamic configuration by generating Java classes from .properties files, compiling them in memory with JavaCompiler, loading them via a custom ClassLoader, and integrating the result into the Spring context to catch configuration errors early.

Dynamic ConfigurationJavaCompilerSpring Cloud
0 likes · 8 min read
How to Validate Spring Cloud Dynamic Configs with In‑Memory Java Compilation
Top Architect
Top Architect
Jun 25, 2021 · Fundamentals

Comprehensive Collection of Regular Expressions for Data Validation

This article provides an extensive set of regular expression patterns for validating numbers, characters, and special formats such as email, URLs, phone numbers, dates, IP addresses, and more, offering developers ready-to-use solutions for common data validation tasks across various programming contexts.

Backenddata validationprogramming
0 likes · 15 min read
Comprehensive Collection of Regular Expressions for Data Validation
Laravel Tech Community
Laravel Tech Community
Jun 22, 2021 · Backend Development

PHP Function for Validating Chinese ID Card Numbers

This article explains the structure of Chinese citizen ID numbers and provides a PHP function that validates both 15‑digit and 18‑digit IDs by checking format, birthdate correctness, and computing the checksum according to ISO 7064, accompanied by example usage.

checksumidcardregex
0 likes · 4 min read
PHP Function for Validating Chinese ID Card Numbers
Open Source Linux
Open Source Linux
Jun 15, 2021 · Fundamentals

Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats

This guide compiles a comprehensive set of regular expression patterns for validating numbers, characters, emails, URLs, phone numbers, IP addresses, dates, and other special formats, providing ready-to-use code snippets that developers can apply across various programming contexts.

data validationpattern-matchingregex
0 likes · 15 min read
Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats
Efficient Ops
Efficient Ops
Jun 15, 2021 · Frontend Development

Mastering Regex: Essential Patterns for Validating Numbers, Text, and URLs

This guide compiles a comprehensive collection of regular expressions for validating numeric formats, character sets, special inputs like emails and URLs, as well as IP addresses, dates, and other common data patterns, providing clear examples and explanations for developers.

BackendJavaScriptdata format
0 likes · 17 min read
Mastering Regex: Essential Patterns for Validating Numbers, Text, and URLs
21CTO
21CTO
Jun 14, 2021 · Backend Development

4 Must‑Have Non‑Functional Requirements for Secure, Documented APIs

Creating a robust API involves more than just making it work; developers must address four critical non‑functional aspects—security (HTTPS, CORS, JWT authentication, scopes), comprehensive documentation, thorough validation, and systematic testing—to ensure reliability, safety, and maintainability in production environments.

APIDocumentationSecurity
0 likes · 12 min read
4 Must‑Have Non‑Functional Requirements for Secure, Documented APIs
Programmer DD
Programmer DD
May 21, 2021 · Fundamentals

Essential Regular Expressions for Validating Numbers, Text, URLs and More

This article compiles a comprehensive collection of regular‑expression patterns for validating numeric formats, character sets, special requirements such as email, IP, dates, and various other input types, providing ready‑to‑use code snippets for developers.

data validationinput patternregex
0 likes · 12 min read
Essential Regular Expressions for Validating Numbers, Text, URLs and More
Open Source Linux
Open Source Linux
May 13, 2021 · Fundamentals

Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats

This article compiles a comprehensive collection of regular expression patterns for validating numeric values, character strings, and various special formats such as emails, URLs, phone numbers, dates, IP addresses, and more, providing ready‑to‑use code snippets for developers.

input validationpattern libraryregex
0 likes · 16 min read
Mastering Regex: Essential Patterns for Numbers, Text, and Special Formats
MaGe Linux Operations
MaGe Linux Operations
May 1, 2021 · Backend Development

Avoid Common Django Pitfalls: Performance, Validation, and Save Best Practices

This article walks through typical Django mistakes—inefficient ORM queries without select_related/prefetch_related, misuse of null on CharFields, ordering quirks, forgetting to call clean on save, and improper use of update_fields—offering concrete code examples and fixes to improve performance and data integrity.

best practicesperformancevalidation
0 likes · 11 min read
Avoid Common Django Pitfalls: Performance, Validation, and Save Best Practices
php Courses
php Courses
Feb 19, 2021 · Backend Development

Installing and Using Custom Chinese Validation Messages in Laravel

This guide explains how to install the Laravel validation package, create a Chinese language file for validation messages, wrap the validator in a custom handler class, and demonstrate direct validation, custom messages, attribute names, and error printing with practical code examples.

BackendLaravelPHP
0 likes · 6 min read
Installing and Using Custom Chinese Validation Messages in Laravel
ByteFE
ByteFE
Feb 4, 2021 · Frontend Development

Sign‑in Form Best Practices: Design, Accessibility, and Implementation

This guide outlines essential sign‑in form best practices, covering meaningful HTML elements, proper labeling, attribute usage, mobile‑friendly design, accessibility features, password handling, validation, analytics, and real‑time testing, with code examples to help developers create secure, user‑centric login experiences.

HTMLSign-inUX
0 likes · 24 min read
Sign‑in Form Best Practices: Design, Accessibility, and Implementation
Laravel Tech Community
Laravel Tech Community
Feb 3, 2021 · Backend Development

PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval

This article introduces the PHP Composer package "jxlwqq/id-validator", detailing its capabilities to validate Chinese resident ID numbers, upgrade 15‑digit IDs to 18‑digit, generate synthetic IDs, retrieve detailed personal information, and explains installation, usage examples, and the structure of the returned data.

BackendComposerPHP
0 likes · 3 min read
PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval