Friday, March 20, 2009

IE8 released

I got this feed forwarded by one of my co-workers.

The Google ad showing at the bottom is awesome. Google owned Microsoft pretty hard on this one.



Edit: Looks like it's war: http://keithelder.net/blog/archive/2009/04/17/google-pushing-chrome-to-internet-explorer-users.aspx

Thursday, March 19, 2009

Techdays Presentations

My plan was to write a post full of links and information I collected during Techdays.

But today I got this mail.

Dear Jef Claes,

Last week we sent you a link to complete your conference evaluation. We are happy to inform you that now you can also download the presentations of the main conference sessions. If you already completed the evaluation, you'll be sent automatically to the downloads after logging on.


I uploaded them to Rapidshare. Here is the downloadlink.

Enjoy!

Thursday, March 5, 2009

Filling business objects with Linq and stored procedures

I was looking for a good way to fill up my business objects.

I came up with the following architecture..

First I create a stored procedure in SQL Server Management Studio.



After that I drag and drop the stored procedure from the Visual Studio server explorer to my Linq datamodel.



Then I create my business object.. A class with the name Catalogus.



Then I create a static method in my class Catalogi. This piece of code shows you how I did the filling.



I think this architecture is pretty clean and has a lot of advantages:
- Use of stored procedures: Database abstraction and query directly against the database with a great IDE (SQL Server Management Studio).
- Multiple layers: This helps you to gain a better level of abstraction. You can decouple the layers for other purposes.
- Debugging: Being able to step through each layer will make life easier.
- Mapping: You can implement the result of the stored procedures with your own custom mapping. Another developer could easily reuse the datamodel and map it to it's own business objects (which wouldn't be good though).

What is your opinion on this architecture?