Cheerio: A faster, Windows-friendly alternative to jsdom
When it comes to extracting data from an HTML document on the server-side, Node.js is a fantastic option. Not so much because of any particular feature of Node itself, but because running JavaScript on...
View ArticleInteresting details on IE10's JavaScript performance tweaks
There’s a great article on the Internet Explorer team’s MSDN blog this week, Advances in JavaScript Performance in IE10 and Windows 8. I’ve been running Windows 8 as my primary OS for several weeks,...
View ArticleASP.NET Web API vs. ASP.NET MVC "APIs"
I’ve been receiving lots of emails asking my opinion about ASP.NET Web API lately. One of the most recent messages boiled them all down pretty well in its subject line: ASP.NET Web API – Why is it so...
View ArticleExpand and collapse jQuery Mobile collapsibles from code
I recently needed to open and close a jQuery Mobile collapsible widget from my own JavaScript code, in response to other events on the page. Unfortunately, looking at the documentation for the...
View ArticleRead my article about HTML5 Polyfills on Script Junkie
If you’re (like me) still working on projects that must work in browsers without great support for HTML5, you might be interested in this article I recently wrote for MSDN’s Script Junkie. It doesn’t...
View ArticleA harsh reminder about the importance of debug="false"
This post was originally going to be about improving performance in ASP.NET MVC websites that use the Razor view engine. Instead, it became a cautionary tale about just how important it is to run your...
View ArticleClosing Windows 8 apps with Surface RT's Touch Cover
Windows 8′s new gesture for closing programs works pretty well when you’re using a Surface in your hands as a pure tablet, but it feels a bit awkward when you have the Surface’s kickstand and a...
View ArticleA month with my Surface RT
If you follow me on Twitter, you probably know that I’ve been playing with a shiny new Microsoft Surface RT that I’ve had for about a month now. I’ve had a bunch of requests for a post about my...
View ArticleMy favorite alternative to JavaScript's switch statement
One of my least favorite parts of nearly every programming language I’ve spent much time with has been the ubiquitous switch statement. Though it does serve a useful purpose in some compiled languages,...
View ArticleGet the lowdown on Visual Studio 2013 and Web Essentials
Build 2013 has been a bit of a whirlwind. Trying to process announcements about everything from Windows 8.1 to Project Spark over the course of just a few hours of keynotes was pretty overwhelming. One...
View Article3 reasons why you should let Google host jQuery for you
advantages over hosting jQuery on your server(s): decreased latency, increased parallelism, and better caching.
View ArticleThe big change in Bootstrap 3 that no one's talking about
As you probably already know if you’ve seen any tech news this week, Twitter Bootstrap 3 came out of RC and was officially released this past Monday. There are a plethora of changes in the new version,...
View ArticleWhy you should be nice to technical recruiters
No one’s got it better than developers right now. When the most frequent complaint you hear is “I wish recruiters would stop spamming me with six-figure job offers,” life’s gotten pretty good.
View ArticleSpoiled by Windows
Recently, I read a post about how easy it is to clutter a Mac’s menu bar with various status indicators and icons. When watching people give presentations on MacBooks with a real-world payload of...
View ArticleA cleaner way to use setTimeout and anonymous callbacks
The most common syntax for using an anonymous function with JavaScript’s setTimeout has never sat well with me. For a quick, non-reusable bit of code that needs to run after some interval
View ArticleCanonical URLs in IIS without breaking localhost debugging
It’s important that public-facing websites respond to requests for both domain.tld and www.domain.tld. You can’t control what your users will type into their browsers and you never know which form of...
View ArticleIIS performance tip: Cache in on consistent casing
In Spring 2011, at what would sadly become the final installment of Microsoft’s MIX conference, I attended a great talk called 50 Performance Tricks to Make Your HTML5 Web Sites Faster. I was skeptical...
View ArticleFix "addthis_config not defined" when using async AddThis
I recently decided to pony up for AddThis Pro. Spread across up to five sites, that’s not very much to pay for a wide variety of well-designed social widgets. Certainly much less than what my time...
View Article
More Pages to Explore .....