posts - 916, comments - 758, trackbacks - 11

My Links



Post Categories

Misc. Coding

Of the beginning…

So, I'm not dead! Have been busy moving house, getting two new kittens (Tycho and Cozmo) and bascially settling into my new existence.


I HAVE also been getting back down to some serious coding. LOVING RavenDB (I seriously think it is THE .NET database of choice now), getting deep an dirty with some awesome HTTP optimization techniques...which I really do have to blog about soon!

My first pointers to HTTP optimization greateness are:

Chirpy: a brilliant little VS add-in (check the Codeplex page for the VS 2010 version) , compresses and combines your CSS and JS files as well as lets you use .less syntax easily inside VS (kinda a programmatic extension to CSS allowing for cleaner, less repetitive style definitions).

LabJS: a bit more complex but really stunning little bit of JS which lets you seriously optimize your JS loading...JS becomes non-blocking and all loads asynchronously (see for more details)! Here's how I use this in one of the cozwecan sites (note, I also use LabJS to do a 'load from CDN with fallback' behavior which I have yet to see fully documented) ...

var scriptModifier = "";
.setGlobalDefaults({ AllowDuplicates: false });
   .script({ src: "",
       alt: "/Scripts/jquery.1.4.2.min.js",
       test: "jQuery"
     .script({ src: "",
         alt: "/Scripts/jquery.validate.min.js",
         test: "jQuery.validate"
     .script({ src: "",
         alt: "/Scripts/",
         test: ""
    .script("/Scripts/Custom/MainScripts" + scriptModifier + ".js")
    .wait(function () { SetupInitialLoad(); });



Anyway will get a blog post together eventually covering all that I've been up to...until then...follow me on Twitter @scottgal..late peeps!

Print | posted on Friday, July 09, 2010 6:30 AM |



# re: Of the beginning...

welcome back, Scott! waiting for next blog post by you :))

7/9/2010 6:58 AM | alexanderb

Comments have been closed on this topic.

Powered by: