29 dépôts
Modular components for processing network traffic through request and response stages.
Distinguishing note: Focuses on the middleware pattern for request processing rather than general networking.
Explore 29 awesome GitHub repositories matching web development · Middleware Pipelines. Refine with filters or upvote what's useful.
Alamofire is an HTTP networking library that provides a foundation for managing network requests and responses through a chainable, type-safe interface. It serves as an asynchronous request manager, coordinating concurrent network operations and data streams while maintaining application responsiveness. The library distinguishes itself through a protocol-oriented request adaptation system, which utilizes interceptors to modify or authenticate requests before dispatch. It employs a middleware-driven pipeline to process traffic, handling encoding, authentication, and error recovery in a modular
Processes network traffic through a series of modular components that handle encoding, authentication, and error recovery in sequence.
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
Processes incoming requests through a sequential pipeline of handlers that can intercept, modify, or terminate the request flow.
This project is a comprehensive microservices development framework designed to build scalable, resilient backend systems. It provides a production-ready runtime that integrates stability patterns directly into the service architecture, ensuring consistent performance and reliability for both web and remote procedure call services even under heavy traffic conditions. The framework centers on an interface-first development model, utilizing a domain-specific language to define service contracts that serve as the single source of truth. This approach powers an extensive code generation ecosystem
Processes network traffic through interceptors for authentication, logging, and validation.
Echo is a high-performance, lightweight web framework for Go designed for building scalable RESTful APIs and web services. It provides a centralized environment for mapping network requests to handler functions, utilizing a fast radix-tree routing engine to ensure efficient request dispatching. The framework is built around a modular, middleware-centric pipeline that allows developers to execute reusable logic for cross-cutting concerns like authentication, logging, and security across the entire application. What distinguishes Echo is its focus on developer productivity through structured da
Executes a sequence of reusable components to handle cross-cutting concerns like logging and authentication during the request lifecycle.
Symfony is a full-stack web framework designed for building scalable and maintainable server-side applications. It provides a comprehensive collection of decoupled components that form a foundational architecture, centered on a robust dependency injection container and a configuration-driven routing engine. By organizing code into modular services, the framework ensures that application components remain testable and loosely coupled throughout the development lifecycle. The framework distinguishes itself through an event-driven kernel architecture that allows developers to intercept and modif
Incoming requests pass through a series of layered filters that execute logic before and after the primary controller action.
Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP. The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow. The frame
Features a composable middleware system to intercept and process network traffic through modular request and response stages.
Guzzle is a PHP HTTP client used for sending synchronous and asynchronous requests to web services. It serves as a concurrent HTTP request manager, an HTTP stream handler, and a middleware-based HTTP pipeline. The project is a PSR-7 compliant client, utilizing standardized PHP interfaces for requests, responses, and streams. The library differentiates itself through a customizable functional handler stack that allows for the interception and modification of the request and response lifecycle. It features an adapter-based transport system that enables swapping between network implementations,
Provides a customizable functional handler stack that wraps request and response processes in a modular pipeline.
This project is a curated, community-driven directory of frameworks, libraries, and development tools designed for the .NET ecosystem. It serves as a comprehensive resource index for developers seeking to build, maintain, and scale software projects using .NET technologies. The collection provides a structured catalog of utilities that support the full software development lifecycle. It covers essential capability areas including web service development, data persistence integration, and system observability. The directory also highlights tools for managing application dependencies, implement
Implements modular components for processing network traffic through request and response stages.
This project is a cross-platform managed execution environment and general-purpose application framework designed for building high-performance software. It provides a unified runtime that handles memory management, type safety, and code execution across diverse operating systems. By integrating a native code compilation toolchain, the platform enables developers to convert managed code into optimized machine instructions, significantly improving startup performance and reducing runtime dependencies for production environments. The framework distinguishes itself through a comprehensive toolch
Supports a modular middleware pipeline for intercepting and transforming HTTP requests and responses.
Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It functions as a routing engine and an HTTP middleware pipeline to map network requests to specific handler functions. The framework is distinguished by its dependency injection system, which automatically resolves and provides requested service types as arguments to handler functions. This allows for the decoupling of business logic from infrastructure by matching requested types against a registry of available services. The project covers a broad range of web capabilities, inc
Implements modular middleware pipelines to manage cross-cutting concerns like logging and authentication.
This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro
Demonstrates modular components for processing network traffic through configurable request and response stages.
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
Inserts custom logic into the processing flow by implementing a base middleware class.
AspNetCoreDiagnosticScenarios is a collection of anti-pattern galleries and architectural examples for ASP.NET Core and C#. It provides a series of broken code samples and case studies designed to illustrate common pitfalls, scalability bottlenecks, and reliability problems within the .NET web ecosystem. The project focuses on identifying problematic application patterns through the use of comparative implementation pairs, where broken scenarios are matched with corrected versions. These examples specifically cover dependency injection misconfigurations, middleware pipeline ordering, and the
Models request processing sequences to demonstrate how improper middleware ordering causes unexpected application behavior.
RoadRunner is a high-performance application server and process manager designed to serve PHP applications using a persistent worker model. It eliminates bootload overhead and initialization time by keeping application processes alive between requests, acting as a protocol-agnostic proxy that routes traffic to a pool of supervised workers. The server is built with a plugin-based modular architecture, allowing it to be extended with custom Go plugins and compiled into tailored binaries. It distinguishes itself by providing a unified execution model for a wide array of communication protocols,
Executes a sequence of independent middleware components to transform incoming requests and outgoing responses.
This is an ECMAScript proposal that introduces a pipeline operator for JavaScript, enabling left-to-right expression chaining with a dedicated placeholder token to reference the previous step's value. The proposal defines a syntax-only transformation that desugars to standard JavaScript, requiring no new runtime support or engine primitives. The pipeline operator allows chaining operations sequentially, passing each result to the next step in natural reading order. It includes a null-safe variant that short-circuits on nullish values, returning them unchanged and skipping remaining steps. Eac
Implements nullish short-circuiting that halts pipeline execution on null or undefined values.
Think is a PHP web framework and object-relational mapper designed for building web applications. It functions as a structured foundation for application development, incorporating a dependency injection container to manage object lifecycles and reduce coupling between components. The project includes a remote application debugger that allows for the inspection of internal state and variables from an external environment. It implements a model-view-controller architecture to separate application logic and data from the user interface. This includes a request pipeline for routing and middlewa
Processes incoming requests through a series of filtered middleware layers for authentication and logging.
Rack-attack est un middleware de limitation de débit (rate limiter) et un filtre de requêtes pour l'interface Rack. Il fournit un système pour brider les requêtes HTTP et maintenir des listes de blocage d'adresses IP afin de protéger les applications contre le trafic malveillant et les attaques par déni de service. Le projet permet l'atténuation des attaques DDoS au niveau applicatif et la gestion des limites de débit des API en identifiant et en rejetant les requêtes provenant de clients bannis ou d'adresses IP abusives. Il permet de définir des listes blanches (safelists) pour contourner les filtres et utilise une logique personnalisée pour déterminer si un client doit être bloqué ou bridé. L'outil couvre une gestion complète du trafic grâce au bannissement automatisé des clients, à des stratégies d'attente exponentielle (exponential backoff) et à la possibilité de définir des réponses de rejet personnalisées. Il inclut une instrumentation pour surveiller les modèles de requêtes et prend en charge des backends de cache externes pour synchroniser l'état entre les instances d'application distribuées.
Immediately returns custom HTTP responses when a request matches a blocklist, terminating the pipeline early.
Polka est un framework web Node.js minimaliste et un moteur de routage HTTP. Il fournit une implémentation de serveur à faible empreinte conçue pour une surcharge minimale, mappant les chemins d'URL et les méthodes HTTP à des fonctions de gestion spécifiques. Le projet utilise une architecture basée sur des middlewares, traitant les requêtes à travers une séquence de fonctions pour gérer des tâches telles que la journalisation, l'autorisation et la modification de données. Il permet l'organisation de ces fonctions en groupes globaux et filtrés par chemin pour contrôler l'ordre d'exécution. Le framework couvre les capacités web essentielles, notamment l'extraction de paramètres de route, l'analyse d'URL de requête avec mémoïsation et la gestion des réponses 404. Il inclut également un système centralisé de gestion des erreurs pour intercepter les exceptions levées dans la chaîne de middleware. Les utilisateurs peuvent démarrer un nouveau serveur HTTP sur un port spécifique ou attacher le gestionnaire de requête à une instance de serveur existante.
Run a sequence of functions before route handlers to modify requests, verify authorization, or perform logging.
ASP.NET Core MVC est un framework modèle-vue-contrôleur utilisé pour construire des sites web dynamiques et des API web au sein de l'écosystème .NET. Il fournit une architecture côté serveur qui sépare la logique de données, le rendu de l'interface utilisateur et la gestion des requêtes pour maintenir des frontières entre les couches d'application. Le framework inclut un moteur de template Razor pour intégrer du code dans des pages HTML afin de générer du contenu web dynamique. Il fonctionne également comme un framework d'API web RESTful pour créer des services HTTP évolutifs qui délivrent des données structurées aux clients via une interface réseau standardisée. Le système gère le traitement des requêtes via un pipeline de middleware et utilise un routage basé sur l'action pour mapper les requêtes HTTP entrantes à des méthodes de contrôleur spécifiques. Il prend en outre en charge le développement d'applications via la liaison de modèles, un conteneur d'injection de dépendances et des options d'hébergement web côté serveur.
Uses a modular pipeline of components to intercept and process HTTP requests and responses.
Zend Framework est un ensemble complet de composants découplés pour construire des applications web modulaires et pilotées par les événements. Il implémente une architecture MVC pour séparer la logique métier de l'interface utilisateur et fournit un système structuré de gestion des requêtes via un pipeline de middleware séquentiel. Le projet dispose d'un conteneur d'injection de dépendances piloté par des factories pour automatiser l'instanciation d'objets et gérer les cycles de vie des classes. Il inclut également une suite de sécurité complète pour vérifier les identités des utilisateurs et restreindre l'accès aux ressources en utilisant des listes de contrôle d'accès (ACL) et des adaptateurs de contrôle d'accès basé sur les rôles (RBAC). Le framework couvre un large éventail de capacités, incluant l'abstraction de base de données via des gateways de table et de ligne, des implémentations d'appels de procédure distante (RPC) pour SOAP et JSON-RPC, et un framework d'application console pour les interfaces en ligne de commande. La surface supplémentaire inclut la sérialisation de données, la validation d'entrée, la gestion de session et des outils pour l'envoi d'e-mails et l'internationalisation de contenu.
Implements modular middleware pipelines for processing network traffic through sequential request and response stages.