J
Jamis Buck
Copland is an IoC container for Ruby, similar to Hivemind in implementation.
This latest release (0.3.0) includes better thread support, with a new
interceptor that you can use to make your non-thread-safe classes
thread-safe: the SynchronizingInterceptor. Internally, Copland now uses
mutexes strategically to improve it's own thread-safety.
Version 0.3.0 also adds support for configuring the built-in logging
infrastructure, improves the granularity of interceptors (so you can
specify that only certain methods should be intercepted), and adds two
new services to enable remote access to your own services via either
dRuby or SOAP.
The documentation has been completely reworked. There is now a "Copland
Manual", avaialble at http://copland.rubyforge.org, which will hopefully
give a better overview of IoC, as well as of Copland itself. I've tried
to incorporate the suggestions I've recieved, so any feedback on how
useful (or not useful) the new documentation is would be wonderful.
It is available as a gem (and will hopefully be remote-installable in
the near future--just a matter of giving Chad time to update the gem
repository). Simply type:
gem --remote-install copland
You can download either the gem, or the .tar.gz source package (which
includes a setup.rb script) from the Copland RubyForge page, at
http://rubyforge.org/projects/copland
The mailing lists, forums, bug tracker, and feature request tracker are
all active on Copland's RubyForge project, so feel free to make use of them.
Enjoy!
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
ruby -h | ruby -e
'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a <<
r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'
This latest release (0.3.0) includes better thread support, with a new
interceptor that you can use to make your non-thread-safe classes
thread-safe: the SynchronizingInterceptor. Internally, Copland now uses
mutexes strategically to improve it's own thread-safety.
Version 0.3.0 also adds support for configuring the built-in logging
infrastructure, improves the granularity of interceptors (so you can
specify that only certain methods should be intercepted), and adds two
new services to enable remote access to your own services via either
dRuby or SOAP.
The documentation has been completely reworked. There is now a "Copland
Manual", avaialble at http://copland.rubyforge.org, which will hopefully
give a better overview of IoC, as well as of Copland itself. I've tried
to incorporate the suggestions I've recieved, so any feedback on how
useful (or not useful) the new documentation is would be wonderful.
It is available as a gem (and will hopefully be remote-installable in
the near future--just a matter of giving Chad time to update the gem
repository). Simply type:
gem --remote-install copland
You can download either the gem, or the .tar.gz source package (which
includes a setup.rb script) from the Copland RubyForge page, at
http://rubyforge.org/projects/copland
The mailing lists, forums, bug tracker, and feature request tracker are
all active on Copland's RubyForge project, so feel free to make use of them.
Enjoy!
--
Jamis Buck
(e-mail address removed)
http://www.jamisbuck.org/jamis
ruby -h | ruby -e
'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a <<
r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'