diff --git a/README.md b/README.md index 85a7aa1bf..358dfa3f3 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,30 @@ # Design pattern samples in Java. -## Build status, coverage and static analysis: - ![Build status](https://travis-ci.org/iluwatar/java-design-patterns.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/iluwatar/java-design-patterns/badge.svg?branch=master)](https://coveralls.io/r/iluwatar/java-design-patterns?branch=master) Coverity Scan Build Status -## Introduction + + - Introduction + - List of Design Patterns + - Creational Patterns + - Structural Patterns + - Behavioral Patterns + - Concurrency Patterns + - Presentation Tier Patterns + - Business Tier Patterns + - Architectural Patterns + - Integration Patterns + - Idioms + - Frequently Asked Questions + - How to contribute + - Versioning + - Credits + - License + + +## Introduction Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system. @@ -19,9 +36,9 @@ Reusing design patterns helps to prevent subtle issues that can cause major problems, and it also improves code readability for coders and architects who are familiar with the patterns. -## List of Design Patterns +## List of Design Patterns [↑](#top) -### Creational Patterns +### Creational Patterns [↑](#top) Creational design patterns abstract the instantiation process. They help make a system independent of how its objects are created, composed, and represented. @@ -36,7 +53,7 @@ system independent of how its objects are created, composed, and represented. * [Multiton](#multiton) * [Object Pool](#object-pool) -### Structural Patterns +### Structural Patterns [↑](#top) Structural patterns are concerned with how classes and objects are composed to form larger structures. @@ -52,7 +69,7 @@ form larger structures. * [Servant](#servant) * [Event Aggregator](#event-aggregator) -### Behavioral Patterns +### Behavioral Patterns [↑](#top) Behavioral patterns are concerned with algorithms and the assignment of responsibilities between objects. @@ -73,7 +90,7 @@ responsibilities between objects. * [Specification](#specification) * [Dependency Injection](#dependency-injection) -### Concurrency Patterns +### Concurrency Patterns [↑](#top) Concurrency patterns are those types of design patterns that deal with the multi-threaded programming paradigm. @@ -83,7 +100,7 @@ multi-threaded programming paradigm. * [Async Method Invocation](#async-method-invocation) * [Half-Sync/Half-Async](#half-sync-half-async) -### Presentation Tier Patterns +### Presentation Tier Patterns [↑](#top) Presentation Tier patterns are the top-most level of the application, this is concerned with translating tasks and results to something the user can @@ -94,11 +111,11 @@ understand. * [Flux](#flux) * [Front Controller](#front-controller) -### Business Tier Patterns +### Business Tier Patterns [↑](#top) * [Business Delegate](#business-delegate) -### Architectural Patterns +### Architectural Patterns [↑](#top) An architectural pattern is a general, reusable solution to a commonly occurring problem in software architecture within a given context. @@ -108,14 +125,14 @@ problem in software architecture within a given context. * [Naked Objects](#naked-objects) * [Repository](#repository) -### Integration Patterns +### Integration Patterns [↑](#top) Integration patterns are concerned with how software applications communicate and exchange data. * [Tolerant Reader](#tolerant-reader) -### Idioms +### Idioms [↑](#top) A programming idiom is a means of expressing a recurring construct in one or more programming languages. Generally speaking, a programming idiom is an @@ -891,7 +908,7 @@ degrading execution efficiency. * [Real Time CORBA](http://www.omg.org/news/meetings/workshops/presentations/realtime2001/4-3_Pyarali_thread-pool.pdf) * [Android AsyncTask framework](http://developer.android.com/reference/android/os/AsyncTask.html) -# Frequently asked questions +# Frequently asked questions [↑](#top) **Q: What is the difference between State and Strategy patterns?** @@ -951,7 +968,7 @@ Flyweight. -# How to contribute +# How to contribute [↑](#top) **To work on a new pattern** you need to do the following steps: @@ -989,7 +1006,7 @@ Flyweight. should be added to the corresponding section of the `README.md`. -# Versioning +# Versioning [↑](#top) Java-design-patterns project uses [semantic versioning](http://semver.org/) scheme. However, version numbers in this project do not signify binary releases @@ -997,7 +1014,7 @@ scheme. However, version numbers in this project do not signify binary releases other words, version numbers are used only for project planning sake. -# Credits +# Credits [↑](#top) * [Design Patterns: Elements of Reusable Object-Oriented Software](http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/dp/0201633612) * [Effective Java (2nd Edition)](http://www.amazon.com/Effective-Java-Edition-Joshua-Bloch/dp/0321356683) @@ -1020,6 +1037,6 @@ other words, version numbers are used only for project planning sake. * [Marco Castigliego - Step Builder](http://rdafbn.blogspot.co.uk/2012/07/step-builder-pattern_28.html) -# License +# License [↑](#top) This project is licensed under the terms of the MIT license.