Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Architecture & Testing - Android developer's mantra (Codemotion Spain 2015)

Architecture & Testing - Android developer's mantra (Codemotion Spain 2015)

Slides used to facilitate the workshop.

An example of how to create an Android app from scratch taking care of Architecture and Testing.

All the instructions in order to follow the workshop and the source code can be found here:
https://github.com/Guardiola31337/codemotion-workshop

Pablo Guardiola

December 01, 2015
Tweet

More Decks by Pablo Guardiola

Other Decks in Programming

Transcript

  1. What is HEXAGONAL Architecture? "Allow an application to equally be

    driven by users, programs, automated test or batch scripts, and to be developed and tested in isolation from its eventual run-time devices and databases". - Alistair Cockburn
  2. Business Logic Events adapter In-memory events adapter Database adapter In-memory

    database adapter EVENTS PORT DATABASE PORT What is HEXAGONAL Architecture?
  3. REFERENCES Hexagonal Architecture - Fideloper (http://fideloper.com/hexagonal-architecture) Hexagonal architecture - Alistair

    Cockburn (http://alistair.cockburn.us/Hexagonal+architecture) The Clean Architecture - Uncle Bob (https://blog.8thlight.com/uncle-bob/2012/08/13/the-clean- architecture.html) What is Hexagonal Architecture? - Philip Brown (http://culttt.com/2014/12/31/hexagonal- architecture/) Ports-And-Adapters / Hexagonal Architecture (http://www.dossier-andreas.net/ software_architecture/ports_and_adapters.html)