How to answer the OR/M Challenge?

time to read 2 min | 393 words

Rob Conery's OR/M challenge leaves me with a problem. No, it is not that I can't do that, it is that I am not sure how to answer it. The situation is complex because I want to show the entire application, otherwise we are just doing simple data access, and that has very little meaning on its own. The concept that I have in my head is an MVC application, with most of the focus on the controllers and the data access.

The idea is to produce a Hibernating Rhinos screen cast showing how to solve it (actually, it would be two at least, since that is a big issue, I want to cover building the model first, and then, in a second episode, performance tricks).

The problem is choosing how to do, because MVC means UI, and I don't want to show the UI, people will focus on that instead of on the real issues. I thought about:

  • Doing it on the console, but that necessitate an MVC for the console. This probably means another episode, talking just about that. It is an interesting topic, because it is about using MVC in the abstract. The good thing here is that showing the SQL that certain actions causes is really easy, we just log it to the console. And of course, no UI to try to focus on.
  • Using MonoRail  - that would make my life easier, but I am afraid it would increase the barrier to understanding. On the other hand, it would be a fairly advance MonoRail screen cast, so there is good here also.
  • Using WinForms - still, would need to build an MVC on top of WinForms, and I don't really feel like doing that.
  • Using WebForms - you can't do MVC in Web Forms, and I don't feel like fighting it to get things done. However, I do have an existing framework (Rhino Igloo) to make it less painful, and it would be a good chance to show that out as well.

Your call, use the poll on the left (you may need to visit the web site for this if you are reading on RSS) or leave a comment.