Client/Server Architectures and Data Transfer Objects

client architecture n.w
1 / 8
Embed
Share

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.

  • Architecture
  • Data Transfer
  • Client/Server
  • DTOs
  • Code Duplication

Uploaded on | 0 Views


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


  1. Client Architecture User Interface Communication Facades/Services Client Model

  2. Client/Server Architecture User Interface Communication Communication Data Persistence Facades/Services Facades/Services Client Model Server Model

  3. Data Access Objects Data Persistence DAO Interface DAO Interface DAO Interface DAO Interface DAO Implementation 1 DAO Implementation 2 DAO Implementation 3

  4. 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

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

  6. 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

  7. Models vs. DTOs DTO Model Properties / Data Properties / Data Operations / Methods

  8. Avoiding Code Duplication between Models and DTOs Model DTO Properties / Data Operations / Methods

More Related Content