Тёмный

Use DTO instead of Model and Entity objects 

Java Master
Подписаться 4,5 тыс.
Просмотров 22 тыс.
50% 1

In this video, we try to understand why using DTO classes is important. And why using entity objects is not ok when passing data through different layers.

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@breakpoint6824
@breakpoint6824 Год назад
I found this video after watching several videos and losing time. This video has direct explanation with a simple and proper example. Thank you
@cod3rhandl3it
@cod3rhandl3it Год назад
This is a solid video regarding DTOs over Entities, using code examples and succinct descriptions for some primary reasons DTOs should be used over Entities. Much better than other videos I've found on RU-vid. Thank you for contributing to the coding community.
@hihihaha3756
@hihihaha3756 Год назад
This has been the best explanation / code demostration regarding the subject I have found until now. Kudos
@sagi33delriego82
@sagi33delriego82 Год назад
Excellent , Thanks for public this video , I'm was learn today very much.
@riki2404
@riki2404 2 года назад
Thank you for the video. Got a good understanding of the concept.
@wh0hoo
@wh0hoo 2 года назад
One might add that it is a good practice to use static constructors instead of such converters.
@sergeykuznetsov3249
@sergeykuznetsov3249 Год назад
You probably meant Static factory methods, but still not clear about the advantages of such approach
@osean186
@osean186 2 года назад
Will the use of a DTO like this add to the memory load when there is a lot of data? Because after we get data from database, we do map again to DTO class. Thank you
@Bk-m7
@Bk-m7 2 месяца назад
Good
@Дмитрий-э3и4с
@Дмитрий-э3и4с Год назад
As far as I understand, there may also be a situation when you need to pass an object containing fields that are not in the model
@alexandrazamfir548
@alexandrazamfir548 Год назад
do you have also the source code ?...
@mysocial
@mysocial Год назад
Why you use public in your DTO ?
@Айлана-ж8л
@Айлана-ж8л 2 года назад
Thank you!
Далее
JAVA DTO Pattern Tutorial | Simplify Your Code
19:12
Просмотров 207 тыс.
НИКИТА ПОДСТАВИЛ ДЖОНИ 😡
01:00
Просмотров 164 тыс.
Wildest 10 SECONDS OF HIS LIFE 🤯 @TomIsted
00:14
Просмотров 1,4 млн
Why use DTOs (Data Transfer Objects)?
7:23
Просмотров 73 тыс.
5 Rules For DTOs
17:56
Просмотров 43 тыс.
Stop using Entity Framework as a DTO provider!
1:27:19
Просмотров 28 тыс.
Why use Type and not Interface in TypeScript
14:12
Просмотров 210 тыс.