RSS Feed Notes
I was checking out my RSS feeds and noticed that my code examples weren't looking good. I'll be updating the RSS feed this weekend, hopefully by having code examples display in a <pre> instead of a <textarea> (textarea needed for the Syntax Highlighter on the site). I also noticed that there's an issue with images I put in my posts when the image SRC's aren't explicitly set to my domain.
Expect to see some resolution this weekend.
I've also added a FeedBurner feed for comments, which you can subscribe to at:
http://feeds.feedburner.com/DavidWalshComments
![JavaScript Promise API]()
While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready? Promises are becoming a big part of the JavaScript world...
![fetch API]()
One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for. We've done well to create elegant APIs around XHR but we know we can do better. Our effort to...
![Detect DOM Node Insertions with JavaScript and CSS Animations]()
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
![CSS Sprites]()
The idea of CSS sprites is pretty genius. For those of you who don't know the idea of a sprite, a sprite is basically multiple graphics compiled into one image. The advantages of using sprites are:
Fewer images for the browser to download, which means...