2015-08-20 21:40:07 +02:00
<!-- the line below needs to be an empty line C: (its because kramdown isnt
that smart and dearly wants an empty line before a heading to be able to
display it as such, e.g. website) -->
2015-12-28 20:09:53 +02:00
# Design patterns implemented in Java
2014-08-09 20:44:21 +03:00
2020-06-14 17:48:42 +03:00

2016-04-24 12:25:05 +02:00
[](https://raw.githubusercontent.com/iluwatar/java-design-patterns/master/LICENSE.md)
2015-08-11 19:33:28 +00:00
[](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge& utm_medium=badge& utm_campaign=pr-badge& utm_content=badge)
2019-08-21 21:47:36 +03:00
[](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
2015-08-11 19:33:28 +00:00
2015-09-06 19:33:56 +02:00
# Introduction
2015-03-31 19:43:35 +03:00
2019-04-06 22:41:35 -07:00
Design patterns are the best formalized practices a programmer can use to
2015-08-07 10:29:09 -03:00
solve common problems when designing an application or system.
2015-03-31 19:43:35 +03:00
2015-08-07 10:29:09 -03:00
Design patterns can speed up the development process by providing tested, proven
development paradigms.
2015-03-31 19:43:35 +03:00
2019-10-20 22:21:48 +02:00
Reusing design patterns help prevent subtle issues that cause major
2015-08-07 10:29:09 -03:00
problems, and it also improves code readability for coders and architects who
are familiar with the patterns.
2015-03-31 19:43:35 +03:00
2015-09-08 12:49:54 +05:30
# Getting started
2019-10-18 23:09:27 +03:00
This site showcases Java Design Patterns. The solutions have been developed by
experienced programmers and architects from the open source community. The
patterns can be browsed by their high level descriptions or by looking at their
source code. The source code examples are well commented and can be thought as
programming tutorials how to implement a specific pattern. We use the most
popular battle-proven open source Java technologies.
2015-10-03 13:02:46 -03:00
Before you dive into the material, you should be familiar with various
2020-07-25 14:28:43 +03:00
[Software Design Principles ](https://java-design-patterns.com/principles/ ).
2015-09-11 13:51:44 +05:30
2015-10-03 13:02:46 -03:00
All designs should be as simple as possible. You should start with KISS, YAGNI,
and Do The Simplest Thing That Could Possibly Work principles. Complexity and
patterns should only be introduced when they are needed for practical
extensibility.
2020-07-25 14:28:43 +03:00
Once you are familiar with these concepts you can start drilling down into the
[available design patterns ](https://java-design-patterns.com/patterns/ ) by any
of the following approaches
2015-09-11 13:51:44 +05:30
2020-07-25 14:28:43 +03:00
- Search for a specific pattern by name. Can't find one? Please report a new pattern [here ](https://github.com/iluwatar/java-design-patterns/issues ).
- Using tags such as `Performance` , `Gang of Four` or `Data access` .
2019-10-20 22:21:48 +02:00
- Using pattern categories, `Creational` , `Behavioral` , and others.
2015-09-08 12:49:54 +05:30
2019-10-18 23:09:27 +03:00
Hopefully you find the object oriented solutions presented on this site useful
in your architectures and have as much fun learning them as we had developing them.
2015-09-06 19:33:56 +02:00
# How to contribute
2015-08-30 16:00:06 +03:00
2019-10-18 23:09:27 +03:00
If you are willing to contribute to the project you will find the relevant information in
our [developer wiki ](https://github.com/iluwatar/java-design-patterns/wiki ). We will help
you and answer your questions in the [Gitter chatroom ](https://gitter.im/iluwatar/java-design-patterns ).
2015-08-30 16:00:06 +03:00
2015-09-06 19:33:56 +02:00
# License
2014-09-07 15:56:09 +03:00
2015-04-03 22:27:32 +08:00
This project is licensed under the terms of the MIT license.