9 个仓库
Frameworks for enforcing data constraints on incoming request payloads.
Distinguishing note: Focuses on business rule enforcement during the request lifecycle, distinct from structural binding.
Explore 9 awesome GitHub repositories matching web development · Request Validation. Refine with filters or upvote what's useful.
Fiber is a high-performance web framework designed for building scalable HTTP services with minimal memory overhead. It provides a comprehensive runtime environment for managing the full request lifecycle, utilizing an optimized radix tree for high-speed route matching and an object pooling system to reduce garbage collection pressure during traffic processing. The framework distinguishes itself through its multi-process architecture, which supports prefork socket reuse to distribute incoming traffic across all available CPU cores. It offers a modular approach to application development, feat
The framework defines data constraints using struct tags and custom validation interfaces to automatically verify incoming request payloads against business rules during binding.
Validator.js is a library of pure, stateless functions designed for the validation and sanitization of string data within any JavaScript environment. It provides a modular suite of tools to verify that user-provided information conforms to specific formats, such as emails, URLs, and dates, while simultaneously cleaning untrusted input to mitigate security risks. The library distinguishes itself through a design that avoids platform-specific APIs, ensuring consistent execution across browsers, servers, and edge runtimes. By utilizing a pre-compiled regular expression engine and a pure data tra
Enforces data constraints on incoming request payloads to ensure they meet business rules.
Revel is a full-stack web framework and toolkit for building applications with the Go language. It implements a model-view-controller architecture to separate business logic from user interface rendering, providing a comprehensive system for routing, parameter binding, and session management. The project distinguishes itself with a high-productivity development environment featuring automatic code compilation and hot-reloading, which refreshes the application state and templates upon file changes without requiring manual restarts. It also employs reflection-based parameter binding to automati
Enforces data constraints and validates incoming URL and form parameters before business logic execution.
Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr
Ensures incoming data meets specific type, presence, and format requirements before reaching business logic.
Dropwizard is a Java web application stack and REST framework used to build production-ready web services. It integrates an embedded HTTP server with operational tools to provide a complete environment for developing network interfaces that exchange JSON data. The project provides a set of core technology stacks for relational data mapping, schema migration, and operational performance monitoring. It includes a relational database migration tool to track schema updates and execute versioned scripts before an application starts. The framework covers a broad capability surface including reques
Implements constraint-based validation to enforce data integrity on incoming request payloads.
Vibora 是一个异步 Python Web 框架和内置 HTTP 服务器,旨在构建高性能 Web 应用。它利用异步事件循环和协程来处理网络请求并提供响应,无需外部服务器封装器。 该项目具有用于请求完整性的高性能异步模式验证器、支持热重载的非阻塞模板引擎,以及用于双向实时数据交换的 WebSocket 通信服务器。 该框架涵盖了广泛的功能,包括通过蓝图(blueprints)进行的模块化路由管理、应用组件的依赖注入,以及零拷贝 HTTP 解析。它还提供了用户会话管理、异步 HTML 渲染以及带有连接池的非阻塞 HTTP 客户端工具。 提供了一个用于项目引导的命令行界面,以生成标准化的目录结构和初始配置文件。
Enforces strict data constraints and integrity on incoming request payloads using async schemas.
Backendlore 是一系列架构指南和模式的集合,用于构建使用 Node.js 的无状态 JSON HTTP API。它专注于设计将会话和应用程序状态卸载到外部数据库和内存存储的后端系统,以促进水平扩展。 该项目为 REST API 提供了具体的实现标准,包括请求负载验证和使用加密签名的 Cookie 进行会话管理。它详细介绍了一种文件管理策略,该策略结合了用于高速交付的本地文件系统缓存和用于长期耐用性的云对象存储。 该框架涵盖了广泛的系统级功能,包括用于 CSRF 防护和基于权限路由的安全原语、基于哈希的内容缓存和多进程集群扩展等性能优化,以及用于集中式系统通知的可观测性工具。它还概述了数据库模式迁移和 Linux 服务器部署的工作流。
Implements synchronous and asynchronous validation rules for incoming request payloads to ensure server stability and security.
Goravel 是一个功能齐全的开发脚手架和框架,用于使用 Go 编程语言构建 Web 应用、REST API 和 gRPC 服务。它实现了模型-视图-控制器(MVC)架构,并为高性能远程过程调用服务器和客户端提供了全面的工具包。 该框架的独特之处在于其广泛的集成生态系统,包括用于数据库管理的流畅对象关系映射器(ORM),以及用于管理自动化和项目脚手架的专用命令行界面工具包。它具有基于驱动的服务抽象,允许开发者在不更改应用逻辑的情况下切换存储、缓存和会话后端。 该平台涵盖了广泛的应用功能,包括带有分布式队列的异步任务处理、通过基于令牌的身份验证进行的安全身份管理,以及具有加密和访问控制的稳健安全层。它还提供内容本地化、模板渲染以及带有依赖模拟的自动化测试基础设施工具。
Enforces data integrity by checking request payloads against predefined business rules.
This project is a comprehensive library of reference implementations and patterns for building web applications using the Go Fiber framework. It provides curated templates and implementation guides for creating REST APIs, web servers, and structured backend services. The repository serves as a practical resource for applying architectural patterns, including Clean and Hexagonal architectures, as well as port-and-adapter decoupling. It offers detailed examples for integrating common web features such as OAuth2 authentication, JWT verification, WebSockets for real-time communication, and server
Provides mechanisms to validate incoming request data against defined rules and return errors for invalid payloads.