A very common taks in web development is uploading images. This isn't realy a hard task in it self, but it can be pretty frustrating to write the same code over and over again even if its only a few lines.
In one of my current projects, I need to handle a lot of images. In many cases there are two ...
Using partial views for javascript
Lately I have been working on a web application that requieres quite a bit of javascript. I decided to use the Mvc pattern here that I have written about before to see how it works out and to get a more readable and seperated javascript code. I did want to seperate the view, model and controller fro ...
Why code blocks in the UI is a good thing
A very common argument against the asp.net mvc framework is that people don't want to use server side code in the same place as you have the html code. Some say it makes the code unreadable or that it is a step backwards in development and closer to asp 3. In my opinion, this is a very thin argument ...
Using the MVC pattern in javascript
As anyone who have ever worked on a javascript heavy page knows, javascript can very easily get out of hand and become a mess. Roy Osherove thinks we should fix this problem by generating our javascript using a server side programing language. I didn't realy like this idea, nor did Jimmy Bogard. But ...