Archive for September, 2008

jQuery to be Integrated with ASP .NET

Sunday, September 28th, 2008

Fantastic news! Long-time golden boy of the javascript world, jQuery, is to be integrated with Microsoft’s ASP .NET framework.

In an announcement today on the jQuery blog, Scott Guthrie’s blog and Scott Hanselman’s blog, the jQuery library would be distributed AS IS with Visual Studio 2008 SP1 and the free Express editions. The aim is to extend ASP .NET AJAX support and generally make life easier for MS developers. Microsoft would also be contributing tests and patches to the jQuery core, but would not be submitting features etc.

This is a massive boost for a framework that won me and my company over a long time ago. jQuery now has backing from the biggest names in IT and will benefit immensely from the additional support.

The benefits are not only for the jQuery team, they’re also for any web standardistas. This support for jQuery signals Microsoft’s intentions for the ASP framework. I can only hope that from this, Microsoft adopts jQuery in its entirety, having ASP output unobtrusive, cross-browser javascript, not the ‘impossible to debug or follow’ mess that it currently uses.

Patching iUI

Monday, September 22nd, 2008

Recently, I’ve been working on an iPhone web app for my employer (internal, so I can’t share). I based the design and architecture around the iUI library by Joel Hewitt, which became an overnight de-facto standard for web apps. However, after a lot of playing with it and turning it inside out, I’ve found there are a number of problems which have not yet been fixed.

For example; I want to run an AJAX search on a page one menu down my site tree. I found that this wasn’t possible as subsequent javascript code was not evaluated by Safari. There’s other things too, like any iPhone/iPod application link not working, having to press any link that goes to “_self” twice and having a slide animation that stutters more than a broken record.

I am happy to say that fixes exist for all but the last item, and I have put them all into a javascript file, which can be found at the end of this post.

However, I do not believe that this is the solution to iUI’s problems. I feel that a complete re-write in a standardised library like jQuery is the solution. Who knows, I may even find time to write it ;-)

So, here’s the file: iui.patched.js

Steve