Thursday, October 30, 2008

Why software sucks


This is how David Platt starts his session at the Microsoft DevDays 2008. The session is a preview of his book. You can watch the video of the session here.

I watched the video and thought it was very intresting! So I ordered the book! Can't wait to get my hands on it.

Friday, October 24, 2008

Programming cartoons

There is a big topic about programming cartoons at Stack Overflow.

Never heard of Stack Overflow? You can find a podcast with Scott Hanselman and the makers of Stack Overflow here.

My favorite ones:

Sunday, October 19, 2008

Review: MVC Pair Programming with Paul Litwin

I just finished watching all four videos and I think the videos are definitely worth watching if you're pretty new to MVC like me.

I wasn't completely new to the MVC framework tho, because I have a little bit of experience with Java Struts. If you are completely new to MVC, I advice reading through this first.

Paul Litwin was an intresting guest. He was also new to the MVC framework, so he asked a lot of questions I was having as well while watching the video.

On the framework itself.. I think it might become a real rival for the webforms framework! In the video they wrote code for adding a record, populating a dropdownlist, validating input and showing records. And tbh it looked pretty slick.

Oh well, only time will tell how popular the MVC framework will become.

Please feel free to write a comment about your opinion on the MVC framework!

Friday, October 17, 2008

New videos - MVC Pair Programming with Paul Litwin

I haven't really gotten into MVC yet, which might be a bit of a shame :$

Anyways gave me a good reason to start playing with it. They uploaded 4 new MVC videos today!

You can find the videos here:
Episode 1 with Paul Litwin - Creating a Data Driven MVC Application
Episode 2 with Paul Litwin - Creating the Controller and View
Episode 3 with Paul Litwin - Adding Form Validation
Episode 4 with Paul Litwin - Displaying the Database Data

I downloaded them to my hard drive and I am going to watch them this weekend (which might be a bit hard, because it's my birthday tomorrow ;))

I'll try to write a small article about my opinion on the MVC framework as soon as I watched the videos!

Edit: I forgot to say that the Beta version of MVC was released today as well. Go and download it!

Tuesday, October 7, 2008

Access javascript variables from codebehind

The title might be a bit unfair. You can't really access javascript variables from codebehind. But there is a pretty clean way to bypass this!

I will explain the mechanism in 3 steps:

1) Make an HTML hidden field. Make sure to add runat="server"!

2) In your javascript fill up your javascript variable with the value of the hidden field.

3) Set the value of the hidden field to whatever you want in code behind.