Tagged articles

validation

267 articles · Page 2 of 3
Test Development Learning Exchange
Test Development Learning Exchange
Jul 22, 2024 · Fundamentals

Common Python Utility Interfaces: Validation, HTTP, File I/O, JSON, DateTime, Encryption, SQLite, Image Processing, Error Handling, and Config Loading

This article presents a collection of reusable Python utility interfaces—including data validation, HTTP request handling, file read/write, JSON parsing, date‑time formatting, symmetric encryption, SQLite persistence, image resizing, exception handling, and configuration loading—each illustrated with concise code examples to improve code readability and testability.

Encryptionfile-ioutilities
0 likes · 4 min read
Common Python Utility Interfaces: Validation, HTTP, File I/O, JSON, DateTime, Encryption, SQLite, Image Processing, Error Handling, and Config Loading
Architect's Guide
Architect's Guide
Jul 16, 2024 · Backend Development

Refactoring Spring Boot Controllers: From Messy to Elegant

The article critiques overly complex Spring Boot controllers filled with repetitive validation and business logic, demonstrates cleaner implementations using @Valid, Assert, and global exception handling, and provides practical code examples and guidelines for building maintainable backend controllers.

@ValidExceptionHandlingJava
0 likes · 10 min read
Refactoring Spring Boot Controllers: From Messy to Elegant
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jul 16, 2024 · Backend Development

Master Spring Boot Configuration: @ConfigurationProperties, @Value, AOP & Lazy Init

This tutorial walks through Spring Boot configuration techniques—including property classes, environment variable binding, validation, @Value usage, random ports, AOP proxy settings, lazy initialization, and handling circular dependencies—providing practical code examples for each feature.

Backend DevelopmentConfigurationPropertiesLazy Initialization
0 likes · 8 min read
Master Spring Boot Configuration: @ConfigurationProperties, @Value, AOP & Lazy Init
Top Architect
Top Architect
Jul 6, 2024 · Backend Development

Improving Controller Layer Logic, Unified Response Structure, and Parameter Validation in Spring Boot

This article explains how to design a clean Controller layer in Spring Boot, introduces a unified response format with Result and ResponseBodyAdvice, demonstrates parameter validation using JSR‑303 and Spring Validation, and shows custom validation annotations and global exception handling to keep controller code concise and maintainable.

JavaResponseBodyAdviceSpring Boot
0 likes · 18 min read
Improving Controller Layer Logic, Unified Response Structure, and Parameter Validation in Spring Boot
Java Architect Essentials
Java Architect Essentials
Jul 3, 2024 · Backend Development

From Messy to Elegant Spring Boot Controllers: Validation, Refactoring, and Global Exception Handling

This article demonstrates how to transform overly complex Spring Boot controllers—filled with repetitive try‑catch blocks and manual field checks—into clean, maintainable code by applying @Valid validation, reducing boilerplate, and implementing a centralized exception‑handling strategy.

Backend DevelopmentJavaSpring Boot
0 likes · 9 min read
From Messy to Elegant Spring Boot Controllers: Validation, Refactoring, and Global Exception Handling
Java Architect Essentials
Java Architect Essentials
Jun 10, 2024 · Backend Development

Designing an Excellent Controller Layer in Java Spring

This article explains how to build a clean, maintainable Controller layer in Java Spring by separating responsibilities, using unified response structures, applying ResponseBodyAdvice for automatic wrapping, implementing parameter validation with JSR‑303, and handling custom exceptions through centralized advice, illustrated with comprehensive code examples.

ExceptionHandlingJavaResponseBodyAdvice
0 likes · 15 min read
Designing an Excellent Controller Layer in Java Spring
macrozheng
macrozheng
May 30, 2024 · Backend Development

18 Essential API Design Rules Every Backend Developer Should Follow

Learn 18 essential API design rules covering signature, encryption, IP whitelisting, rate limiting, parameter validation, unified responses, exception handling, logging, idempotency, pagination, stress testing, async processing, data masking, documentation, request methods, headers, batch operations, and single‑responsibility principles for robust backend services.

API designrate limitingsecurity
0 likes · 17 min read
18 Essential API Design Rules Every Backend Developer Should Follow
Test Development Learning Exchange
Test Development Learning Exchange
May 28, 2024 · Fundamentals

Using Regular Expressions for API Automation Testing: 10 Practical Examples

This article demonstrates how regular expressions can be applied in API automation testing through ten practical Python examples that extract URLs, validate emails, parse JSON, match phone numbers, detect sensitive words, retrieve HTTP status codes, verify dates, parse query parameters, enforce password strength, and extract XML tag content.

data extractionvalidation
0 likes · 6 min read
Using Regular Expressions for API Automation Testing: 10 Practical Examples
Java Architect Essentials
Java Architect Essentials
May 20, 2024 · Backend Development

Standardizing Spring Boot Controller Layer: Parameter Reception, Unified Status Codes, Validation, Response Wrapping, and Exception Handling

This article provides a comprehensive guide to standardizing the Spring Boot controller layer by explaining how to receive parameters, define unified status codes, apply validation annotations, wrap responses consistently, and handle exceptions globally, all illustrated with practical Java code examples.

JavaSpring BootUnified Response
0 likes · 19 min read
Standardizing Spring Boot Controller Layer: Parameter Reception, Unified Status Codes, Validation, Response Wrapping, and Exception Handling
21CTO
21CTO
Apr 17, 2024 · Fundamentals

Build Your Own DSL in Six Steps with Langium

This guide walks you through creating a domain‑specific language using Langium, covering lexical analysis, parsing, linking, semantic validation, developer experience enhancements, and deployment options, all illustrated with concrete ZModel examples and code snippets.

LangiumTypeScriptcompiler
0 likes · 11 min read
Build Your Own DSL in Six Steps with Langium
Selected Java Interview Questions
Selected Java Interview Questions
Apr 9, 2024 · Backend Development

Applying the Chain of Responsibility Pattern for Multi‑Level Product Validation and Workflow in Java

This article explains the Chain of Responsibility design pattern, demonstrates its use for multi‑step product validation and a reimbursement workflow in Java with Spring, provides UML diagrams, configuration handling, concrete handler implementations, client execution code, and discusses the pattern’s advantages and drawbacks.

Chain of ResponsibilityJavaSpring
0 likes · 18 min read
Applying the Chain of Responsibility Pattern for Multi‑Level Product Validation and Workflow in Java
php Courses
php Courses
Mar 19, 2024 · Backend Development

Using PHP mb_strlen() to Measure Multibyte String Length

This article explains how to use PHP's mb_strlen() function from the mbstring extension to accurately measure the length of multibyte strings, covering installation, syntax, optional encoding parameters, practical examples in Chinese and Japanese, and how to validate string length limits.

PHPmbstringmultibyte
0 likes · 5 min read
Using PHP mb_strlen() to Measure Multibyte String Length
Java Tech Enthusiast
Java Tech Enthusiast
Mar 10, 2024 · Backend Development

Comprehensive Guide to Spring Validation in Spring Boot

This guide explains how to configure and use Spring Validation (JSR‑303) in Spring Boot, covering dependency setup, @Valid vs @Validated, request body and parameter validation, group, nested and collection checks, custom constraints, programmatic validation, fail‑fast mode, and underlying implementation details.

APIHibernateValidatorJava
0 likes · 16 min read
Comprehensive Guide to Spring Validation in Spring Boot
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.

CachingError handlingLogging
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.

Hibernate ValidatorJavaSpring
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 DevelopmentJavaSpring Boot
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.

backendfrontendsecurity
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.

PHPReal-time ChatWebSocket
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.

AnnotationBean ValidationDubbo
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 DevelopmentJavaResponseBodyAdvice
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.

JavaSpring Bootcontroller
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.

CachingLoggingPython
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.

JavaSpring Bootcontroller
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.

JavaResponseBodyAdvicebackend
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.

Javacontrollerexception handling
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.

APIPHPThinkPHP6
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.

ExceptionHandlingJavaResponseBodyAdvice
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.

APISpring Bootexception handling
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 APISpring Bootexception handling
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.

JavaResponseBodyAdviceSpring
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.

JavaSpringcontroller
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
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.

ExceptionHandlingResponseBodyAdviceSpring
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.

DTOJavaLombok
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.

JavaSpring Bootcontroller
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.

JavaResponseBodyAdviceSpring Boot
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.

EncryptionJavaRequest Wrapper
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.

Hibernate ValidatorJavaSpring
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 ResponsibilityJavadesign-pattern
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.

ExceptionHandlingJavaSpring
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 ValidatorJavaSpring Boot
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.

ExceptionHandlingJavaResponseBodyAdvice
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
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.

ExceptionHandlingResponseBodyAdvicecontroller
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.

PHPjsonjson_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.

EasyExcelExcel ExportExcel Import
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.

JavaResponseBodyAdvicecontroller
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.

ExceptionHandlingJavaSpring
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.

ExceptionHandlingJavaSpring
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 FormsVueform-create
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.

ResponseBodyAdviceSpringbackend
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.

JavaSpring BootUnified Response
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.

API designbackendscalability
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.

JavaREST APIResponse Wrapping
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.

JavaREST APISpring Boot
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.

ResultVoSpring Bootcontroller
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.

ExceptionHandlingResponseWrappercontroller
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.

Developer ToolsIDE pluginsdata 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.

DTOJavaLombok
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.

DTOHibernateValidatorSpring
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.

Product evaluationUX Metricsmetric weighting
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
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