Persistiendo que es gerundio (My Storing story)Jorge Juan Barroso Carmona
[email protected] @flipper83 +JorgeJBarroso
Android expert
Adam Tornhill
“Once out of bed, internet and apps are used almost constantly, peakin during the
daily commute with 70 percent usage.”Ericsson.
Traffic and Market Report, june 2012
Mem Cache“There are only two hard things in
Computer Science: cache invalidation and naming things.”
Phil Karlton
Mem Cache
“Use a repository to separate the logic that retrieves the data and maps it to the entity model from the business logic that
acts on the model. The business logic should be agnostic to the type of data that
comprises the data source layer. For example, the data source layer can be a
database, a SharePoint list, or a Web service.”
Msdn.
Client Business Logic
Data Mapper
Data Source
Query Object
Business Entity
Persist
Query
Business Entity Data
SourceData Mapper
Repository
Data Mapper
UsersRealmStorage
IQuery
UserApiModel
Persist
Query
User
UsersApiData Mapper
Repository
User
findById(id)
BibliographyThey’re the cracks!
Offline first. Alex Feyerke. May 2014. Webdirections Patterns of Enterprise Application Architecture. Martin Fowler Domain driven design. Eric J. Evans The Repository Pattern. Msdn Software design patterns. Pedro Vicente Gomez. Droidcon Spain 2013
Top Related