About 419,000 results
Open links in new tab
  1. What is a Data Transfer Object (DTO)? - Stack Overflow

    Jun 26, 2009 · A Data Transfer Object is an object that is used to encapsulate data, and send it from one subsystem of an application to another. DTOs are most commonly used by the …

  2. java - O que é um DTO? - Stack Overflow em Português

    Sep 27, 2022 · Estou mexendo com Java a pouco tempo e sempre ouço a expressão DTO relacionada a puxar alguma coisa de um banco, mas nunca entendi ao certo do que se trata. …

  3. Why do we need DTOs and interfaces both in NestJS

    Sep 10, 2023 · The NestJS documentation showcases how to add DTOs to use in Controllers to validate request objects by using class-validator package. DTOs described there are …

  4. DTOs: best practices - Stack Overflow

    I am considering to use DTOs instead of passing around my domain objects. I have read several posts here as well as elsewhere, and i understand there are several approaches to getting this …

  5. Why are data transfer objects (DTOs) an anti-pattern?

    Sep 3, 2017 · DTOs are not an anti-pattern. When you're sending some data across the wire (say, to a web page in an Ajax call), you want to be sure that you conserve bandwidth by only …

  6. java - How to use DTOs in the Controller, Service and Repository ...

    Apr 19, 2020 · 26 I'm following the Controller, Service and Repository pattern and I'm just wondering where DTOs come into this. Should the controller only receive DTOs? My …

  7. What is the point of using DTO (Data Transfer Objects)?

    Mar 19, 2023 · What is somewhat outdated is the notion of having DTOs that contain no logic at all, are used only for transmitting data and "mapped" from domain objects before transmission …

  8. DDD - which layer DTO should be implemented - Stack Overflow

    Nov 3, 2019 · The DTO implementation seems part of the Domain, but it means that when I create a collection of DTOs in the Service Layer and pass it to a Presentation Layer, I have to …

  9. Where i should put my DTOs in clean architecture?

    Feb 18, 2019 · Need to implement the clean architecture and struggling with DTO concept. As I understand, i can't use my domain objects in presentation layer (asp mvc) instead i should use …

  10. java - REST API - DTOs or not? - Stack Overflow

    Mar 23, 2016 · I am currently creating a REST-API for a project and have been reading article upon article about best practices. Many seem to be against DTOs and simply just expose the …