Topic

Validation

Collection size
163 articles
Page 3 of 9
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.

PHPRegexValidation
0 likes · 4 min read
PHP Function for Validating Chinese ID Card Numbers
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 SourcePHP
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.

Validationbackendfunction
0 likes · 2 min read
PHP is_nan() Function – Determine If a Value Is Not a Number
Laravel Tech Community
Laravel Tech Community
Jan 15, 2021 · Backend Development

Implementing Automatic Address Recognition in Laravel with jQuery

This article demonstrates how to build an automatic address recognition feature for user input by combining Laravel backend controllers, repository services, and jQuery AJAX calls to parse, validate, and populate name, mobile, and detailed address fields.

AJAXLaravelPHP
0 likes · 10 min read
Implementing Automatic Address Recognition in Laravel with jQuery
Laravel Tech Community
Laravel Tech Community
Sep 4, 2020 · Fundamentals

Comprehensive Collection of Regular Expressions for Data Validation

An extensive compilation of regular expressions covering numeric, character, email, URL, phone, ID, password, date, IP, and other validation patterns, complete with examples and explanations, providing developers a ready reference for implementing robust input validation across various programming contexts.

DataRegexValidation
0 likes · 5 min read
Comprehensive Collection of Regular Expressions for Data Validation
Laravel Tech Community
Laravel Tech Community
May 6, 2020 · Backend Development

Laravel Validation Cheat Sheet

This article provides a concise Laravel validation cheat sheet that explains the purpose of the Validation helper, shows common code examples for creating and extending validators, and lists the most frequently used validation rules with their syntax for quick reference.

Cheat SheetLaravelPHP
0 likes · 2 min read
Laravel Validation Cheat Sheet
Laravel Tech Community
Laravel Tech Community
Jan 3, 2020 · Backend Development

Laravel Form Validation: Rules, Requests, and Custom Validation Techniques

This comprehensive guide explains Laravel's powerful form validation features, covering built‑in validation rules, quick validation examples, route and controller setup, handling validation errors, form request classes, custom error messages, conditional rules, array validation, and how to create custom validation rules using rule objects, closures, and extensions.

FormLaravelPHP
0 likes · 35 min read
Laravel Form Validation: Rules, Requests, and Custom Validation Techniques
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.

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

ControllerException HandlingJava
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.

ControllerExceptionHandlingJava
0 likes · 15 min read
Designing an Excellent Controller Layer in Java Spring
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.

ControllerException HandlingJava
0 likes · 19 min read
Standardizing Spring Boot Controller Layer: Parameter Reception, Unified Status Codes, Validation, Response Wrapping, and Exception Handling
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
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 HandlingJava
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
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 ValidatorJava
0 likes · 18 min read
Comprehensive Guide to Spring Validation: Simple to Advanced Usage and Implementation Principles
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.

ControllerException HandlingResultVo
0 likes · 18 min read
Unified Controller Layer Handling, Validation, and Exception Management in Spring Boot
Architecture Digest
Architecture Digest
Oct 13, 2024 · Backend Development

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

The article explains how to simplify Spring MVC controller code by introducing a unified response wrapper, handling String return types with ResponseBodyAdvice, adjusting HttpMessageConverter order, applying JSR‑303 validation for @RequestParam, @PathVariable and @RequestBody, creating custom validation annotations, and implementing global exception handling for consistent API responses.

ControllerExceptionHandlingJava
0 likes · 18 min read
Improving Spring MVC Controllers: Unified Response Structure, Validation, and Exception Handling
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.

ControllerJavaSpringBoot
0 likes · 9 min read
From Messy to Elegant: Refactoring Spring Boot Controllers with @Valid and Global Exception Handling