Тёмный

Onion Architecture - Software Design Patterns Explained 

Professional Programming
Подписаться 661
Просмотров 24 тыс.
50% 1

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

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@GayanSanjeewaKarunarathne
@GayanSanjeewaKarunarathne Год назад
No fancy RGB background lights, no fancy cuts or animations. Only what's important: Knowledge delivered simply. Appreciate your video very much. Subscribed to get future videos 🙌
@vitaliipaprotskyi3815
@vitaliipaprotskyi3815 Год назад
This video should get more views. Very good explanation(the best I could found). Well done. Thanks a lot!
@iarchetype
@iarchetype Год назад
One of the better explanations out there. Thanks for this
@solaaar3
@solaaar3 Год назад
Really good video, i hope you'll continue to make the series (hexagonal, clean)
@EthanMT88
@EthanMT88 5 месяцев назад
Thanks you for sharing. It's very clear and useful for me.👍👍👍
@koka6414
@koka6414 2 года назад
Well done, waiting for more! 👍👍👍
@Daejii96
@Daejii96 Год назад
What an amazing explanation!!! Thank you so much!! +1 sub
@rafaelfranco7643
@rafaelfranco7643 2 года назад
Nice!!! very good explanation.
@professionalprogramming8265
@professionalprogramming8265 2 года назад
Thank you!
@sohamjoshi9527
@sohamjoshi9527 2 года назад
The jigsaw puzzle pieces are shown in the application layer, however the repository interfaces (also jigsaw puzzle pieces) are typically defined in the domain layer, so does this mean the domain layer also allows things to be plugged in like the repository implementations. In the diagram above the sql repository implementation is shown plugged into some application service but wouldnt it get plugged directly into the domain layer if the IRepository interface has been defined in that layer
@professionalprogramming8265
@professionalprogramming8265 2 года назад
Where to put repository interfaces is open for a bit of a debate. Sometimes you'll see a "Domain Services" layer in-between the domain layer and the application layer which contains repository interfaces, sometimes they'll be inside the domain layer itself. The most important thing is to put interfaces close to the code which uses them. I personally like thinking about repositories as being fundamentally no different than any other service used by the application layer. This keeps the "domain" very pure and free from concerns like data persistence. At times, though, data persistence might be so important to the modelling of the domain that it would make sense for it to be at a lower level.
@sohamjoshi9527
@sohamjoshi9527 2 года назад
@@professionalprogramming8265 Thanks agree
@astronaut98
@astronaut98 2 года назад
Really nice job! So those puzzle piece holes that you mentioned: are those implemented using interfaces? Would love to see a real code example of how to achieve those holes and how boundaries are achieved (Dependency Inversion?)
@professionalprogramming8265
@professionalprogramming8265 2 года назад
Yeah so the hole would be an interface and the puzzle price would be an implementation. I wanted to keep it generic and language-agnostic for this first one but I definitely am planning on doing some much more specific code examples.
@astronaut98
@astronaut98 2 года назад
@@professionalprogramming8265 Awesome! Looking forward to it 😊
@falconheavy595
@falconheavy595 Год назад
thanks, at last some people who knows what they are talking about
@A.Almatrodi
@A.Almatrodi Год назад
Thanks so much. Excuse me for my ignorance. If I buld a projct with MVVM architecture, am I doing the same concept?. Is a kind of such a relation between Conceptual and Physical.
@mail2sixface
@mail2sixface 2 года назад
Thanks bro, concept is clearly explained well.
@RaniaAbdElrazik
@RaniaAbdElrazik 2 года назад
i appreciate your content ,i love this video,thax Iwould like to know how u make video ,writing on screen and it appears on video in same time ,i like this
@professionalprogramming8265
@professionalprogramming8265 2 года назад
Thanks! I'm glad you liked it! For writing on the screen, I used the Microsoft Whiteboard app with a pretty basic pen input and just layered them together in OBS Studio using a luma key filter to remove the background.
@RaniaAbdElrazik
@RaniaAbdElrazik 2 года назад
@@professionalprogramming8265 nice job thanks❤️
@Ken-rt6sr
@Ken-rt6sr 5 месяцев назад
That's silly changing the db from say relational to NoSql won't ripple through the stack. Think of any application consuming a third party api that's consuming a database. The Api layer necessarily protects is meant to encapsulate / abstract details from the the client's using it
@bigdino21
@bigdino21 11 месяцев назад
Hii, what is the difference between Domain Serveces and Application Serveces in the onion architecture?
@rorycawley
@rorycawley 9 месяцев назад
Event Sourcing.
@atif-riaz
@atif-riaz Год назад
Excellent video with superb visulazation to explain it in a very simple and elegant way, Thanks a lot. As a side note would you like to share what tech gadget you are using for drawing and displaying those diagrams?
@Saad-x8t
@Saad-x8t 8 месяцев назад
Thank you, keep posting videos you have a easy going aura arround you and you ease people with your simple way of speaking!
@ederjuniordesouza1618
@ederjuniordesouza1618 Год назад
Thank you for the great job, smashing the subscribe button
@novagepard
@novagepard Год назад
Thanks for the explanation! This should have more views
@zenoviondong7916
@zenoviondong7916 Год назад
Thanks for the brilliant explanation 🙌🙌
@dnsala
@dnsala Год назад
thank you, really helpful!
@chalu24
@chalu24 2 года назад
Awesome.. looking to see more videos :))
@KouroushMetal
@KouroushMetal 2 года назад
Great Video! Thank You!
@rorycawley
@rorycawley 9 месяцев назад
Very nicely done.
@МилошДангубић
@МилошДангубић 2 года назад
Thank you, great explanation
@bradburrick
@bradburrick 2 года назад
Thank you, this was great!
@viktorolsson2325
@viktorolsson2325 2 года назад
Very helpful, thanks!
@arpansthapit6547
@arpansthapit6547 2 года назад
Great Explanation !!!!!!!!! really apreciate it
@professionalprogramming8265
@professionalprogramming8265 2 года назад
Glad it was helpful!
@forrestcollins5159
@forrestcollins5159 2 года назад
This was a really good overview, especially considering the length. Framing Dependency injection as connecting/swapping similar puzzle pieces is a really intuitive way of expressing the concept. Only so much you can do in 10 minutes, but would have been nice to see more about inversion of control and how modeling software like this allows us to write durable tests for our application layer more easily. Looking forward to seeing what you put out in the future!
@alan-
@alan- Год назад
Here's another great overview, in 4 mins: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JubdZIdLQ4M.html Followed by a terrific explanation of Aggregates, Entities, Value Objects and Domain Events: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-xFl-QQZJFTA.html I'm not affiliated, I just found them really helpful
@olehposhelugniy18
@olehposhelugniy18 2 года назад
Well, if significant change is done to the database then no mater which architecture type it is (traditional or an onione one) the change will likely also affect a businnes layer. However, using repository patter to abstract out data from its persistance can signifficantly help (again, no mater archotecture type it is). Thanks for the video!
Далее
Clean Architecture with ASP.NET Core 8 | .NET Conf 2023
29:17
Barno
00:22
Просмотров 656 тыс.
Qalpoq - Amakivachcha (hajviy ko'rsatuv)
41:44
Просмотров 234 тыс.
The Onion Architecture EXPLAINED | Should we use it?
13:12
Microservices are Technical Debt
31:59
Просмотров 331 тыс.
Why is Clean Architecture so Popular?
11:52
Просмотров 49 тыс.
Hexagonal Architecture (All You Need to Know)
9:51
Просмотров 7 тыс.
Why Use Design Patterns When Python Has Functions?
23:23
Being Competent With Coding Is More Fun
11:13
Просмотров 81 тыс.