
Client/Server Architectures and Data Transfer Objects
Explore the concepts of client/server architectures, data transfer objects (DTOs), and avoiding code duplication between models and DTOs in software development. Learn how these components facilitate communication, data transfer, and efficient operations within applications.
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Client Architecture User Interface Communication Facades/Services Client Model
Client/Server Architecture User Interface Communication Communication Data Persistence Facades/Services Facades/Services Client Model Server Model
Data Access Objects Data Persistence DAO Interface DAO Interface DAO Interface DAO Interface DAO Implementation 1 DAO Implementation 2 DAO Implementation 3
Data Tranfer Objects (DTOs) Data-only classes used to move (or transfer ) data from point A to point B in an application Moving data into and out of the Data Persistence subsystem Create, Update, Delete: DTOs passed into DAOs Read: DTOs passed out of DAOs Transferring data between client and server (typically over a network) Web API parameters Web API results
Data Transfer Objects Data Persistence Data Transfer Objects DTO DAO Interface DTO DTO DAO Interface DAO Interface DAO Interface DAO Implementation 1 DAO Implementation 2 DAO Implementation 3
Client/Server Architecture COM Impl User Interface COM Impl User Interface DAO Impl COM DTOs COM Interfaces DAO DTOs Facades / Services Facades / Services COM Interfaces DAO COM DTOs Interfaces Client Model Client Model
Models vs. DTOs DTO Model Properties / Data Properties / Data Operations / Methods
Avoiding Code Duplication between Models and DTOs Model DTO Properties / Data Operations / Methods