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

Data processing components architecture in mobi...

Data processing components architecture in mobile applications

This slides will briefly show you about 2 most used data access layer designs in mobile application

Avatar for vmalakhovskiy

vmalakhovskiy

October 31, 2015
Tweet

More Decks by vmalakhovskiy

Other Decks in Programming

Transcript

  1. Benefits: - you know what to do - code review

    - it saves your time - better code
  2. Active Record Instance - create - save - delete -

    findBy - validate - work - firstName - lastName
  3. Data Access Object or Data Mapper Data Mapper Instance Data

    Source Parser Application < CRUD > JSON Serializer JSON Object JSON Object Object
  4. Magic Mapper Mapper Repository Parser / Serializer Cloud Mapper Antenna

    Mapper Parser / Serializer Parser / Serializer
  5. 1. Martin Fowler - Presentation Domain Data Layering http://martinfowler.com/bliki/PresentationDomainDataLayering.html 2.

    Active Record vs. Data Mapper http://culttt.com/2014/06/18/whats-difference-active-record-data-mapper/ 3. The Clean Architecture http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html What to read?