This repository is for maintaing java code for all the design pattern articles written at codepumpkin.com
Design Patterns is general repeatable solution to a commonly occurring problem in software design. Design Patterns are divided into three main categories
Creational design patterns deal with the creation of object in the best possible way in the specific situation. Some of the creational design patterns are as follow:
- Singleton Design Pattern
- Factory Design Pattern
- Abstract Factory Design Pattern
- Builder Design Pattern
- Prototype Design Pattern
- Object Pool Design Pattern
Structural design patterns provide different ways to create class structure. Some of the structural design patterns are as follow:
- Bridge Design Pattern
- Facade Design Pattern
- Proxy Design Pattern
- Composite Design Pattern
- Decorator Design Pattern
- Adapter Design Pattern
Behavioral design patterns provide solution for the bettern interaction between objects and how to provide loose couplings and flexibility to extend. Some of the behavioral design patterns are as follow:
- Mediator Design Pattern
- Iterator Design Pattern
- Strategy Design Pattern
- Command Design Pattern
- Interpreter Design Pattern
- Observer Design Pattern
Apart from above mentoined three main types, There are some design patterns that deals with multi-threaded programming paradigm. Those are known as Concurrency Design Patterns. Some of the concurrency design patterns are as follow:
- Producer Consumer Design Pattern
- Leaders/followers pattern
- Read write lock pattern
- Balking pattern
- Scheduler pattern
- Thread pool pattern
- Barrier pattern
- Double-checked locking
- Guarded suspension pattern
- Reactor pattern
CodePumpkin is a blog that will help you to learn and refresh your knowledge on Core Java, Data Structures, algorithms and Design Patterns.
CodePumpkin is more like a Java Community where people can share their articles or interview experiences and become a CodePumpkin Contributor (Pumpkin, is what we call us).
In align with our goal of making learning happy, we started this contributor-ship on our blog. If you would also like to contribute your article or share interview experiences, you can create contributor account with CodePumpkin by clicking here. Once you register with us, you can start immediately to contribute to the posts.
The process will be as below:
-
You can check out our Publish Guideline section to learn how you can add articles.
-
Choose a topic on which you want to contribute
-
The Articles contributed will be reviewed by us and if passes our criteria, we will post it on our blog with your name as author.
-
Cool..!! Your article is on our blog with your name on it. bingo!!!
Have questions? Have feedback/suggestions? Get in touch with us via Facebook or Twitter or email to us.
Keep Sharing, Keep Learning..!! :)
Regards, Team Code Pumpkin
Learn and Share! Support Eco-Friendly Environment by Digital Learning.