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:07:17 9
Code Review of Pan: Repositories, ENUMs, Value Objects
4 months ago 00:01:20 3
Companion | Teaser Trailer
5 months ago 00:15:18 12
Разбор JsonResource. Под капотом Laravel
6 months ago 00:25:10 1
SIGURADO TITIGIL KA NA MANOOD NG BOXING AT MAKIPAG SUNTUKAN KAPAG NAPANOOD MOTO❗KIKILABUTAN KA DTO😱❗
7 months ago 00:41:18 1
Rose Tattoo - dto. (full album)
7 months ago 00:04:12 1
Warning: Missing Mineral Causing Arthritis
8 months ago 00:06:27 3
Laravel Data Example: DTO Re-Used in Controllers/Actions/Jobs/Tests
10 months ago 00:08:09 1
01 Защита доступа в , пользователи и пароли. (код купона в описании)
11 months ago 00:14:56 1
NestJs Validation Tutorial 2021
12 months ago 00:02:04 18
Warcraft 3 : Hearth of Storm Mod - New Campaigns
1 year ago 00:35:44 1
Dto. de Belén Catamarca, Castillo y Termas de Villa Vil, El Shincal Londres 2da ciudad mas antigua
1 year ago 01:23:14 1
The Pain of OOP, Lecture #3: Getters and naked data
1 year ago 00:13:41 14
SQLAlchemy: Pydantic DTO и FastAPI + SQLAlchemy #11
1 year 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
“Ушедшие в историю“ Костромской троллейбус
2 years ago 00:15:18 1
Vitamin D and diabetes
2 years ago 01:15:37 3
Курс по Flutter. Занятие 5: Сетевые запросы | Mad Brains
2 years ago 01:14:29 1
Создание веб-сервиса с использованием Spring Boot 3 и AWS SQS
2 years ago 00:15:31 3
Что такое NestJS Module, Entity, Dto. Создаем необходимые сущности. TypeORM, ReactJs [eng subs]
2 years ago 00:21:25 1
How Boston Dynamics Is Building Its Robot Empire
2 years ago 00:11:11 1
Как составить личный финансовый план | Финансовое планирование