O'Reilly Open Source Convention - August 1-5, 2005 - Portland, Oregon
 Convention Coverage

Session

Dependency Injection: Vitally Important or Completely Irrelevant?
Jim Weirich, Consultant, Compuware

Track: Ruby
Date: Thursday, August 4th, 2005
Time: 4:30pm - 5:15pm
Location: E143-144

The Dependency Injection Pattern (also known as Inversion of Control) is a technique to reduce the amount of coupling in a program. Since reduced coupling is a noble goal of software develpers everywhere, dependency injection is an important technique to know. The Java community has seen numerous frameworks built around dependency injection and inversion of control (e.g. Hivemind, Spring, Pico Containers). But programs written in a dynamically typed language already fairly decoupled compared to programs written in stiffly typed langauges. Is dependency injection still important in a language like Ruby, or is it yet another technique from the Java world that has no place in the dynamic world of Ruby programming? We will look at basics of dependency injection and develop a simple dependency injection framework in Ruby. We will compare the framework to other decoupling techniques.


Download presentation file


Diamond Sponsors

Computer Associates International Inc., (CA)
Hewlett Packard
SpikeSource
Sun Microsystems

Platinum Sponsors

Novell, Inc.

Gold Sponsors

ActiveState
IBM
Ticketmaster

Silver Sponsors

ActiveGrid
Alfresco
Black Duck Software
CollabNet
Covalent Technologies
Google
GroundWork Open Source Solutions
Intel Corporation
Mergere, Inc.
Microsoft
Oracle
Palamida
SourceLabs
SugarCRM
Yahoo! Inc.
Zend Technologies, Inc.

Media Sponsors

boing boing
C/C++ Users Journal
DevtownStation News
Digital ID World
Enterprise Open Source Journal
Free Software Magazine
InsideMac Radio
Integration Developer News
Linux Journal
LinuxQuestions.org
Open Enterprise Trends
Queue
SDForum
Software Association of Oregon
Version Tracker
Wi-Fi Technology Forum
Women's Technology Cluster
WorldWIT

In-Kind Sponsors

Dell Inc.
Gibson
Griffin Technology
Harman Multimedia
Smugmug

Sponsors

OSCON 2005 Sponsor Opportunities — Email us at

Download the OSCON 05 Sponsor/Exhibitor Prospectus

OSCON 2005 Media Sponsor Opportunities — Call Margi Levin at 707-827-7184 or email at

Press and Media

For media-related inquiries, contact Suzanne Axtell at

Conference News

Want to receive conference news? Sign up for our email newsletter.

O'Reilly Home | Privacy Policy

© 2005, O'Reilly Media, Inc.