كل مايخص الحاسوب والبرامج (كمبيوتر -اندرويد) برمجة وغيرها
الذهاب إلى القناة على Telegram
1 258
المشتركون
لا توجد بيانات24 ساعات
+77 أيام
-830 أيام
أرشيف المشاركات
When the state inside an object changes, it can not
change its behavior by switching to a set of different
operations
................... can be seen as a dynamic version
of the Strategy pattern.
Strategy pattern allows an object to alter its behavior dynamically
according to its internal state.
.A Strategy defines a set of algorithms that can be used
interchangeably.
The Decorator patterns capture ways of expressing the
division of operations between classes and optimize how the
communication should be handled
The operations that make up a single algorithm might be split
up between different classes, making a complex arrangement
that is difficult to manage and maintain.
..................are concerned with algorithms and
communication between them.
The proxy is often a small (public) object that stands in for a more
complex (private) object that is activated once certain circumstances are clear.
.................supports objects that control the creation of and access to
other objects
There are several kinds of proxies except:
•The role of the .............. pattern is to provide a way of attaching new
state and behavior to an object dynamically.
In Adapter Pattern alterations to the original code are required.
..............pattern is a versatile(many ways of use ) pattern that joins together types
that were not designed to work with each other.
Adapter defines a higher-level interface that makes the subsystem
easier to use
Provide a unified interface to a set of interfaces in a subsystem
............includes Abstract Factory, Singleton ,Double-Checked Locking and
Factory Method
............The purpose of this type is to Give a way to manifest
flexible (varying) behavior ,this type is a strategy .It is used for containing
variation.
Bridge and Decorator used for relating implementation with abstraction.
