Another day at DevDays 2008. Everyone could definately feel the previous day in our bones but we weren’t any less excited. I was forced to skip a session because I was about to fall down but hey, you win some, you lose some.
ASP.NET MVC Framework by Alex Thissen
The ASP.NET MVC Framework is Microsoft’s implementation of the well-known and widely-used MVC pattern, used amongst others by Ruby on Rails and Java Swing. In my opinion, it is the way to go for future web development, but opinions differ. One of the most-heard peeves against the MVC Framework is to do with Views. The MVC Framework does not use the existing post-back model, does not support view-state and no page lifecycle in its views. That means that you’ll need to do more manual work in your views. In essence MVC uses the classic ASP model. I for one like this development but I can imagine hardcore web developers not liking the additional work. According to Scott Guthrie the MVC team will provide us with MVC-aware controls sometime in the future.
Speaking of Scott, the best place to start exploring the MVC Framework is his 4-part tutorial, which can be found here:
- ASP.NET MVC Framework (Part 1)
- ASP.NET MVC Framework (Part 2): URL Routing
- ASP.NET MVC Framework (Part 3): Passing ViewData from Controllers to Views
- ASP.NET MVC Framework (Part 4): Handling Form Edit and Post Scenarios
Instrumentation for Tracking User Experiences by David S. Platt
In this talk David, tired of getting ‘no’ for an answer when asking Microsoft for the code to their Customer Improvement Program service did what any self-respecting developer would do: he rolled his own implementation. The result is a very lightweight, easy to use user experience tracking framework. One key feature is that the framework makes it very, very difficult indeed to store any kind of sensitive user data such as credit card numbers. What you do not log, you cannot store and what you cannot store you cannot leak, even by accident. The code of the framework is freely available. Currently I think you’ll need to contact David to get your hands on it but he might post a link to download it in the future.
IronPython and Dynamic Languages by Harry Pierson
Being a big fan of dynamic languages, Ruby in particular, I was really looking forward to this presentation. Harry Pierson is the PM of the IronPython team and clearly very enthusiastic about IronPython, IronRuby and the Dynamic Language Runtime (DLR). He showed us some basic Python magic. One of the coolest things I saw was how simply importing the CLR extends existing objects at runtime. This is really something you should see so I will get up an example sometime soon. Also, embedding IronPython in for example C# takes about 4 lines of code. I can see a lot of applications for this, one of them being able to fool around with some algorithms without needing to recompile your project. Or how about using IronPython or IronRuby to implement business rules (something they are both very strong at)? Awesome.
There’s really no good way to show just how cool IronPython and IronRuby are. You should check it out for yourself.