Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: OO Design question: configuration

by stvn (Monsignor)
on May 21, 2007 at 17:15 UTC ( #616604=note: print w/replies, xml ) Need Help??


in reply to Re^2: OO Design question: configuration
in thread OO Design question: configuration

now it's more popularly called DI - Dependency Injection

Yeah, I had it called that originally, the it grew into a larger "Inversion of Control" framework with the Proxy objects and such. However, once I started actually using it in practice, I found I had little need for the proxies, but by then it was too late to change the name.

Plus, IOC was better as a namespace name, whereas DI is just kinda ugly :)

-stvn
  • Comment on Re^3: OO Design question: configuration

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://616604]
help
Chatterbox?
[marioroy]: choroba++, Discipulus++. It depends on the type of module. Data-type "only" modules are likely multi-process safe, re: Hash::Ordered, Tie::IxHash.
[marioroy]: ... when shared via MCE::Share-> share(...)
[marioroy]: Net type modules are likely not multi-process safe unless stated in the documentation.
[marioroy]: The Prima author fixed his module to be both thread and multi-process safe. Thanks Dmitry.
[marioroy]: Of all the GUI-type modules, Prima was the worst regarding thread/multi- process safety. Now, it's the best for safety. ;-)
[marioroy]: Tk, Gtk2, Gtk3 requires extra care.
[marioroy]: I was unable to run parallel with Win32::Console. Fortunately, running parallel behind Win32::API is possible.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2017-09-22 10:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (260 votes). Check out past polls.

    Notices?