Why your IoC container could be a pain for you, young Padawan

Inversion of Control (IoC) is a very good idea.

But as the clever Joel Spolsky  noted, sometimes you need to be a super-natural hero to use it:


I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people who aren’t as smart as they are. Everything makes perfect sense to them, so they have trouble understanding that many ordinary programmers will find the concepts confusing. It’s the curse of knowledge. The people who understand IoC containers have trouble believing that there are people who don’t understand it.

I have trouble using Spring in at least two projects. On the third, it was a disaster, because a single software-architect-guy keeps passing around the Spring context factory as method parameter, getting beans from it!

Continue reading “Why your IoC container could be a pain for you, young Padawan”

linqbridge – Re-implementation of LINQ to Objects for .NET Framework 2.0 – Google Project Hosting

LINQBridge is a re-implementation of all the standard query operators in Framework 3.5’s System.Linq.Enumerable class. It’s designed to work with the C# 3.0 compiler, as used by Visual Studio 2008. LINQBridge comprises a LINQ to Objects API for running local queries. (It doesn’t include an implementation of LINQ to SQL, nor LINQ to XML; a good compromise can be to force Framework 3.5 out to just the server machines, allowing LINQ to SQL to be used where it’s needed most).

via linqbridge – Re-implementation of LINQ to Objects for .NET Framework 2.0

There are a lot of legacy project out of there. Some customer will ask you to add a simple .NET 2.0 web service to a big application, and they will not switch to C# 3.5 for that.

So it is nice to know LINQ could be backported, also because the LINQBridge code can teach us a lot of things!

For Java Guys:
LambdaJ is a very good alternative to LINQ, and it rocks too!

Django is going 1.2

Django Project, a powerful and clean Python Web Framework, is going to relase 1.2 as  the next milestone at the beginning of March.
For the meanwhile, you can grab the Beta2:

As part of the Django 1.2 release process, tonight we’ve released Django 1.2 beta 1, a preview/testing package that gives a little taste of some of the new features coming in Django 1.2. As with all alpha and beta packages, this is not for production use, but if you’d like to try out some of the new goodies coming in 1.2, or if you’d like to pitch in and help us fix bugs before the final 1.2 release (due in April), feel free to grab a copy and give it a spin.

Looking at the release notes we get

  • Object-level permissions
  • Permissions for anonymous users

Development sprints for Django 1.2 will also be taking place at PyCon US 2010, on the dedicated sprint days (February 22 through 25).

If you can, it will worth to look at.

Web Testing Tools

Testing is important.

Testing web interfaces is difficult, and often your consultant company prefer to suggest you a manual-based testing.
But is it so difficult to do automatic web testing using open source software?

Let’s give a look to two nice web testing software

Warning: this article is still in progress: it has been published for getting comments all around.

Continue reading “Web Testing Tools”