In usability we trust

Archive for the ‘Programming’ Category

Polylines in Google Maps [Part 2]

November 6th, 2008

In part 1 I showed how to use and optimize performance on polylines in Google Maps using Javascript. In this article I will show you how to get even better performance by encoding the polylines on the server.

Read the rest of this post »

Bounding Box in Google Maps

November 2nd, 2008

Normally when you initialize a new Google map you set the coordinates for the center of the map and manually specifies the initial zoom level. Sometimes, however, there’s a need to dynamically calculate the center point and zoom level for certain content to fit into the viewport.

Read the rest of this post »

Polylines in Google Maps [Part 1]

October 28th, 2008

Polylines are used to mark out roads, borders and other things that are made of lines in maps. The Google Maps API offers a class for drawing these lines on a Google Map called GPolyline. In this article I will show you how to use these and how to deal with potential performance issues when [...]

Read the rest of this post »

ASP.NET MVC and JSON

October 22nd, 2008

In the AJAX community, JSON have become the preferred way of sending and receiving data. That’s not surprising since it’s lightweight, fast and easy to understand. Also, since it’s a subset of Javascript, it’s familiar territory for Javascript coders.
In the ASP.NET MVC Framework, passing JSON from the server to the client script is almost too [...]

Read the rest of this post »

User Controls in ASP.NET MVC Preview Release 5

October 3rd, 2008

I’ve had a little trouble finding out how to use User Controls in the ASP.NET MVC Framework and how to pass data to it. I haven’t been able to find a single article that clearly explains how to do this, so I thought I’ll do a little write up on the topic.

Read the rest of this post »

jQuery + ASP.NET = true

October 1st, 2008

jQuery is going to be a part of Visual Studio. This is a great, and I must say, an unexpected development of things.
For me personally, who’s already using jQuery along with ASP.NET, the main difference will be the intellisense annotation support for jQuery. This will be a welcomed enhancement of my development environment. Needless to [...]

Read the rest of this post »

ASP.NET MVC Preview Release 4

August 11th, 2008

To my delight I noticed that during my vacation the ASP.NET MVC Preview Release 4 have been released. This is nice since I’ve been trying to wrap my head around this framework for a project I’m currently working on.
The MVC framework certainly solves a lot of the issues I have with ASP.NET and actually [...]

Read the rest of this post »

About me

My name is Gabriel Svennerberg and I'm an usability oriented web developer living in Sweden.

This is my blog and it's all about web development and usability.

More about me

Blogroll

Copyright © 2007-2008
Gabriel Svennerberg