Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashawley/boner-2008
Cake Pattern in Scala
https://github.com/ashawley/boner-2008
cake-pattern scala
Last synced: about 2 months ago
JSON representation
Cake Pattern in Scala
- Host: GitHub
- URL: https://github.com/ashawley/boner-2008
- Owner: ashawley
- License: cc0-1.0
- Created: 2014-11-28T05:46:24.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T23:25:29.000Z (over 7 years ago)
- Last Synced: 2024-04-16T01:10:46.187Z (8 months ago)
- Topics: cake-pattern, scala
- Language: Scala
- Size: 9.77 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Dependency Injection
====================A blog post on the "Cake Pattern" by Jonas Boner
http://jonasboner.com/real-world-scala-dependency-injection-di/
Sample code
-----------* [User.scala](src/main/scala/com/jonasboner/User.scala)
* [CoffeePot.scala](src/main/scala/com/jonasboner/CoffeePot.scala)Unit test
---------* [UserSpec.scala](src/test/scala/com/jonasboner/UserSpec.scala)
* [CoffeePotSpec.scala](src/test/scala/com/jonasboner/CoffeePotSpec.scala)