Five Essential Design Patterns in Typescript

preview_player
Показать описание
I'm going to "do it live!" as I bring you five essential Design Patterns, from the GoF book, in Typescript, live, as you get to ask questions along the way! Super exciting, I can't wait to see how it turns out!

One thing I can guarantee is that you will come away from this with a decent idea of what these patterns are and code that you can reuse in your applications.

Hope you folks enjoy this!
👉 If you enjoy this video, please like it and share it.

💢 Watch our other videos:

Thank you for watching this video, click the "SUBSCRIBE" button to stay connected with this channel.

#reactjs #typescript #effector
Рекомендации по теме
Комментарии
Автор

stable awesomness, thank you for your efforts Jack

artemu
Автор

Thank you for posting this video. It is such a treasure for people like me who mostly self-learned

ykl
Автор

Jack Herrington: the official youtuber of TypeScript

chrisperry
Автор

00:00 intro
05:21 database interface

11:54 factory
15:15 singleton
19:16 observer
31:45 visitor,
34:45 strategy
43:37 adapter

alvarobyrne
Автор

After 3 years, this video continues on helping people understand these concepts and I'm an example of that. Thank you so much! Instantly subscribed after the video.

jmfariasdev
Автор

Thank you so much for your perspective. This type of growth would never have ocurred to me without someone of your expertise mentioning it. Lots of

DimitriGedda-wosm
Автор

You are awesome, dude!

Your content have been help me a lot even with the simple questions I had

TheGabrielMoon
Автор

Jack, you are awesome. Really happy to say that I follow you. Big fan! Also, thanks for your amazing content. Much love and see you soon!

CodingNuggets
Автор

Thank you! We need more content like this, building node APIs with TS and design pattern/SOLID principles. A suggestion: As someone already pointed out, your implementation of the factory pattern is not full. It's more of a facade. You'd need arguments (enums for instance) for the factory to allow for implementations of different databases types on the fly.

adventurer
Автор

So disappointed i missed this! Great stuff Jack.

mmmmmmm
Автор

For 1 min 40 sec I was thinking my headset having issue .
Nice video

sachinbonde
Автор

Great tutorial. Next one could be how to organise medium to large projects in a maintainable way. All I know is Uncle Bob's domain driven design, but this seems a bit overkill for me...

DavidSmith-efeh
Автор

I think this is where I finally learn generics 😅 great content 👏👏

abba_m_
Автор

Really useful to see these patterns that I hear my backend/Java colleagues talking about. Though, I'm curious if they are still considered best practice in TS / modern JavaScript. I'm struggling to think of scenarios where these patterns work better than more simple, easier to read/reason.

John-Dennehy
Автор

Really nice and useful Tutorial.. thaanks

AndreNitschke
Автор

Every time I come to this channel theres something better in store, keep it up Jack!

DanielJustavino
Автор

Thanks for this lecture. I tried out the code but the visitor pattern had to declare item:any as a workaround I was getting an error : " Argument of type '(item: T) => void' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => void'.". if I used item: T as per the interface. But its a small issue, the code was a great exercise.

rembautimes
Автор

I searched the entire web for such tutorials where design patterns are implemented in use cases.

ngneerin
Автор

I think i would rather implement all this by using:
- Map for inMemoryDb
- EventTarget + CustomEvent for the pub/sub logic
- Proxy to proxy get and set methods of Map with pub sub events

Lemmy
Автор

In the old days we also set in the config file the kind of DB the Factory is returned when invoked.

oOrbitZz