7 个仓库
Mapping model relationships to API representations.
Distinguishing note: Focuses on the mapping strategy (PK, slug, URL).
Explore 7 awesome GitHub repositories matching web development · Relationship Mapping. Refine with filters or upvote what's useful.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Maps model relationships to strings, primary keys, slugs, or hyperlinked URLs.
GraphQL Voyager is a schema visualizer and data model explorer that provides an interactive graph representation of a GraphQL API. It serves as a documentation tool for inspecting types and fields by transforming schema introspection data into a visual interface. The tool maps the relationships between different types and fields, allowing for the analysis of complex data models and their connections. Users can filter the visual representation to remove deprecated fields or wrapper classes and use a dedicated information panel to examine technical specifications for specific data types.
Traces nested object references within the GraphQL schema to visually link types and fields.
Active Model Serializers 是一个 Ruby on Rails JSON 序列化器,用于将模型对象和关联转换为用于 API 的结构化 JSON 响应。它作为一个模型到 JSON 的映射器和响应格式化程序,将内部数据库模式与外部 API 契约解耦。 该项目利用可插拔适配器模式根据特定标准(如 JSON API 规范)组织序列化数据。它提供了一种将内部属性映射到自定义 JSON 键的机制,并实现了一个序列化作用域,允许根据授权上下文和用户权限进行属性和关联过滤。 该工具集通过使用虚拟属性以及通过侧加载(sideloading)或 ID 嵌入管理关联数据来涵盖数据转换。它包括用于响应元数据注入、基于片段的结果缓存以及用于跟踪序列化指标的性能检测的功能。
Defines how associated models are linked or embedded in JSON outputs to manage payload size.
Absinthe 是一个用于 Elixir 生态系统的 GraphQL 服务器实现和查询引擎。它提供了构建 GraphQL API 的基础工具包,包括一个针对定义的应用程序模式解析、验证和执行文档的处理引擎。 该项目包括一个批处理解析器,通过对字段请求进行分组来优化数据库性能;以及一个复杂度守卫,通过拒绝超过定义成本阈值的查询来保护系统资源。它还具有一个模式适配器,将内部 Elixir 命名约定转换为外部 GraphQL 大小写,以实现客户端兼容性。 执行模型支持异步字段解析和用于自定义查询处理的基于中间件的流水线。其他功能涵盖了查询成本分析、模式驱动的解析,以及自定义解析器和验证逻辑的能力。
Maps GraphQL fields to executable Elixir functions using a predefined schema.
tbls 是一个基于 Go 的命令行工具,用于记录、分析和检查关系数据库模式。它是一个文档生成工具,可以生成 Markdown、JSON 或 Excel 格式的结构化报告和实体关系图,同时也是一个模式差异对比工具,用于识别实时数据库与文档之间的差异。 该项目允许通过外部配置文件进行模式增强和定义虚拟关系,从而在无需数据库迁移或原生约束的情况下实现元数据覆盖和表连接。它还支持将表组织成基于域的视图,以创建对整体模式的精选视角。 其他功能包括通过 SQL linter 根据预定义规则验证数据库结构,以及测量文档覆盖率以确定已描述表和列的百分比。该系统利用基于 JSON 的驱动程序接口集成外部可执行文件以支持各种数据库类型,并使用可自定义的模板进行文档生成。
Defines table relationships and foreign key connections via configuration for databases lacking native constraints.
Project-graph 是一个视觉工作区,旨在通过基于节点的知识图谱管理复杂信息。它提供了一个直接操作界面,允许用户将数据组织成逻辑网络,通过互连节点和双向链接映射非线性思维和项目工作流。 该系统通过事件溯源状态管理模型脱颖而出,该模型将每次修改记录为离散操作,从而实现精确的撤销和重做功能。它集成了一个响应式布局引擎,在交互过程中自动计算节点间距和连接路径,以保持视觉清晰并防止元素重叠。 该平台支持全面的视觉知识管理,包括用于标记连接、自定义界面导航以及将数据结构化为嵌套图谱的工具。为了确保数据完整性和性能,该系统利用自动实时持久化和二进制序列化来优化大型数据集的存储效率。
Supports nested graphs and bidirectional links to create flexible, interconnected thought maps.
Maps how GitHub repositories connect through shared user interests and community overlap.