This project is read-only.

Fadd and IOC

Sep 15, 2009 at 1:43 PM

I woudl like to see the IOC engine to be replaceable.

This is quite easy to do by creating an interface and implementation.

Normally its just called IOC.

This would allow the Castle IOC to be used, and hence use NHibernate and the other Facilities and Services that Castle.

It shoudl be quite easy to do i think, because Castle does not depend on the Windows .NET stack specicalised aspects i believe.

 

Ged

Sep 15, 2009 at 1:47 PM

In addition, an IServer Context woudl be great to wrap the httpServer context.

This woudl be similar to the IhttpContext available in Windows.

The IOC layer woudl then allow different parts of the IServerContext to be delivered.
For example you coudl then swap out the Session, Authentication or Templating engine easily under the hood.

It woudl also remove alot of duplicate code higher up for people write MVC applications on top of this framework.

It woudl also make the core much tighter and of course testable.

 

any thoughts ?

 

Ged