Skip to content

Commit

Permalink
created project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielfs7 committed Aug 3, 2014
1 parent 45527b6 commit 440d994
Show file tree
Hide file tree
Showing 31 changed files with 56 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea*
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#Design Patterns#

Ao desenvolver software nos deparamos com diversos problemas, que, embora muitas vezes sejam de necessidades
distintas, possuem soluções comuns. Mas como saber qual solução "comum" usar para atender cada problema?
Foi para isso que surjiram os padrões de projeto!


# Quando falamos de engenharia de software, um "Design Pattern" ou Padrão de Projeto é:

* Uma solução repetível para um problema comum ao fazer o "design do software".
* É um "modelo" de "como resolver" um problema.
* Esta "solução" ou "modelo" poderá ser reutilizada em diversas situações diferentes.


# Qual o objetivo deste projeto?

Apresentaremos aqui pelo menos um exemplo de cada padrão de projeto essencial para desenvolver software nos dias de hoje.
Para isto, utilizaremos como linguagem de exemplo o PHP (pois é linguagem que mais uso no trabalho).

# Como estão separados os Design Patterns?

Os Design Patterns estão separados em 3 grandes grupos. Vamos conhecê-los:

* Creational (ou Criacional):
* Structural (ou estrutural):
* Behavioral (ou Comportamental):
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Chain of Responsibility - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Command/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Command - Design Patterns#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Interpreter - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Iterator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Iterator - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Mediator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Mediator - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Memento/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Memento - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/NullObject/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Null Object - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Observer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Observer - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Behavioral Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/State/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#State - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Strategy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Strategy - Design Patterns#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Template Method - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Behavioral/Visitor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Visitor - Design Patterns#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Abstract Factory - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Creational/Builder/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Builder - Design Patterns#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Factory Method - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Creational/ObjectPool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Object Pool - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Creational/Prototype/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Prototype - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Creational/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Creational Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Creational/Singleton/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Singleton - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Adapter/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Adapter - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Bridge/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Bridge - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Composite/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Composite - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Decorator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Decorator - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Facade/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Facade - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Flyweight/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Flyweight - Design Patterns#
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Private Class Data - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/Proxy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Proxy - Design Patterns#
1 change: 1 addition & 0 deletions src/GSoares/DesignPatterns/Structural/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#Structural Design Patterns#

0 comments on commit 440d994

Please sign in to comment.