awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
weavejester avatar

weavejester/compojure

0
View on GitHub↗
4,115 stars·260 forks·Clojure·EPL-1.0·2 vues

Compojure

Compojure est une bibliothèque de routage pour les applications web Ring qui mappe les requêtes HTTP vers des fonctions de gestion via des définitions de routes composables. Elle sert de composant middleware pour l'écosystème Ring, dirigeant le trafic web vers une logique d'application spécifique en faisant correspondre les méthodes et chemins des requêtes entrantes avec des modèles d'URI définis.

Le routeur utilise une architecture modulaire permettant de regrouper les endpoints associés dans des modules découplés. Ce modèle de composition permet de construire des applications plus vastes à partir de contextes de routage indépendants.

La bibliothèque offre des capacités de traitement des requêtes web, incluant la transformation des paramètres de chemin d'URI bruts en types de données spécifiques et la normalisation des URI de requête. Elle inclut également des fonctionnalités pour servir des ressources statiques en mappant les chemins de requête vers des fichiers physiques ou des ressources internes.

Features

  • HTTP Request Routing - Maps incoming HTTP request methods and paths to specific handler functions to determine the processing logic.
  • HTTP Routers - Provides a system for mapping incoming network requests to specific handler functions based on URL patterns and HTTP methods.
  • Route Pattern Matching - Matches incoming request URIs against predefined regular expression patterns to select the appropriate handler function.
  • Routing Composition - Implements the nesting of route handlers to build complex, hierarchical application structures from modular rules.
  • Route-Based Modularization - Organizes complex web applications by grouping related endpoints into independent, decoupled routing contexts.
  • HTTP Request Handling - Processes web requests by converting path parameters into data types and directing them to business logic.
  • Request Middleware - Provides middleware mechanisms for intercepting and processing HTTP requests before they reach the final application handler.
  • Request Routing - Directs incoming network requests to appropriate handlers based on path and method matching.
  • Ring Application Frameworks - Enables building web services and APIs based on the Ring specification with structured request and response handling.
  • Ring Middleware - Implements a middleware component for the Ring ecosystem to manage request dispatching and URI pattern matching.
  • Ring Specification Compatibility - Produces standard Clojure maps following the Ring specification for interoperability with JVM web servers.
  • Composable Routers - Provides a hierarchical routing architecture that allows mounting independent route segments into a unified application.
  • Composable Routing Contexts - Group related routes into independent contexts to build a larger application from small, decoupled parts.
  • Path Parameter Converters - Transforms raw URI path parameters into specific data types before they reach the handler.
  • Static Asset Serving - Maps request paths to physical files or internal resources to send static content directly to clients.
  • Typed Path Parameter Decoders - Converts raw string path segments into specified data types like integers or UUIDs during the routing phase.
  • Web Response Generation - Generates standardized web response objects with appropriate MIME types from internal data structures.
  • Language Toolkits - Concise routing library for Clojure.
  • Web Frameworks - Routing library for composing web applications.

Historique des stars

Graphique de l'historique des stars pour weavejester/compojureGraphique de l'historique des stars pour weavejester/compojure

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Compojure

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Compojure.
  • go-chi/chiAvatar de go-chi

    go-chi/chi

    22,418Voir sur GitHub↗

    Chi is a lightweight, idiomatic router and middleware framework for building web services in Go. It is designed to integrate directly with the standard library, providing a set of utilities for managing HTTP request routing, context propagation, and modular service composition. The project distinguishes itself through a radix-tree-based routing system that supports recursive nesting, allowing developers to mount independent sub-routers onto specific path prefixes. This hierarchical structure enables the creation of organized, modular applications where request handlers are grouped and managed

    Goapicontextgo
    Voir sur GitHub↗22,418
  • gorilla/muxAvatar de gorilla

    gorilla/mux

    21,832Voir sur GitHub↗

    This project is a request router and web framework for the Go programming language. It provides a toolkit for matching incoming HTTP network requests to specific handler functions by evaluating criteria such as URL paths, request methods, headers, and hostnames. The framework distinguishes itself through its flexible matching capabilities, which include support for regular expressions and dynamic variable extraction from URL segments. It allows developers to organize routes into logical hierarchies, share common path prefixes, and maintain a central registry of named routes to facilitate prog

    Gogogolanggorilla
    Voir sur GitHub↗21,832
  • go-martini/martiniAvatar de go-martini

    go-martini/martini

    11,603Voir sur GitHub↗

    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

    Go
    Voir sur GitHub↗11,603
  • kataras/irisAvatar de kataras

    kataras/iris

    25,582Voir sur GitHub↗

    Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the infrastructure necessary to build HTTP/2 web applications, REST APIs, and MVC-based websites. The project distinguishes itself through a flexible architectural model that supports multiple isolated application instances within a single process and allows for binary-embedded asset loading to eliminate external filesystem dependencies. It features dynamic router hot-reloading and a pluggable view engine for rendering dynamic HTML content. The framework covers a broad range of capabilities,

    Go
    Voir sur GitHub↗25,582
Voir les 30 alternatives à Compojure→

Questions fréquentes

Que fait weavejester/compojure ?

Compojure est une bibliothèque de routage pour les applications web Ring qui mappe les requêtes HTTP vers des fonctions de gestion via des définitions de routes composables. Elle sert de composant middleware pour l'écosystème Ring, dirigeant le trafic web vers une logique d'application spécifique en faisant correspondre les méthodes et chemins des requêtes entrantes avec des modèles d'URI définis.

Quelles sont les fonctionnalités principales de weavejester/compojure ?

Les fonctionnalités principales de weavejester/compojure sont : HTTP Request Routing, HTTP Routers, Route Pattern Matching, Routing Composition, Route-Based Modularization, HTTP Request Handling, Request Middleware, Request Routing.

Quelles sont les alternatives open-source à weavejester/compojure ?

Les alternatives open-source à weavejester/compojure incluent : go-chi/chi — Chi is a lightweight, idiomatic router and middleware framework for building web services in Go. It is designed to… gorilla/mux — This project is a request router and web framework for the Go programming language. It provides a toolkit for matching… go-martini/martini — Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It… kataras/iris — Iris is a high-performance web framework and API toolkit for the Go programming language. It provides the… ninenines/cowboy — Cowboy is a high-performance HTTP server for Erlang and OTP. It is designed to handle web traffic with low memory… webpy/webpy — web.py is a minimal Python web framework that provides the core components needed to build web applications: URL…