README.md 3.2 KB
Newer Older
M
Markus 已提交
1 2 3 4
<!-- 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) -->

I
Ilkka Seppälä 已提交
5
# Design patterns implemented in Java
I
Ilkka Seppälä 已提交
6

I
Ilkka Seppälä 已提交
7
![Java CI with Maven](https://github.com/iluwatar/java-design-patterns/workflows/Java%20CI%20with%20Maven/badge.svg)
M
Markus Moser 已提交
8
[![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/iluwatar/java-design-patterns/master/LICENSE.md)
T
The Gitter Badger 已提交
9
[![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
I
Ilkka Seppälä 已提交
10
[![Sonarcloud Status](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=alert_status)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns) 
T
The Gitter Badger 已提交
11

12
# Introduction
13

S
saritchie 已提交
14
Design patterns are the best formalized practices a programmer can use to
15
solve common problems when designing an application or system.
16

17 18
Design patterns can speed up the development process by providing tested, proven
development paradigms.
19

20
Reusing design patterns help prevent subtle issues that cause major
21 22
problems, and it also improves code readability for coders and architects who
are familiar with the patterns.
23

24 25
# Getting started

I
Ilkka Seppälä 已提交
26 27 28 29 30 31 32
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.

33
Before you dive into the material, you should be familiar with various
I
Ilkka Seppälä 已提交
34
[Software Design Principles](https://java-design-patterns.com/principles/).
35

36 37 38 39 40
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.

I
Ilkka Seppälä 已提交
41 42 43
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
44

I
Ilkka Seppälä 已提交
45 46
 - 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`.
47
 - Using pattern categories, `Creational`, `Behavioral`, and others.
48

I
Ilkka Seppälä 已提交
49 50 51
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.

52
# How to contribute
53

I
Ilkka Seppälä 已提交
54 55 56
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).
57

58
# License
I
Ilkka Seppälä 已提交
59

J
joshzambales 已提交
60
This project is licensed under the terms of the MIT license.