Where do Presenter’s come from, and upcoming stuff

I had a good question on my Build a CAB series today.  “Where does the Presenter get instantiated?” 




  1. It depends. 


  2. For me, it’s always StructureMap instantiating a Presenter instance and filling it with its dependencies including the View.  Occasionally I’ll pass the View in via some sort of Start(IView) method.  Now, who calls StructureMap?  That’s a longer question that I’m going to try to address in the last couple chapters of Build a CAB.   

I don’t actually have true end-to-end code samples for Build a CAB unfortunately.  I’ll try to address that in the ApplicationShell topic.


I’ve been slow on posting the last week or so mostly out of writer’s block.  I’ve got a bunch of drafts but nothing remotely finished.  In no particular order, I’m working on:




  • A Gentle Introduction to StructureMap and Dependency Injection (request from Chad Myers.  I didn’t forget, I’m just slow)


  • 2 posts on MicroController for “Build a CAB”, including one on my crackpot data binding replacement scheme


  • Lessons Learned for Building a Fluent Interface in C# (another request)


  • An essay on the importance of feedback


  • Fit testing tips and tricks


  • I’ve been wanting to do a post on the Visitor and Composite patterns forever

 

About Jeremy Miller

Jeremy is the Chief Software Architect at Dovetail Software, the coolest ISV in Austin. Jeremy began his IT career writing "Shadow IT" applications to automate his engineering documentation, then wandered into software development because it looked like more fun. Jeremy is the author of the open source StructureMap tool for Dependency Injection with .Net, StoryTeller for supercharged acceptance testing in .Net, and one of the principal developers behind FubuMVC. Jeremy's thoughts on all things software can be found at The Shade Tree Developer at http://codebetter.com/jeremymiller.
This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • Geoffrey

    Hello Jeremy,

    do you have an example or draft for
    “Building an Application Shell — I’ve got 3-4 different examples of building an ApplicationShell/ApplicationController to handle navigation and screen coordination

  • http://community.hdri.net/blogs/chads_blog cmyers

    Jeremy: Could you send me the draft of what you have so far on the StructureMap stuff? I can probably figure the rest out and help you somehow (perhaps a ‘Getting started using StructureMap after having been corrupted by -some other IoC container-’ guide or some such)?

  • http://www.rzrsolutions.com Jon Parker

    Jeremy, look forward to something on Visitor and Composite, would like to see your take on the two…–jp