القائمة الرئيسية

الصفحات

Design Pattern

Template Method Pattern: Don't Call Us, We'll Call You!
Emirates Schools مدرستي الاماراتية 15 July 2017
So far, the Template Method has been my most used design pattern. That is the reason why this post is quite long. J Definition from Wiki The...
أقراء المزيد
Make Our Code More Testable with Proxy Design Pattern
Emirates Schools مدرستي الاماراتية 14 May 2017
If you heard about the term separation of concerns , you could agree this concept is very important for making a system "clean". O...
أقراء المزيد
Separate Constructing a System from Using It
Emirates Schools مدرستي الاماراتية 07 May 2017
I n the real world, in order to use a building (hotel, supermarket, etc) we need to construct it first. This concern should be applied for...
أقراء المزيد
Building a Wizard with Chain of Responsibility Pattern
Emirates Schools مدرستي الاماراتية 13 November 2016
What is the Idea? We want to create a page that there are some steps and each step has its own business. Users are able to click on a step a...
أقراء المزيد
Changing source code at run-time with Service Locator pattern
Emirates Schools مدرستي الاماراتية 29 May 2016
I have a service to get some data but the result can be different basing on where the implementation is. Technically, I have two or more con...
أقراء المزيد
Strategy Design Pattern
Emirates Schools مدرستي الاماراتية 16 September 2015
For example, I have an program with an Animal abstract class and two sub-classes Dog and Bird. I want to add a new behavior for the class An...
أقراء المزيد