DTO (Data Transfer Object) in JavaScript/Typescript
Computer science applied to JavaScript 💪
Practical examples of Clean Code concepts every JavaScript engineer can employ to make the code more scalable and responsive to change. Let’s learn Software Craftsmanship together.
DTO (Data Transfer Object) is what is being transferred over the wire. In JavaScript Single Page App, it’s what API expects to create a resource and what it sends back to process and display on the page. Oftentimes DTOs data structures are not the most comfortable to work with for a Frontend engineer. For example, data structures contain dates as strings, boolean values with property names without prefix (is*, has*, should*), flags as an array of strings, or even more cumbersome things — a data structure that is not that comfortable to work with.
We, JavaScript engineers, can prevent DTOs leak into our codebase. In favor to keep it evergreen and comfortable for everyone to work with.
Let’s learn how to protect the codebase from DTOs.
-----------------------------------------------------
1 view
811
214
4 months ago 00:04:12 1
Warning: Missing Mineral Causing Arthritis
4 months ago 00:06:27 3
Laravel Data Example: DTO Re-Used in Controllers/Actions/Jobs/Tests
6 months ago 00:08:09 1
01 Защита доступа в , пользователи и пароли. (код купона в описании)
8 months ago 00:14:56 1
NestJs Validation Tutorial 2021
8 months ago 00:02:04 17
Warcraft 3 : Hearth of Storm Mod - New Campaigns
8 months ago 00:04:12 1
The Mind-Blowing Benefits of Berberine
9 months ago 00:35:44 1
Dto. de Belén Catamarca, Castillo y Termas de Villa Vil, El Shincal Londres 2da ciudad mas antigua
10 months ago 00:13:41 10
SQLAlchemy: Pydantic DTO и FastAPI + SQLAlchemy #11
12 months ago 00:04:21 1
DTO - Earth feat. Aja Lee (Skysia Remix) - Official Motion Visual Video
1 year ago 00:13:57 1
‼️ Сжечь нищету 🪐 снять порчу 😈 открыть дороги 🔥 сжечь болезни 🍀
1 year ago 00:32:22 1
Object Thinking Meetup #6: Emil Fataliev / Spring Web MVC without DTO
1 year ago 00:56:20 1
Андрей Беляев — DTO: живи быстро, гори ярко
1 year ago 00:06:56 1
“Ушедшие в историю“ Костромской троллейбус
1 year ago 00:15:18 1
Vitamin D and diabetes
1 year ago 01:15:37 3
Курс по Flutter. Занятие 5: Сетевые запросы | Mad Brains
1 year ago 01:14:29 1
Создание веб-сервиса с использованием Spring Boot 3 и AWS SQS
1 year ago 00:15:31 3
Что такое NestJS Module, Entity, Dto. Создаем необходимые сущности. TypeORM, ReactJs [eng subs]
1 year ago 00:21:25 1
How Boston Dynamics Is Building Its Robot Empire
1 year ago 00:11:11 1
Как составить личный финансовый план | Финансовое планирование
1 year ago 00:31:41 1
В шахте нашли КОРНИ КРЕМНИЕВЫХ ДЕРЕВЬЕВ! На Земле лесов нет новая версия
2 years ago 00:07:39 1
#7 Mapstruct Entity to DTO
2 years ago 00:01:28 1
REST API приложение на Spring Boot. Создание Entity, Repository и DTO
2 years ago 00:43:52 17
Laravel-data от Spatie: просто и со вкусом! Описание библиотеки.