« Dto » : différence entre les versions
De Banane Atomic
Aller à la navigationAller à la recherche
(Une version intermédiaire par le même utilisateur non affichée) | |||
Ligne 2 : | Ligne 2 : | ||
= [https://en.wikipedia.org/wiki/Data_transfer_object Definition] = | = [https://en.wikipedia.org/wiki/Data_transfer_object Definition] = | ||
Data Transfer Object is an object that carries data between processes.<br> | Data Transfer Object is an object that carries data between processes.<br> | ||
They are used to aggregate data to reduce the number of calls between | They are used: | ||
* to aggregate data to reduce the number of calls between client and server | |||
* to delete unnecessary data to reduce data load | |||
DTOs are simple objects that should not contain any business logic but may contain serialization and deserialization mechanisms for transferring data over the wire. |
Dernière version du 24 septembre 2020 à 14:15
Definition
Data Transfer Object is an object that carries data between processes.
They are used:
- to aggregate data to reduce the number of calls between client and server
- to delete unnecessary data to reduce data load
DTOs are simple objects that should not contain any business logic but may contain serialization and deserialization mechanisms for transferring data over the wire.