tdc2016poa | trilha arquitetura - onion architecture

Post on 10-Jan-2017

62 Views

Category:

Education

5 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Desvendando o Onion Architecture

Guilherme LacerdaWildtech - UniRitter

@guilhermeslac

Maurício AndreazzaCanoastec - UniRitter

@oandreazza

Guilherme Lacerda Maurício Andreazza

Quem somos?

OnionArchitecture?

LeanArchitecture?

CleanArchitecture?

Ports and

Adapters?

Hexagonal

Architecture?

Uncle Bob

Origens

Alistair Cockburn

Jeffrey Palermo Nat Pryce e

Steve Freeman

“A good architecture allows you to defer critical decisions like the UI,

frameworks, database, etc.”

MVC

Anatomia

Anatomia

Onion

Inversão de Dependência

DDD

Testabilidade

Manutenibilidade

Independência de UI, BD...

Benefícios

Alta Coesão,Baixo Acoplamento USar as ferramentas

como... ferramentas

SOLID na cabeça!

Smells

OverengineeringImplementação errada dos conceitos

Quebrar o RuleDependency

Exemplo 1https://github.com/oandreazza/onion-architecture-tdc

Exemplo 2https://github.com/guilhermeslacerda/CleanArchitectureExample

Links

http://alistair.cockburn.us/Hexagonal+architecture

https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html

http://jeffreypalermo.com/blog/the-onion-architecture-part-1/

http://martinfowler.com/eaaCatalog/separatedInterface.html

Principais Referências

Questões??

Obrigado!!

Guilherme LacerdaWildtech - UniRitter

@guilhermeslacwww.codingbyexample.org

Maurício AndreazzaCanoastec - UniRitter

@oandreazzablog.oandreazza.com

top related