About 51 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. 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 …

  3. 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. …

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

    Sep 17, 2009 · 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 …

  5. 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 …

  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)?

    Oct 26, 2012 · 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. When to use entity and when to use DTOs

    Apr 12, 2021 · DTOs must be easy to serialize and deserialize to transfer data over a network. They also allow us to separate our internal representation of data from the representation of …

  9. What is the point of a Data Transfer Object (DTO)?

    Mar 22, 2015 · DTOs explicitly express the usage of the service and the desired operation. Disconnected Scenarios - having explicit messages or DTOs would make it easier for you to …

  10. 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 …