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...
أقراء المزيد
Design Pattern
If you heard about the term separation of concerns , you could agree this concept is very important for making a system "clean". O...
أقراء المزيد
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...
أقراء المزيد
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...
أقراء المزيد
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...
أقراء المزيد
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...
أقراء المزيد