title: How do you do dependency injection with the Cake pattern without hardcoding?
body: <p>I just read and enjoyed <a href="http://jonasboner.com/real-world-scala-dependency-injection-di/" rel="noreferrer">the Cake pattern article</a>. However, to my mind, one of the key reasons to use dependency injection is that you can vary the components being used by either an XML file or command-line arguments.</p>
  
  <p>How is that aspect of DI handled with the Cake pattern? The examples I've seen all involve mixing traits in statically.</p>