Slide 1

Slide 1 text

Clean architecture: Decision making

Slide 2

Slide 2 text

@AdamHarazim @ortiOficial

Slide 3

Slide 3 text

Team Android

Slide 4

Slide 4 text

Agenda 1. What is it 2. Forget the Framework! 3. Examples

Slide 5

Slide 5 text

What is it?

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

• Hexagonal architecture • Onion software • Screaming architecture - Fixed rules - Specific rules - Silver bullet

Slide 8

Slide 8 text

• Independent from libraries • Testability • Flexibility • Scalability • Separation of concerns • Dependency management • Code & model replication + mappers • Overengineering

Slide 9

Slide 9 text

Forget the Framework!

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

Screaming architecture – Android

Slide 12

Slide 12 text

Screaming architecture – clean architecture

Slide 13

Slide 13 text

Screaming architecture – our solution

Slide 14

Slide 14 text

Screaming architecture – our solution

Slide 15

Slide 15 text

Examples

Slide 16

Slide 16 text

MVVM

Slide 17

Slide 17 text

MVVM - Testing

Slide 18

Slide 18 text

Repositories

Slide 19

Slide 19 text

Sum up • No silver bullets • Write code for your colleages, not for the machine • Do not overengineer

Slide 20

Slide 20 text

Resources https://8thlight.com/blog/uncle-bob/2011/09/30/Screaming-Architecture.html https://8thlight.com/blog/uncle-bob/2012/08/13/the-clean-architecture.html http://tech.trivago.com/2017/01/30/reportoire-the-journey-to-data-source-independency/

Slide 21

Slide 21 text

Thank you!