Using Design patterns is one of the core element in making any application design robust and scalable.
I will give in this article few examples which are quite generic and useful for most of web development, These are my favorites and this one is quite challenging skill for any architect/developer to bring best design pattern in the application development. But few patterns are not very complex which can be discussed and may be few references I can mention to understand more about it.
One of my favorite pattern is strategy pattern. As shown below just there many features which can be selected based on the Execute strategy inputs. There are many other patterns are very useful in apps like singleton or facade. or factory.. and others. I need to start with some thing. One interesting example when I am learning this design pattern is one of Ecommerce product has a folder. If we move any code in that folder ex show recommendations function to that folder it will appear in that ecommerce site that particular feature.
As it is open source product I could go though implementation and finally saw the following code implementation but done exceptionally well.