O'Reilly

David Walsh Blog

  • Insights for Achieving a Valuable eCommerce UX and the Themes to Accomplish It

    To attract customers, the appearance of your online store is of course important, but there are other things to be taken into account if you want to keep your visitors interested. Your store should be beautiful in appearance, but the inner workings need to be “beautiful”...

  • Prevent WordPress from Loading “Next” Pages

    I've been working to make this blog more performant by lazy loading everything I can think of, placing CSS and JavaScript into the HTML, and using data URIs;  the common theme in these is reducing the number of requests on each page.  One request I noticed (and hadn't anticipated) coming...

  • Learning Paths by O’Reilly

    Each developer learns a given skill in their own way.  Some developers prefer blog posts, others prefer to just dive into code, many rely on books, some on conferences, others on screencasts, and of course we all mix and match those methods to what we like.  One...

  • Simple Image Lazy Load and Fade

    One of the quickest and easiest website performance optimizations is decreasing image loading.  That means a variety of things, including minifying images with tools like ImageOptim and TinyPNG, using data URIs and sprites, and lazy loading images.  It's a bit jarring when you're lazy loading images and they just...

  • Git Update Commit Message

    One of my faults as a professional developer is that my commit messages aren't always as descriptive as they could be.  Sometimes I even notice a spelling error in them.  Bleh -- that's not cool, man.  When I do catch that my last commit message isn't good...

  • Convert Image to Data URI with JavaScript

    Whenever I go on a "performance run" on a website, the first place I look is imagery.  Why?  Because you can save an image out of Photoshop, push it into ImageOptim or even TinyPNG, and save 70% on its file size.  What do most developers not consider?  Taking tiny image...

  • Detect if a Document Has Loaded with JavaScript

    If you follow me on Twitter, you've probably noticed me whining about ChromeDriver.  For some reason it seems as though tests run before the document has properly loaded, leading to transient test failures and loads of frustration. I thought the best way to avoid these problems was...

  • Git Undo Last Commit

    I'm a massive fan of git; it's super powerful and easy to use, especially when it comes to branching.  The biggest sin I commit when using git is adding files and then committing them...to master branch instead of a feature branch.  Oops.  Certainly don't want that. If you've done a git...

  • Get and Set Nested Objects with JavaScript

    Back when JavaScript frameworks like MooTools and jQuery ruled the land we all wrote tutorials which were framed more toward the given framework instead of vanilla JavaScript.  Sad but true.  These days I avoid framework-oriented posts since Node.js has token over the world and JavaScript toolkits come and...

  • The Complete Web Developer Course with Rails Online Training Program – 92% off!

    Whether you're a complete beginner or have tinkered around a bit with some code, The Complete Web Developer Course with Rails can turn you into a full-fledged, professional programmer in just 12 short weeks. With 160+ videos spanning more than 22...

Track.js Error Reporting

Popular Features

  • Chris Coyierâs Favorite CodePen Demos II

    Hey everyone! Before we get started, I just want to say it’s damn hard to pick this few favorites on CodePen. Not because, as a co-founder of CodePen, I feel like a dad picking which kid he likes best (RUDE). But because there is just so...

  • 7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • I’m an Impostor

    This is the hardest thing I've ever had to write, much less admit to myself.  I've written resignation letters from jobs I've loved, I've ended relationships, I've failed at a host of tasks, and let myself down in my life.  All of those feelings were very...

  • 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...

  • Designing for Simplicity

    Before we get started, it's worth me spending a brief moment introducing myself to you. My name is Mark (or @integralist if Twitter happens to be your communication tool of choice) and I currently work for BBC News in London England as a principal engineer/tech...