On a quest for the silver bullet..

» Currently browsing: Frameworks


Reflection and performance

Number of Comments » 3

The open source framework Glue that I’ve created, use a lot of reflection to invoke members on objects. This has sparked my interest in exploring the use of reflection in respect to performance. A colleague of mine, Åsmund Eldhuset, and I set aside an evening for a geeknight to get to the bottom of this, [...]

How I use the Glue mapping framework

Number of Comments » 3

Glue is a general purpose, bidirectional automatic mapping framework for the .Net platform, with strong verification and testing tools.
I’m actively developing it. I’m also actively using it. In this post I’ll share my experience as a user of Glue, and how easy it is to set up the mappings using TDD.
The example
We want to create [...]

Glue – the new mapping framework

Number of Comments » 6

I’ve spent this summer implementing a new mapping framework for the .Net plattform: Glue.
You’ll find examples and code here: http://glue.codeplex.com
Glue is a general purpose, bidirectional automatic mapping for the .Net platform, with strong verification and testing tools.
I’ve seen quite a lot of less than optimal handling of mapping issues in quite a few projects over [...]

ASP.NET MVC: DefaultControllerFactory is not thread safe!

Number of Comments » 1

I am not sure if this is a bug or a “feature” of the ASP.NET MVC framework. Either way, this is something you should be aware of as it can cause some very hard to track concurrency issues which might leak information between your HttpRequests.
In my last project we used the ASP.NET MVC framework along [...]

ASP.NET MVC: Let StructureMap create your controllers

Number of Comments » 4

For those of you already familiar with StructureMap and want to use it to configure your objects in ASP.NET MVC, read on.
The ASP.NET MVC framework has a default controller factory (DefaultControllerFactory) that requires all controllers to have a parameterless constructor. So, if you want to inject your dependencies to the constructor, you can’t do it. [...]

Why Microsoft should introduce compiler extensibility

Number of Comments » 1

At PDC08 I attended a presentation about “Contracts” (and Pex). “Contracts” is the result of the Spec# work. It is an attempt to enable Design by Contract (DbC) in .Net. Design by Contract is a concept popularized by Bertrand Meyer, and it is fully implemented and integrated in the language Eiffel.
Microsoft decided that DbC [...]

Prolog within Java

Number of Comments » 1

Last night I attended a meeting at my local java user group. The theme of the presentation was actually Prolog, and a Prolog-framework for Java was presented.
I enjoy learning different ways to solve (the same) problems,  and I strongly believe it is important to do that. Seeing other ways to solve common problems will help expand [...]

Naked Objects

Number of Comments » 1

The other day I came across “Naked Objects”. Put short, naked objects is a pattern and a framework built on that pattern.  The goal is to remove the need to develop a gui-layer. The gui is automatically generated based on your domain-objects at run-time.
This has several advantages (and ofcourse some drawbacks), but what got me interested is [...]