Topic

Validation

Collection size
163 articles
Page 6 of 9
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 7, 2023 · Backend Development

Master Spring Validation in Spring Boot 2.6: From Basics to Custom Annotations

This guide explains Spring Validation in Spring Boot 2.6, covering its lightweight features, configuration of Bean Validation providers, injection of validators, practical examples, custom annotation creation, method‑level validation, and additional configuration options with clear code samples.

Backend DevelopmentBean ValidationJava
0 likes · 8 min read
Master Spring Validation in Spring Boot 2.6: From Basics to Custom Annotations
Efficient Ops
Efficient Ops
Jul 31, 2022 · Fundamentals

Mastering Regex: Essential Patterns for Validating Numbers, Emails, URLs, and More

This article compiles a comprehensive collection of regular expressions for validating numeric formats, character sets, email addresses, domain names, URLs, phone numbers, IP addresses, dates, and other special patterns, providing developers with ready‑to‑use snippets for robust input validation.

Programmingbackendpatterns
0 likes · 15 min read
Mastering Regex: Essential Patterns for Validating Numbers, Emails, URLs, and More
macrozheng
macrozheng
Oct 18, 2024 · Backend Development

Master Spring Boot Validation: 10 Essential Tips and Custom Techniques

This article presents ten practical techniques—including built‑in annotations, custom constraints, server‑side checks, internationalized messages, validation groups, cross‑field rules, exception handling, testing, and client‑side considerations—to help developers implement robust validation in Spring Boot applications.

Backend DevelopmentJSR-303Java
0 likes · 17 min read
Master Spring Boot Validation: 10 Essential Tips and Custom Techniques
macrozheng
macrozheng
May 18, 2022 · Backend Development

36 Essential Tips for Designing Robust Backend APIs

This article presents 36 practical guidelines for backend engineers covering interface parameter validation, compatibility, extensibility, idempotency, logging, error handling, security, rate limiting, caching, transaction management, and more, helping you design reliable, maintainable, and high‑performance APIs across any language.

API designIdempotencyPerformance
0 likes · 30 min read
36 Essential Tips for Designing Robust Backend APIs
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.

ChangelogGitLabgit
0 likes · 7 min read
Implementing Server-Side Git Hooks for Changelog Validation
Laravel Tech Community
Laravel Tech Community
Aug 16, 2022 · Backend Development

Implementing Validation in ThinkPHP5 Using the Built-in Validate Class

This article demonstrates how to use ThinkPHP5's built‑in Validate class to define validation rules and scenes, create a simple HTML form for data submission, and process the input in a backend controller, providing complete code examples for each step.

ThinkPHPbackendphp
0 likes · 3 min read
Implementing Validation in ThinkPHP5 Using the Built-in Validate Class
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.

ComposerOpen Sourcebackend
0 likes · 3 min read
PHP Composer ID Validator: Features, Installation, Usage, and Information Retrieval
Laravel Tech Community
Laravel Tech Community
Jan 31, 2021 · Backend Development

PHP is_nan() Function – Determine If a Value Is Not a Number

The article explains PHP's is_nan() function, its signature, parameters, return values, and provides a code example showing how it identifies non‑numeric results such as NaN and returns true, making it useful for backend validation.

NANbackendfunction
0 likes · 2 min read
PHP is_nan() Function – Determine If a Value Is Not a Number
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.

ControllerExceptionHandlingJava
0 likes · 18 min read
Improving Spring MVC Controller Logic: Unified Response, Validation, and Exception Handling
Architects' Tech Alliance
Architects' Tech Alliance
Dec 3, 2016 · Fundamentals

Effective Data Cleaning Practices and Tips

This article provides practical guidance on data cleaning, covering the importance of data wrangling, using assertions, handling incomplete records, checkpointing, testing on subsets, logging, optional raw data storage, and validating the cleaned dataset to ensure reliable downstream analysis.

AssertionsCheckpointdata cleaning
0 likes · 7 min read
Effective Data Cleaning Practices and Tips
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 DevelopmentControllerJava
0 likes · 9 min read
From Messy to Elegant Spring Boot Controllers: Validation, Refactoring, and Global Exception Handling
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.

APIJavaSpring Boot
0 likes · 26 min read
Comprehensive Guide to Spring Boot Backend API Design: Validation, Global Exception Handling, Unified Response, Version Control, and Security
Java Architect Essentials
Java Architect Essentials
Jan 3, 2023 · Backend Development

Using javax.validation Annotations for Parameter Validation in Spring Boot

This article explains how to replace verbose manual if‑else checks with concise javax.validation annotations in Spring Boot, covering built‑in constraints, dependency setup, custom validators, validation groups, and global exception handling to create a unified, maintainable validation workflow.

HibernateValidatorJSR303Java
0 likes · 12 min read
Using javax.validation Annotations for Parameter Validation in Spring Boot
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.

ControllerResultVoSpring Boot
0 likes · 18 min read
Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot
Architecture Digest
Architecture Digest
Aug 2, 2024 · Backend Development

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

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

Best PracticesControllerJava
0 likes · 9 min read
From Messy to Elegant: Refactoring Spring Boot Controllers with @Valid and Global Exception Handling
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 DevelopmentControllerJava
0 likes · 18 min read
Best Practices for Designing the Controller Layer in Spring Boot: Unified Response, Validation, and Exception 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.

DTOHibernateJava
0 likes · 15 min read
Comprehensive Guide to Spring Validation: Best Practices, Scenarios, and Advanced Features
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 BootVersioning
0 likes · 27 min read
Comprehensive Guide to Backend API Development with Spring Boot: Validation, Global Exception Handling, Unified Responses, Versioning, and Security
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.

ControllerExceptionHandlingJava
0 likes · 18 min read
Designing an Excellent Controller Layer in Spring MVC