Topic

Validation

Collection size
163 articles
Page 2 of 9
Beike Product & Technology
Beike Product & Technology
Aug 15, 2018 · Backend Development

Applying Yii2 Model Validation with Scenarios and Rules

This article explains how Yii2 uses validators and scenario configurations to perform comprehensive data validation in PHP models, illustrating the approach with a complete code example, detailed rule definitions, and guidance on using on/except, message, and scenarios methods.

ModelPHPValidation
0 likes · 7 min read
Applying Yii2 Model Validation with Scenarios and Rules
政采云技术
政采云技术
Jan 19, 2020 · Frontend Development

Analysis of Antd Form Implementation Mechanism

This article analyzes the Antd Form component's implementation, explaining how it collects, validates, and updates form data through rc-form's FieldsStore, and discusses advanced patterns like nested fields, custom component integration, and form linkage.

ReactValidationantd
0 likes · 18 min read
Analysis of Antd Form Implementation Mechanism
Architecture Development Notes
Architecture Development Notes
Sep 5, 2024 · Fundamentals

Convert IPv4 Addresses to Integers in Rust with Built‑In Validation

This article explains the structure of IPv4 addresses, walks through a Rust function that parses dotted‑decimal notation into a 32‑bit integer with range checks, and provides example code demonstrating usage and error handling.

Address ConversionIPv4Rust
0 likes · 5 min read
Convert IPv4 Addresses to Integers in Rust with Built‑In Validation
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 17, 2024 · Backend Development

5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today

This article walks through five practical Spring Boot 3.2.5 enhancements—including collection‑parameter validation, wildcard @PropertySource loading, improved method injection, custom thread‑pool scheduling, and robust Number‑type request handling—showing code examples, console output, and migration tips from older versions.

JavaSpring BootValidation
0 likes · 8 min read
5 Must‑Know Spring Boot 3.2.5 Features You Can Start Using Today
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 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
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Nov 6, 2020 · Fundamentals

Pure Functions, Functors, and Applicative Functors with LazyBox in JavaScript

The article introduces pure functions and shows how JavaScript functors like Box can lazily transform values with map, uses LazyBox to defer side effects until fold, then extends the concept to applicative functors and Either for composable validation via ap and liftA2 helpers.

Functional ProgrammingJavaScriptValidation
0 likes · 20 min read
Pure Functions, Functors, and Applicative Functors with LazyBox in JavaScript
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.

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

Automation TestingData ExtractionPython
0 likes · 6 min read
Using Regular Expressions for API Automation Testing: 10 Practical Examples
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.

Sign-inUXValidation
0 likes · 24 min read
Sign‑in Form Best Practices: Design, Accessibility, and Implementation
政采云技术
政采云技术
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
政采云技术
政采云技术
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 DesignJavaScriptReact
0 likes · 19 min read
Understanding rc-form: Internals, APIs, and Usage in React Forms
UC Tech Team
UC Tech Team
Oct 11, 2018 · Backend Development

Avoiding Single Empty Seats in Cinema Seat Selection Using Regex

This article explains how to prevent isolated empty seats when users select cinema seats by modeling seat layouts, defining forbidden patterns, converting them into regular expressions, and implementing concise JavaScript validation code that reduces complex nested if‑statements to a few clear lines.

AlgorithmValidationbackend
0 likes · 6 min read
Avoiding Single Empty Seats in Cinema Seat Selection Using Regex
Qunar Tech Salon
Qunar Tech Salon
May 8, 2017 · Databases

Understanding Tomcat JDBC Connection Pool Configuration and Validation Parameters

This article explains how Tomcat JDBC connection pool settings such as testOnBorrow, testOnReturn, testWhileIdle, and testOnConnect work, discusses related parameters like maxActive and removeAbandoned, and presents performance testing to guide reliable and efficient database connection management.

Connection PoolDatabaseTomcat JDBC
0 likes · 10 min read
Understanding Tomcat JDBC Connection Pool Configuration and Validation Parameters
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 FormsJSONValidation
0 likes · 6 min read
Using form-create to Dynamically Generate Forms in Vue
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.

ChangelogGitLabValidation
0 likes · 7 min read
Implementing Server-Side Git Hooks for Changelog Validation
360 Quality & Efficiency
360 Quality & Efficiency
Feb 12, 2020 · Fundamentals

Common Regular Expressions and Their Syntax

This article introduces the fundamentals of regular expressions, explains their components, syntax rules such as quantifiers and anchors, and provides a collection of frequently used regex patterns for tasks like email validation, ID numbers, dates, IP addresses, and URLs.

Validationpattern syntaxregex
0 likes · 5 min read
Common Regular Expressions and Their Syntax
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 ParametersFile UploadJava
0 likes · 11 min read
Handling Interface Parameters in Spring Boot: Retrieval, Types, Validation, and File Upload
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.

JSONPHPValidation
0 likes · 7 min read
PHP 8.3 RFC: Built‑in json_validate Function
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.

PHPThinkPHPValidation
0 likes · 3 min read
Implementing Validation in ThinkPHP5 Using the Built-in Validate Class