DTO (Data Transfer Object) in JavaScript/Typescript
Hellow guys, Welcome to my website, and you are watching DTO (Data Transfer Object) in JavaScript/Typescript. and this vIdeo is uploaded by Nik Sumeiko at 2021-02-22T05:55:05-08:00. We are pramote this video only for entertainment and educational perpose only. So, I hop you like our website.
Info About This Video
Name |
DTO (Data Transfer Object) in JavaScript/Typescript |
Video Uploader |
Video From Nik Sumeiko |
Upload Date |
This Video Uploaded At 22-02-2021 13:55:05 |
Video Discription |
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.
------------------------------------------------------------------------------------------------
Content:
0:00 Introduction
0:28 What is DTO
1:03 Examples of TDOs with issues
4:30 We can't control DTO, but we can a Domain Object
4:48 DTO vs Domain Object + example
6:00 What is a Domain Object
6:22 Cooperation between our codebase, and an API (system design)
9:01 Key takeaways
------------------------------------------------------------------------------------------------
Follow me on LinkedIn for more content: https://www.linkedin.com/in/niksumeiko/
I'm passionate about software craftsmanship. Clean code, TDD, refactoring are the things I practice myself every day and train peers. After systematically challenging 40 Senior JavaScript Engineers here at work, I decided to begin a champion knowledge sharing around an extremely useful subject — computer science applied to JavaScript.
Software design patterns, SOLID, code smells, OOP, IOSP, walking skeleton architecture, Tell don’t ask principle, and much more. Yes, these things in JavaScript 🔥 🤘
If you're a senior JavaScript/Typescript engineer, I'll definitely challenge your knowledge. We both will learn. A link to my LinkedIn is above.
#DTO #JavaScript #TypeScript #CleanCode #WeAreGeorge |
Category |
Science & Technology |
Tags |
javascript | typescript | dto | data transfer object | best practices | clean code | refactoring |
More Videos