The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Needle 0.9

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jamis Buck

Posts: 184
Nickname: minam
Registered: Oct, 2004

Jamis Buck is a C/Java software developer for BYU, and hacks in Ruby for fun.
Needle 0.9 Posted: Oct 28, 2004 12:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Jamis Buck.
Original Post: Needle 0.9
Feed Title: the buckblogs here
Feed URL: http://weblog.jamisbuck.org/blog.cgi/programming/index.rss
Feed Description: Jamis Buck's corner of the blogging universe. Mostly about ruby, but includes ramblings on a variety of topics.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Jamis Buck
Latest Posts From the buckblogs here

Advertisement

I released Needle 0.9 this morning. It is (hopefully) the last unstable release of Needle, with 1.0 being scheduled for unveilment next Thursday (the 4th of November).

One thing I’ve come to realize as I prepared for this latest release is something that Jim Weirich already pointed out in his now-famous DI article. Dependency Injection is a superset of Service Location. Thus, Needle is not only a DI container, it is also a service locator container.

In the current version of the Needle users manual, I devoted a chapter to this idea. Chapter 3 uses Needle as a service locator, and then Chapter 4 builds on that to show how dependency injection differs from it.

With Needle approaching maturity, it’s been exciting to see people sampling it. Even David Heinemeier Hansson (of Ruby on Rails fame) has expressed an interest to understand dependency injection better. He is looking for ways to decouple certain parts of the Rails framework, to make functional testing simpler. (After chatting with him, it looks like the service locator pattern is a better fit in Rails than full-blown dependency injection, but it was still an enlightening discussion.)

Read: Needle 0.9

Topic: They Do Things Differently Here in Munich Previous Topic   Next Topic Topic: Greetings from Munich - EuRuKo 2004 is starting right now

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use