Code Monkey

This is a boring post about programming. If you’re not into technical trivialities, you may want to skip this one.

Lately I’ve been playing around with a lot of different programming languages. If you combine them all together, using each one the way it was designed, you can get some amazing results.
 
I have a webpage that reads data, sorts it, and displays it in a table. Clicking on the column headings changes the sorted display. Normally a webserver would have to fetch, and sort, and transmit that information over the internet every time you click the page.

I’ve found a way, with a small amount of JavaScript and XSLT code, to make browsers do all that work. Browsers download the data one time only, sort it there, render it on the page, handle all the re-sorting and re-rendering. This greatly improves response time, and takes a load off the webservers and database servers.

Click here to see this bad boy (source code included) in action.