1 个仓库
Mechanisms that map view callables to resources based on marker interfaces rather than specific class types.
Distinct from Generated View Interfaces: None of the candidates cover marker-interface based dispatching for web views.
Explore 1 awesome GitHub repository matching web development · Interface-Based View Dispatch. Refine with filters or upvote what's useful.
Pyramid 是一个 Python Web 框架和 WSGI 工具包,专为构建 Web 应用程序而设计。它作为一个 URL 路由引擎,使用基于模式的路由和分层资源树遍历,将传入的 HTTP 请求映射到特定的视图可调用对象。 该框架的特色在于其混合调度系统,允许开发人员将正则表达式 URL 匹配与通过导航嵌套对象树来解析请求的能力相结合。它实现了一个灵活的组件架构,支持应用程序注册表管理、延迟配置执行,以及在不修改原始源代码的情况下覆盖视图或路由的能力。 其更广泛的功能面涵盖了通过签名 Cookie 和基于 ACL 的授权进行的身份管理、用于请求生命周期的事件驱动协调系统,以及用于 UI 翻译的国际化服务。它还通过自定义序列化程序和模板集成提供内容渲染工具,以及用于注入横切逻辑的中间件 tween 管道。 该工具包包括一个用于路由检查、项目脚手架和应用程序调试的管理命令行界面。
Associates view callables with marker interfaces to share views across different resource implementations.