Archive

Archive for February, 2012

Unleash your code with PostSharp

February 24th, 2012
Daniel Marbach

Currently, I have some spare time and wanted to play around with geeky stuff. The guys from sharpcrafters.com provided me a evaluation version of their tool PostSharp. PostSharp is a framework for aspect oriented programming in .NET. In short, aspect oriented programming helps you to remove unnecessary boiler plate code such as logging, transaction handling, exception handling and many more. The boiler plate code I’m talking about is also called cross-cutting concern because it cuts through your whole application. If you want to know more about aspect oriented programming I suggest you follow the links provided in this article. But now let’s dive into PostSharp.

read more

 

.NET, Software ,

ASP.NET Provider dependency injection with Ninject 3.0.0

February 8th, 2012
Remo Gloor

Unfortunately, ASP.NET providers like the MembershipProvider and RolesProvider aren’t designed for dependency injection. Many users have problems to assign dependencies to them. In this blog post I’ll show a way to how this can be done using Ninject.Web.Common 3.0.0. This solution works for MVC and WebForms. read more

 

.NET , , , ,

Easier JUnit testing with hamcrest

February 7th, 2012
Adrian Elsener

Have you ever thought that JUnit assertions are not really readable and do not correspond to natural language? It is a mess that the expected value is the first argument on an assert? This would not be like the spoken language where you would say “assert that this value is equal to this expected one” ? Or have you had tests where the expected value and the value to test were inverted? In this case you have not found an old friend of JUnit called hamcrest. read more

 

Java, Testing , ,

Why Pair-Programming Works

February 5th, 2012
Urs Enzler

Recently, I’ve given a short presentation about pair-programming and the stereotypes people show while pair-programming. As always when talking about pair-programming, there is a discussion how to sell it inside a team to peer developers or even worse to managers. Their killer argument is that two people in front of a single computer result in doubled effort needed to complete software.

Let my show you why this is wrong.

read more

 

Agile, Methodology ,

The future smells like JavaScript

February 2nd, 2012
Jonas Bandi

Of course I am only repeating what others are preaching about the recent rise of JavaScript.

But I think the movement is significant and can’t be overstated. And recent developments are really even making it more and more interesting.

Nobody can deny hat JavaScript is the de facto programming language of Html5. Every other language trying to bolt itself onto Html5 looks like pure friction so far. And Html5 is looking upon a prospering future. read more

 

Software