1/17/15

What is Data Transfer Objects(DTO) pattern

Data Transfer Object (DTO)

Simple Data Transfer Object that are not having any business logic.
It reduces the round trip that a server side script will do to get all the required resources or data.
It carries data from one process to another process.

Data transfer object (DTO), formerly known as value objects or VO, is a design pattern used to transfer data between software application subsystems. DTOs are often used in conjunction with data access objects to retrieve data from a database.
The difference between data transfer objects and business objects or data access objects is that a DTO does not have any behaviour except for storage and retrieval of its own data (accessors and mutators).