Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
dci.rb
persistence_appended_to_domain.rb
persistence_included_in_domain.rb
readme.md
repository_returning_hash.rb
repository_returning_objects.rb

readme.md

Domain / Persistence separation

Goals

  • business objects should not know about persistence
  • persistence should be plugged into the business rules
    • allowing for different implementations
    • this should be configurable

Solutions

each file contains some of the ides on the subject, containing domain and persistence classes as well as a small test