Popular

droidcon NYC 2017 - Reactive, Clean Architecture and Android Architecture Components..

Published on Oct 31, 2017 8,609 views

Reactive, Clean Architecture and Android Architecture Components, a solid formula for a MVVM based architecture.

Lucia Payo, N26

Reactive development that links long-lived objects with pure functions is hot for good reason. Clean architecture helps with the separation of concerns making our code unit testable and separated from the framework. The recently released Android Architecture Components, and more specifically, the LiveData and ViewModel, make it easy to connect to the framework. If we mix this three and add some sparks of Dagger on top we get a solid formula for a Model-View-ViewModel based architecture. The talk starts with a reminder of the characteristics any good architecture should have. This characteristics include: testability, separation of concerns, modularity, among some other good practices. The next step is to cover the three layers from clean architecture: - Data: This is the layer that keeps the entities. We’ll show how to create a fully reactive data layer that serves the entities in streams. - Domain: This is a connection layer that holds the business logic to create use cases. We’ll show how to make it stateless and 100% free of framework code. - Presentation: This is the layer where the new LiveData and ViewModel classes come into play. We will show how to transform the use cases from the domain layer into view specific models using the new android architecture components. The goal of the talk is to provide insights and guidelines on how to build a solid MVVM based reactive architecture. There will be links to meaningful resources that will cover the topics of the talk, like a GitHub example project and blog posts.

https://goo.gl/T5XGk4


droidcon NYC - http://droidcon.nyc
*********************************************
droidcon NYC has become an event where the American and International Android development and design community come together to share what’s new and what they’ve been working on. Our goal is to serve the community and move the Android platform forward.

Organized by droidcon - https://www.droidcon.com/
*********************************************
droidcon is the largest global network of developer conferences which bring together the industry's foremost experts dedicated to advancing the Android platform. droidcon engages a global network of over 25,000 developers attending our events in 26 countries.

Content by touchlab - http://touchlab.co
*********************************************
droidcon NYC content organized by Kevin Galligan, President of touchlab
Android and iOS Mobile App Development / Doppl Open Source Code Sharing Platform / Mobile Innovation Advisory / UIUX Design. Our goal is to keep growing our company by serving the community. Stop by our next meetup: https://www.meetup.com/nyandroiddevel...

Big thanks to our video sponsors:
American Express - https://jobs.americanexpress.com/tech
mParticle - https://www.mparticle.com/

Comments
  • Oussama Hafferssas
    Oussama Hafferssas Год назад One a of the cleanest Android architectures that I've ever seen, Thanks for sharing Lucia :)
  • Oussama abdallah
    Oussama abdallah Год назад Simple and straightforward talk. thank you Lucia
  • Dushyanth Maguluru
    Dushyanth Maguluru Год назад Thank you Lucia. Great talk!
  • cilveti
    cilveti Год назад This is really helpful
  • Jamie Kalloe
    Jamie Kalloe Год назад Wow great idea and presentation!
  • Stefano Gramantieri
    Stefano Gramantieri Год назад Very interesting and clear explanation!
  • Vladislav Bogdashkin
    Vladislav Bogdashkin Год назад Yeah, very nice idea!
  • Jose Alcérreca
    Jose Alcérreca 8 месяцев назад Great.