Skip to content

Instantly share code, notes, and snippets.

@aappddeevv
Last active June 17, 2024 14:36
Show Gist options
  • Select an option

  • Save aappddeevv/8509607 to your computer and use it in GitHub Desktop.

Select an option

Save aappddeevv/8509607 to your computer and use it in GitHub Desktop.
scala, cake pattern, service, DAO, Reader, scalaz, spring, dependency inejection (DI)

#The Problem We just described standard design issues you have when you start creating layers of services, DAOs and other components to implement an application. That gist is here.

#Working through Layers If you compose services and DAOs the normal way, you typically get imperative style objects. For example, imagine the following:


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment