David Walsh Tutorials

  • By
    Velocity NY is Coming!

    O'Reilly's Velocity Conference is quickly approaching -- it's September 15-17 in beautiful New York.  As a follow up to last month's post, I wanted to make sure people knew I had 3 more tickets left to give away to this epic front-end performance conference! In my...

  • By
    Velocity New York:  Ticket Giveaway

    A few months back, O'Reilly gave me two free tickets to give away  for Velocity Conference in Santa Clara.  The chosen two reported back to me that the conference was incredible, as did a Mozilla colleague that quickly came back and implemented a bunch of...

  • By
    The Best Summer Stock Image Sources are Here. Check Them Out.

    As a website designer or developer, you soon learn to appreciate how important it is to have a ready source to fill your needs for stock photography. For most large projects where images or illustrations are required, the use of stock photographs can be the only...

  • By
    Append and Prepend to WordPress RSS Feed Content

    The awesome part of RSS is that it lets you pull content wherever you want.  The bad part, as a publisher, is that the user may be missing out on important information that is on the site but doesn't display in articles.  WordPress' hook system to the rescue! The PHP We're going...

  • By
    Preprocess Comment Content in WordPress

    I've put a great amount of effort into making sure the comment system on this blog is fast and feature-filled.  The comment system is AJAX-based so you don't need to worry about page refreshes.  You can also post links to GitHub gists, CodePen pens, and JSFiddle fiddles and...

  • By
    Abusing console.log to Remove Debug Code

    One of the big efforts of this blog is to make it as fast and compact as possible. I shave bytes and do everything I can to make the site as lightning fast as possible. In looking at my site's main JavaScript file...

  • By
    Popular Tools and Resources That a Web Designer Should Use

    Just as every client project is unique, each designer is different by nature, and has distinct tastes, skills, style and experience. Yet, web/graphic designers always like to think they've made the best decisions and signed the most handsome deals when it comes to resources and tools...

  • By
    Array: Insert an Item at a Specific Index with JavaScript

    There are many tasks related to arrays that sound quite simple but (1) aren't and (2) aren't required of a developer very often. I was encountered with one such task recently: inserting an item into an existing array at a specific index. Sounds...

  • By
    Check GZip Encoding with curl

    Last week I detailed how I enabled gzip encoding on nginx servers, the same server software I use on this site.  Enabling gzip on your server exponentially improves the site load time, thus improving user experience and (hopefully) Google page ranks.  I implemented said strategy and used...

  • By
    Enable GZIP Compression on nginx Servers

    Speed kills, and there's nothing like a speedy website.  When you come to this blog, I want you to have a great experience, which is why I've worked tirelessly to compress every asset and avoid unnecessary synchronous interactions.  In reviewing my site with Google Pagespeed...