Practical Inversion Of Control

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Notes on slide 1

    SLOW DOWN BIG GUY About me mhinze.com Why I am giving this talk

    1 Favorite

    Practical Inversion Of Control - Presentation Transcript

    1. Practical Inversion Of Control Matt Hinze
    2. Agenda
      • What is this talk about
      • The what and why of IOC
      • How to do it
      • Usage scenarios
      • ?
    3. EmailSender
    4. WorkflowStepper
    5.  
    6.  
    7. new
    8. Relationship is set at compile time.
    9. new isn’t always viable.
    10.  
      • Inversion of Control
        • A concept
        • Relinquishing the responsibility of managing dependencies.
      • Dependency Injection
        • A pattern
        • Constructor injection
        • Property injection
    11.  
    12.  
    13.  
    14.  
    15.  
    16.  
    17.  
    18. There is no new
    19. Some Benefits Enumerated
      • Testing
      • Reuse
      • Simplicity
      • Construction velocity
      • Fun
      • Don’t use the tool where you don’t need it, in most tests for example.
      • Think of the tool as a “composer” instead of a “container”; minimize entry points.
      • Prefer constructor injection.
      • Try to avoid “contextual binding”; avoid magic strings; favor convention over configuration.
    20. Useful Resources
      • StructureMap documentation
      • Autofac documentation
      • Martin Fowler
      • Jeremy Miller
      • Tool-specific mailing lists
    21.  
    22. For More
      • I teach a course in which we do this stuff for three days.
      • We build features in a real system using agile principles and the tools that enable them.
      • For more information: http://www.headspringsystems.com/training/

    + mhinzemhinze, 9 months ago

    custom

    564 views, 1 favs, 2 embeds more stats

    Slides from a talk by Matt Hinze at the Austin .NET more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 564
      • 428 on SlideShare
      • 136 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds
    • 135 views on http://mhinze.com
    • 1 views on http://feeds2.feedburner.com

    more

    All embeds
    • 135 views on http://mhinze.com
    • 1 views on http://feeds2.feedburner.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories