Archive for November, 2009

Statsy – find those wasted bytes with a bookmarklet

Stoyan Stefanov is all about the performance of web products. One small tool that gives you a bit of insight as to where you can optimize is a new bookmarklet he released today called statsy.
If you run statsy on a web site you get the following insights:

JS attributes (e.g. onclick) – this is the sum [...]

LABjs gets “Even Faster” with version 1.0

We have posted about LABjs before, the library that aims to be able to effectively load any script resource(s), from any location, into any page, at any time. It loads them all as parallel as the browser will allow, but maintains execution order when you express the need to do so in the usage of [...]

Microsoft AJAX CDN – Now with SSL Support

Back in September I blogged about the new Microsoft AJAX CDN (Content Delivery Network) service that the ASP.NET team is now providing.  The CDN provides edge caching support for AJAX libraries (including jQuery and ASP.NET AJAX).  The service is available for free, does not require any registration, and can be used for both commercial and non-commercial purposes.  It offers a great way to speed up your external facing web-sites.

SSL Support Now Provided

One of the features in September that we said was coming (but which was not available at the initial launch) was SSL support for scripts served off of the CDN.  This is necessary for scenarios where you have SSL enabled pages on your site, and you want to reference a script library from the Microsoft CDN and avoid a “This page contains both secure and non-secure items” warning message being displayed to end-users visiting your site.

SSL support is now enabled with the scripts hosted on the Microsoft AJAX CDN.  Simply use an “https” moniker with any script references on your site that point to the CDN, and they will now be served over SSL.  For example, below is how you can reference jQuery over SSL:

   <script src="https://ajax.microsoft.com/ajax/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>   

The Microsoft AJAX CDN documentation has recently been updated with more details about it.  You can visit it here to learn more. It lists all of the libraries currently offered via the CDN.  We are steadily adding more libraries to it and will update the page as new ones become available.

Hope this helps,

Scott

P.S. In addition to blogging, I’m also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

Presenting in Europe Next Week

I’m off to Europe next week to do a bunch of technical presentations.  I’m presenting for 5-6 hours in a bunch of different cities, and will be doing talks that cover: ASP.NET 4 and VS 2010, ASP.NET MVC 2, and Silverlight 4.

Below are details on the different cities I’m visiting, and how to register to attend the talks:

I’ll also be attending the BizSpark Camp in Paris on December 8th and will be doing a presentation there as well:

Hope to see some of you at once of these events in person!

Scott

P.S. In addition to blogging, I’m also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu

If That Is An Awesome CSS3 Gallery, How Would You Call Mine?

Tutorialzine is a nice blog but I think sometimes it should should re-dimension chosen titles.
I have discovered only yesterday and thanks to my good old favorite Web related italian blog, a nice (or if you prefer another) jQuery lightbox style experiment.
The post is complete with examples and explanation over PHP, CSS, jQuery, and finally jQuery [...]

Javascript JPEG Encoding

Andreas Ritter has managed to encode JPEGs in Javascript. This blog post explains how he did it, shows some benchmarks, and provides a demo and a downloadable library so you can play along at home.

It was surprising that it was that easy to get the first js-encoded jpeg displayed in the browser. Of course I [...]

CBC Radio 3 Case Study

Phil Rabin of CBC Radio 3 has kindly written a guest post on his experience creating a fantastic Web interface for the station that uses Flash for audio, but a full HTML experience that maintains state from page to page.

CBC Radio 3 is a community, radio station and user-generated independent music library which is a [...]

test

test

Emulate ASP.NET validation groups with jQuery validation

In my most recent post, I demonstrated a workaround to allow using the jQuery validation plugin with WebForms pages. The basic idea was to trigger validation only on submissions that occurred within a single logical form, instead of catching submissions anywhere on WebForms’ all-encompassing physical form.
This approach worked fine for a single logical form, but [...]

###

Originally posted at Encosia. If you’re reading this elsewhere, come on over and see the original.

Emulate ASP.NET validation groups with jQuery validation

Node and Djangode Follow-Up

Simon Willison’s Talk last week on Node generated a healthy dose of post-conference buzz, and he’s followed up with a blog post on Node and his higher-level API for Node, Djangode.

Node’s core APIs are pretty low level—it has HTTP client and server libraries, DNS handling, asynchronous file I/O etc, but it doesn’t give you much [...]