awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

17 个仓库

Awesome GitHub RepositoriesData Transfer Object Mapping

Patterns and tools for mapping domain entities to data transfer objects to decouple APIs from schemas.

Distinct from Object Mapping APIs: Candidates focus on ORM database mapping or binary mapping, not the specific DTO architectural pattern.

Explore 17 awesome GitHub repositories matching software engineering & architecture · Data Transfer Object Mapping. Refine with filters or upvote what's useful.

Awesome Data Transfer Object Mapping GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • abpframework/abpabpframework 的头像

    abpframework/abp

    14,313在 GitHub 上查看↗

    ABP is an opinionated architectural framework for building enterprise software solutions using .NET and ASP.NET Core. It serves as a structural toolkit for implementing domain-driven design and microservices patterns, providing a modular enterprise architecture where functionality is organized into independent, pluggable modules. The platform is specifically designed to support multi-tenant SaaS architectures, isolating data and configurations for multiple independent customers within a single application instance. It provides enterprise boilerplate infrastructure and pre-configured templates

    Provides standardized DTO mapping to decouple the API contract from the underlying database schema.

    C#abpangulararchitecture
    在 GitHub 上查看↗14,313
  • alibaba/colaalibaba 的头像

    alibaba/COLA

    12,964在 GitHub 上查看↗

    COLA is a core architectural toolkit for Java applications designed around domain-driven design and a clean, object-oriented layered architecture. It provides a framework for managing project structures, implementing domain-driven entity modeling, and organizing enterprise application architecture to decouple business logic from technical dependencies. The project features a pluggable logic extension system that allows for the addition of new functionality through defined extension points without modifying the core codebase. It also includes a project bootstrapping toolkit and an integration

    Implements a system for formatting data transfer objects to decouple API layers from internal domain schemas.

    Javaarchitecturecleancola
    在 GitHub 上查看↗12,964
  • luckypennysoftware/automapperLuckyPennySoftware 的头像

    LuckyPennySoftware/AutoMapper

    10,190在 GitHub 上查看↗

    AutoMapper is a strongly typed object-to-object mapper for .NET. It provides utilities for copying data between different object representations using convention-based property matching to eliminate manual assignment code. The library automates the transformation of data models by matching source and destination properties based on shared names and types. It supports the conversion of internal domain models into data transfer objects, facilitating data movement between presentation, business, and data access layers. The system employs reflection-based type discovery and recursive object grap

    Automates the mapping of domain entities to data transfer objects to decouple application layers.

    C#
    在 GitHub 上查看↗10,190
  • automapper/automapperAutoMapper 的头像

    AutoMapper/AutoMapper

    10,191在 GitHub 上查看↗

    AutoMapper is a .NET object-to-object mapper designed to transfer data between different object types. It functions as an automated mapping library that reduces the need for manual property assignments by using naming conventions to match properties between classes. The library focuses on automating data projection and the conversion of internal domain models into data transfer objects. It supports layered architecture decoupling by mapping data between domain entities and view models. The system employs convention-based member matching, flattening-based property projection, and recursive ty

    Provides automated mapping between domain entities and data transfer objects to decouple APIs from internal schemas.

    C#
    在 GitHub 上查看↗10,191
  • oatpp/oatppoatpp 的头像

    oatpp/oatpp

    8,553在 GitHub 上查看↗

    Oatpp is a high-performance C++ web framework and API development kit used for building REST APIs and web services. It functions as an asynchronous HTTP server that utilizes coroutines to handle thousands of simultaneous connections without blocking threads. The toolkit includes a native C++ object-relational mapping layer for executing SQL queries and transforming database results into data objects. It also provides a WebSocket communication library for establishing full-duplex channels to support real-time data streaming and live media. The framework covers a broad range of capabilities, i

    Supports mapping internal business entities to specialized data transfer objects for network transmission.

    C++c-plus-pluscppcross-platform
    在 GitHub 上查看↗8,553
  • litestar-org/litestarlitestar-org 的头像

    litestar-org/litestar

    8,302在 GitHub 上查看↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Transforms and filters data moving between external requests and internal data models using data transfer objects.

    Pythonapiasgiasyncio
    在 GitHub 上查看↗8,302
  • ricosuter/nswagRicoSuter 的头像

    RicoSuter/NSwag

    7,342在 GitHub 上查看↗

    NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera

    Maps API date and time values to native language date objects during the generation of data transfer objects.

    C#angularaspnetaspnetcore
    在 GitHub 上查看↗7,342
  • juancrg90/clean-code-notesJuanCrg90 的头像

    JuanCrg90/Clean-Code-Notes

    6,119在 GitHub 上查看↗

    Clean-Code-Notes is a clean code study guide and a collection of detailed notes based on professional software development standards. It serves as documentation for coding standards and a reference for writing maintainable source code. The project provides technical summaries for object oriented design and software design patterns. It includes guidelines for organizing classes and interfaces to reduce coupling, isolating implementation details, and implementing architectural patterns such as dependency injection and interface abstraction. The resource also functions as an implementation guid

    Implements data transfer objects to move raw information between system boundaries without adding logic.

    bookclean-codenotes
    在 GitHub 上查看↗6,119
  • thephpleague/omnipaythephpleague 的头像

    thephpleague/omnipay

    6,053在 GitHub 上查看↗

    Omnipay 是一个 PHP 支付网关库和集成框架,将多个支付服务提供商抽象为单一、一致的 API。它提供了一个用于管理支付生命周期的标准化接口,允许应用程序在各种金融服务之间执行授权、捕获和退款,而无需为每个提供商重写代码。 该框架使用适配器模式和数据传输对象将应用程序逻辑与特定于提供商的 SDK 解耦。这种架构确保原始网关响应和 HTTP 请求被转换为可预测的数据形状,而基于配置的环境切换允许开发人员在测试交易流程时在沙箱和实时 API 端点之间切换。 该库涵盖了广泛的支付处理功能,包括用于定期计费的信用卡令牌化以及使用 Luhn 算法验证卡号。它处理交易生命周期的协调,包括站外重定向管理和通过 Webhook 处理异步网关通知。 附加功能包括用于使用任意参数自定义请求有效负载并将详细的行项目数据传输到支付网关的工具。

    Maps raw gateway responses and HTTP requests into structured data transfer objects for predictable data shapes.

    PHP
    在 GitHub 上查看↗6,053
  • mapstermapper/mapsterMapsterMapper 的头像

    MapsterMapper/Mapster

    5,127在 GitHub 上查看↗

    Mapster 是一个 .NET 对象到对象映射器和高性能映射引擎,用于在不同对象模型之间转换数据。它作为类型安全的数据传输工具和 LINQ 查询投影工具,用于在内部逻辑和外部数据结构之间移动数据。 该引擎利用编译后的映射表达式和机器码来减少对象转换过程中的开销。它特别允许将可查询的数据源直接投影到目标类型中,以优化数据库检索。 该工具集涵盖了数据传输对象(DTO)生成、不可变数据转换和查询结果投影。它包括映射不可变集合、保留对象引用以及将运行时参数注入转换过程的功能。

    Provides tools for mapping domain entities to data transfer objects to decouple internal logic from external schemas.

    C#
    在 GitHub 上查看↗5,127
  • dotnetcore/utildotnetcore 的头像

    dotnetcore/Util

    4,610在 GitHub 上查看↗

    Util 是一个全面的 .NET 开发框架,旨在实现分层架构和领域驱动设计(DDD)。它提供了一套基础类库和工具,用于构建全栈应用程序,特别专注于后端管理框架和管理界面的开发。 该项目的一大特色是其样板代码生成器,能够生成必要的类型和类,从而标准化重复的架构模式。它还包含一个微前端编排器,支持将大型前端模块拆分为独立项目,以便进行单独的开发和部署。 该框架涵盖了广泛的功能领域,包括基于角色的身份与访问管理(IAM)、多租户数据隔离以及自动依赖注入。此外,它还提供了用于数据变更审计、内容本地化、对象存储集成以及 CRUD 界面生成的实用工具。 该系统支持使用预集成的 UI 组件创建管理界面,并通过 Razor TagHelpers 实现服务端渲染。

    Provides automated configuration for mapping domain entities to data transfer objects (DTOs).

    C#angularaspnetcoredotnetcore
    在 GitHub 上查看↗4,610
  • officedev/open-xml-sdkofficedev 的头像

    officedev/open-xml-sdk

    4,538在 GitHub 上查看↗

    这是一个 Open XML 文档库和生成器,用于以编程方式创建和修改 Microsoft Office 文件。它通过操作底层的 Open XML 结构,支持 Word、Excel 和 PowerPoint 文档的生产。 该库提供了 Open XML 文档处理功能,包括现有文件的自动修改以及用于服务端生产的格式化办公报告和电子表格的生成。

    Maps XML namespaces and attributes to concrete C# types to prevent structural errors.

    C#
    在 GitHub 上查看↗4,538
  • riok/mapperlyriok 的头像

    riok/mapperly

    4,100在 GitHub 上查看↗

    Mapperly 是一个 C# 源生成器,用于 .NET 中的高性能对象到对象映射。它作为一个编译时映射库,在构建过程中生成必要的转换代码,消除了在领域模型和数据传输对象(DTO)之间转换时对运行时反射的需求。 该工具的特色在于提供类型安全的诊断验证和严格的映射强制执行,在编译时为未映射的属性发出警告。它包含用于处理循环引用和深拷贝的专门能力,以保持对象标识并在复杂转换期间防止无限循环。 该项目涵盖了广泛的转换任务,包括嵌套对象层级的扁平化、各种集合类型和 Span 的转换,以及字符串与原始类型之间的全面枚举映射。它还通过查询投影支持数据库集成,将映射定义转换为表达式树,以优化从可查询源中检索字段。 配置选项允许自定义对象工厂、成员级排除以及用户定义映射逻辑的集成。生成的源代码可导出到可配置目录,以便进行人工检查和版本控制。

    Automates the conversion of data between internal domain models and data transfer objects.

    C#
    在 GitHub 上查看↗4,100
  • thephpleague/oauth2-clientthephpleague 的头像

    thephpleague/oauth2-client

    3,809在 GitHub 上查看↗

    This library is a PHP toolkit for managing OAuth 2.0 authentication flows and connecting applications to external service providers. It provides a standardized framework for handling token exchanges, managing authorization grants, and retrieving user profile information from diverse identity platforms. The project is distinguished by its inheritance-based provider pattern, which allows developers to build custom integration clients by extending base logic to support unique service workflows and non-standard API specifications. It employs interface-driven contracts to ensure consistent behavio

    Maps heterogeneous API responses from various external services into a consistent internal structure for predictable application usage.

    PHP
    在 GitHub 上查看↗3,809
  • spatie/data-transfer-objectspatie 的头像

    spatie/data-transfer-object

    2,226在 GitHub 上查看↗

    This library provides a framework for defining typed, immutable data structures in PHP. It enables developers to construct structured objects from raw input arrays, ensuring consistent data shapes and schema integrity across different layers of an application. By enforcing strict property types and validation rules during instantiation, the library prevents invalid data states and simplifies the handling of complex information. The project distinguishes itself through its use of attribute-driven metadata, which allows for property renaming, custom validation, and serialization logic directly

    Constructs structured objects from input data to enforce type safety and consistent data shapes across application layers.

    PHPobjectsphpvalue
    在 GitHub 上查看↗2,226
  • spatie/schema-orgspatie 的头像

    spatie/schema-org

    1,497在 GitHub 上查看↗

    This library is a PHP tool for programmatically defining, building, and exporting structured data graphs. It provides a fluent, object-oriented interface that allows developers to construct complex, nested metadata structures that comply with standardized vocabulary requirements for search engine indexing. The library distinguishes itself through its support for multi-typed entity modeling, which enables the combination of several classification categories into a single, unified entity. It also features a graph-based modeling system that facilitates the linking and cross-referencing of relate

    Ensures schema vocabulary compliance through type-safe property mapping and enumerated constants.

    PHPgooglephpschedule
    在 GitHub 上查看↗1,497
  • cheese10yun/spring-jpa-best-practicescheese10yun 的头像

    cheese10yun/spring-jpa-best-practices

    1,173在 GitHub 上查看↗

    This project serves as a comprehensive guide and collection of architectural patterns for implementing domain-driven design within Java enterprise applications. It focuses on structuring persistence layers to ensure data integrity, maintainability, and clear domain boundaries when working with object-relational mapping. The repository distinguishes itself by demonstrating how to encapsulate business logic and state transitions directly within entities, moving away from simple data containers toward rich domain models. It provides practical examples for managing complex entity relationships, i

    Converts incoming request data into domain entities using dedicated mapping methods to decouple layers.

    Javabest-practicesdata-jpajpa
    在 GitHub 上查看↗1,173
  1. Home
  2. Software Engineering & Architecture
  3. Data Transfer Object Mapping

探索子标签

  • Data Transfer Objects1 个子标签Simple data structures used to move raw information between system boundaries without business logic. **Distinct from Data Transfer Object Mapping:** Focuses on the architectural use of DTOs for boundary crossing, whereas the candidate focuses on the mapping between entities and DTOs.