Composite Design Pattern

preview_player
Показать описание
In this video we will discuss
1. What is Composite Design Pattern
2. Implementation Guidelines of Composite design pattern
3. Simple example for composite design pattern

Healthy diet is very important for both body and mind. We want to inspire you to cook and eat healthy. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking.

Composite Design Pattern : As per the GOF definition, the Composite Pattern, "Compose objects into tree structures to represent part-whole hierarchies. Composite let clients treat individual objects and compositions of objects uniformly.

This means, the composite pattern describes a group of objects that is treated the same way as a single instance of the same type of object.

Implementation Guidelines : We need to Choose Composite Design Pattern when
1. Represent part-whole hierarchies of objects.

2. Clients to ignore the difference between compositions of objects and individual objects.

Text version of the video

Slides

Design Patterns Tutorial playlist

Design Patterns Text articles and slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic
Рекомендации по теме
Комментарии
Автор

Pretty good explanation. Please make more and more videos like this

HarshaVardhan-kzik
Автор

Hi, iam looking for your blog.what is the link of it.

sagarpaul
Автор

@ 2:44 : It dosn't violate Liskov substitution principle, but violates Interface segregation principle

manojpasumarthi
Автор

This isn't the guy I expected. Where's the other guy?

Tall-Cool-Drink