-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:manoelcampos/padroes-projetos
- Loading branch information
Showing
24 changed files
with
33 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= Modelagem do Padrão Strategy (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/comportamentais/strategy/modelagem/[zip]) | ||
= Modelagem do Padrão Strategy (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/comportamentais/01-strategy/modelagem/[zip]) | ||
|
||
Apresenta um código de exemplo da modelagem do padrão Strategy. | ||
Tal código serve apenas de base para implementação de uma solução específica utilizando o padrão. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
comportamentais/02-template-method/retorno-boleto-template-funcional/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
comportamentais/02-template-method/retorno-boleto-template/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
criacionais/01-simple-factory/exportador-simple-factory-reflection/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
criacionais/01-simple-factory/exportador-simple-factory/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
:imagesdir: ../../../images/patterns/criacionais | ||
:source-highlighter: highlightjs | ||
|
||
= Exportação de lista de produtos em diferentes formatos (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/simple-factory/exportador-simple-factory[zip]) | ||
= Exportação de lista de produtos em diferentes formatos (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/01-simple-factory/exportador-simple-factory[zip]) | ||
|
||
Este é um projeto que implementa a exportação de dados de uma lista de produtos para formatos como HTML e Markdown (extensão .md). | ||
Ela é uma versão introdutória bastante limitada, pois só trabalha com lista de produtos. | ||
Para exportar uma lista de outro tipo de objeto, seria necessário implementar novas classes, | ||
não sendo uma solução viável. | ||
|
||
.Diagrama de classes para implementação do exportador de lista de produtos para HTML e Markdown. | ||
image::exportador-simple-factory.png[] | ||
image::exportador-simple-factory.png[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= Modelagem do Padrão Simple Factory (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/simple-factory/modelagem/[zip]) | ||
= Modelagem do Padrão Simple Factory (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/01-simple-factory/modelagem/[zip]) | ||
|
||
Apresenta um código de exemplo da modelagem do padrão Simple Factory. | ||
Tal código serve apenas de base para implementação de uma solução específica utilizando o padrão. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. |
2 changes: 1 addition & 1 deletion
2
criacionais/01-simple-factory/retorno-boleto-simple-factory-dynamic/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
criacionais/02-factory-method/exportador-problematico-generic/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= Modelagem do Padrão Factory Method (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/factory-method/modelagem/[zip]) | ||
= Modelagem do Padrão Factory Method (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/02-factory-method/modelagem/[zip]) | ||
|
||
Apresenta um código de exemplo da modelagem do padrão Factory Method. | ||
Tal código serve apenas de base para implementação de uma solução específica utilizando o padrão. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
= Mostra como usar o padrão Singleton com Spring (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/singleton/config-singleton-spring[zip]) | ||
= Mostra como usar o padrão Singleton com Spring (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/03-singleton/config-singleton-spring[zip]) | ||
|
||
Projeto em Spring Boot que mostra como podemos usar objetos singleton de forma automática (usando apenas anotações) em um controller REST. | ||
Projeto em Spring Boot que mostra como podemos usar objetos singleton de forma automática (usando apenas anotações) em um controller REST. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
= Modelagem do Padrão Singleton (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/singleton/modelagem/[zip]) | ||
= Modelagem do Padrão Singleton (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/criacionais/03-singleton/modelagem/[zip]) | ||
|
||
Apresenta um projeto de exemplo da modelagem do padrão Singleton. | ||
Apresenta um projeto de exemplo da modelagem do padrão Singleton. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
estruturais/01-adapter/cepservice-clients-adapter-spring-v2-automatico/README.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
:imagesdir: ../../../images/patterns/estruturais | ||
|
||
= Modelagem do Padrão Adapter (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/estruturais/adapter/modelagem/[zip]) | ||
= Modelagem do Padrão Adapter (link:https://kinolien.github.io/gitzip/?download=/manoelcampos/padroes-projetos/tree/master/estruturais/01-adapter/modelagem/[zip]) | ||
|
||
Apresenta um código de exemplo da modelagem do padrão Adapter. | ||
Tal código serve apenas de base para implementação de uma solução específica utilizando o padrão. | ||
Assim, nomes de classes, métodos e atributos precisam ser alterados para nomes específicos. | ||
|
||
.Modelagem do padrão adapter | ||
image::adapter.png[] | ||
image::adapter.png[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters