A place to keep my thoughts on programming

Tag Archives: IoC

Reproducing Promise IoC in C#

Another diversion before getting back to actual Promise language syntax description, this time trying to reproduce the Promise IoC syntax in C#. Using generics gets us a good ways there, but we do have to use a static method on … Continue reading

August 4, 2010 .net, geek , , ,

Promise: Building the repository pattern on the language IoC

Before I get into the code samples, I should point out one more "construction" caveat and change from my previous writing: Constructors don't have to be part of the Type. What does that mean? If you were to explictly declare … Continue reading

July 26, 2010 .net, geek, Promise , ,

Promise: IoC Type/Class mapping

Before I can get into mapping, I need to changed the way I defined getting an instance in Type and Class definition: Getting an instance in Promise, revisited When I talked about, I eluded to it being a call … Continue reading

July 19, 2010 .net, geek, Promise ,

Promise: Inversion of Control is the new garbage collection

Before continuing with additional forms of method defintions, I want to take a detour through the Inversion of Control facilities, since certain method resolution behavior relies on those facilities. IoC is one feature of Promise that is meant to not … Continue reading

July 17, 2010 .net, geek, Promise , , , , ,

Promise: Constructor revisionism

Only 3 posts into the definition of the language and already I'm changing previously published specs. Well, that's the way it goes. I'm currently writing the article about language level IoC which I eluded to previously, but the syntax effects … Continue reading

July 15, 2010 .net, geek, Promise ,

Ultimate Interface Segregation: Dependency injection by Delegate

I’ve been on a bit of a tear about declaring dependency contracts and injecting only what is required. While examining the use of Interfaces in IoC and their shortcomings, I decided that taken to the extreme, dependencies come down to … Continue reading

June 20, 2009 geek , , ,

DynamicProxy rocks!

Recently, I’ve had a need to create proxy objects in two unrelated projects. What they had in common was that they both dealt with .NET Remoting. In one it was traditional Remoting between machines, in the other working with multiple … Continue reading

October 2, 2007 .net, geek , , , ,