ponyfoo.com

  1. JSON Web Tokens vs. Session Cookies: In Practice

    Quite a few challenges have been found with using server-side sessions in modern-day applications. In this post, we’ll identify those challenges and explain how JWT and sessions work in practice.

    Read full article
    9 minute read
  2. Two-way Synchronization for a Web App and Git

    This article explains the challenges I went through and how I ended up implementing a two-way synchronization between the web application and a git repository for the articles.

    Read full article
    11 minute read
  3. The Art of a Pull Request

    Writing a great Pull Request takes time. It can be a scary proposition going in. Did I implement something relevant? Will they like my changes? Will the PR meet their expectations? How much scrutiny can I expect?

    Read full article
    13 minute read
  4. ServiceWorker: A Basic Guide to BackgroundSync

    A simple guide to getting up and running using Background Sync and Service Workers. Background Sync is a new web API that lets you defer actions until the user has stable connectivity. This makes it great for ensuring that whatever the user wants to send, is actually sent.

    Read full article
    10 minute read
  5. How Pony Foo is ridiculously over-engineered
    — and why that is awesome

    With almost 3000 commits on record, I’m pretty sure that Pony Foo is one of the most, if not the most, over-engineered blogs ever. This article goes over how it all began as a learning experience…

    Read full article
    33 minute read
  6. The Double-Edged Sword of the Web

    A couple of weeks ago I had some time in my hands and decided to fix cross-browser rendering issues for Pony Foo. The ensuing bug hunt was a good reminder of just how obnoxious web development can get.

    Read full article
    16 minute read
  7. An Elastic Stack Primer

    This article describes my adventures while getting initiated into the Elastic Stack. We’ll be building upon the elasticsearch index I’ve set up for search in an earlier post.

    Read full article
    24 minute read
  8. A Promise-Based Worldview

    Once the Node.js developer’s victim of choice, Promise now enjoys healthy adoption on both sides of the stack, with prominent open-source contributors like @sindresorhus visibly leveraging them.
    What’s changed?

    Read full article
    2 minute read
  9. Setting Up Elasticsearch for a Blog

    I’ve been experimenting with elasticsearch – and working at the company behind it for a while – so it only made sense to incorporate it as Pony Foo’s search provider.

    Read full article
    26 minute read
  10. Just Married! 🎉

    I got married last friday, and then we threw a party on saturday.

    I wanted to extend the celebration a little bit longer by sharing a few pictures on my blog.

    Read full article
    10 minute read
  11. NodeConf hits the ground running in Latin America

    NodeConf Argentina is one of the first international Node.js conferences taking place in Latin American territory, and a not-for-profit community effort to push Node.js …

    Read full article
    2 minute read
  12. GitHub for Human Beings 🕵

    GitHub – and GitHub users – can be kind of annoying sometimes. Here are a few tips to improve your day-to-day experience.

    Read full article
    3 minute read
  13. ECMAScript Proposal for JavaScript Decorators
    (and protocols)

    There’s a JavaScript decorators proposal in the works.
    We take a look at how it works and why it’s useful.

    Read full article
    12 minute read
  14. The npm Meltdown Uncovers Serious Security Risks

    Earlier this week, as almost everyone reading this article knows, npm experienced a brief service interruption where npm install would fail for heaps of popular packages …

    Read full article
    8 minute read
  15. JavaScript Proposal for weak references: WeakRef

    A proposal to implement weak references in JavaScript – which would expose weak references made possible by WeakMap and WeakSet is currently sitting at stage 0.

    Read full article
    6 minute read
  16. Making a Simple Site Work Offline with ServiceWorker

    I’ve been playing around with ServiceWorker a lot recently, so when Chris asked me to write an article about it I couldn’t have been more thrilled. …

    Read full article
    15 minute read
  17. All Aboard the ES6 JavaScript Train

    The sixth ECMAScript specification has been finalized last june, and there’s a flurry of JavaScript features coming our way.

    I’ll be covering the most exciting new features.

    Read full article
    12 minute read
  18. Proposal: “Statements as Expressions” using do

    A proposal for do statements has been classified as Stage 0 for a while, and it might be an interesting solution for some problems we can find in JavaScript.

    Read full article
    5 minute read
  19. Proposal Draft for .flatten and .flatMap

    Array prototype may be getting .flatten and .flatMap methods may be coming to ECMAScript in a distant future. This article describes what the proposal holds in store.

    Read full article
    8 minute read
  20. ECMAScript String Padding

    A first look into .padStart and .padEnd string methods drafted as proposals for implementation in ECMAScript.

    Read full article
    8 minute read
  21. Understanding JavaScript’s async await

    Earlier this week we took a look at new features coming in ES2016. Today we’ll learn about async / await.

    The async / await feature didn’t make the cut for …

    Read full article
    16 minute read
  22. ES2016 Features & ECMAScript as a Living Standard

    As it turns out, ES2016 – also known colloquially as ES7 – will be comprised of a very small feature set. This article explains the new features in ES2016.

    Read full article
    5 minute read
  23. The Controversial State of JavaScript Tooling

    There have been many different blog posts on the “State of the Web”, problems people face around tooling, and similar-style musings of late. This article …

    Read full article
    10 minute read
  24. Asynchronous I/O with Generators & Promises

    The article covers designing a JavaScript API to deal with asynchronous data inputs and outputs using generators to succinctly describe a set of operations. Promises can …

    Read full article
    8 minute read
  25. Third Year in Review

    In what has now become somewhat of a tradition for me, I’m looking back on the past year and digging up stats about the blog and my career. This was definitely an …

    Read full article
    6 minute read
  26. JavaScript Developer Survey Results

    The end of year is drawing close and the JavaScript Developer Survey has now ended. The survey received an unimagined amount of replies and I’m excited to share …

    Read full article
    11 minute read
  27. JavaScript Developer Survey

    Following the footsteps of Alex R. Young and his retired dailyjs.com blog, I’ve put together a survey about JavaScript usage similar to those he used to host on …

    Read full article
    a minute read
  28. Making a Progressive App with ServiceWorker

    In previous articles, you’ve learned about how to use ServiceWorker, the different strategies that you can leverage to serve content offline and faster, and all …

    Read full article
    5 minute read
  29. ServiceWorker, MessageChannel, & postMessage

    Last week I wrote an article about a caching strategy for progressive networking that uses a cache first and then goes to the networking, sharing messages between web …

    Read full article
    10 minute read
  30. ServiceWorker and Progressive Networking

    I’ve been toying with ServiceWorker for a while. The single most complicated issue when it comes to ServiceWorker has been dealing with caching in a …

    Read full article
    9 minute read
  31. Subscribing to Pony Foo

    There’s a few different ways you can subscribe to read Pony Foo. What’s your favorite?

    Almost since day one you could follow Pony Foo using the RSS feed. …

    Read full article
    2 minute read
  32. ServiceWorker: Revolution of the Web Platform

    While not the most amusingly named feature of the web platform, everything seems to point at ServiceWorker being the most significant addition to the web platform since …

    Read full article
    19 minute read
  33. ES6 Overview in 350 Bullet Points

    My ES6 in Depth series consists of 24 articles covering most syntax changes and features coming in ES6. This article aims to summarize all of those, providing you with …

    Read full article
    37 minute read
  34. Securing Your Web App in 3 Easy Steps

    I’ve recently upgraded Pony Foo to use the https protocol, something I’ve been meaning to do for a while. It’s super easy to do so, and …

    Read full article
    5 minute read
  35. Keeping Your npm Dependencies Immutable

    I’ve been bitten a few times by dependencies using semver ranges such as ^1.0.1 where the dependency introduced a “non-breaking” change that ended …

    Read full article
    7 minute read
  36. Inlining Critical CSS for Dynamic Web Apps

    During the redesign I was faced with a problem and I had to rethink the way I inline CSS in my blog, so I figured it’d be a good time to write about it in more …

    Read full article
    11 minute read
  37. Using the JavaScript Charting Library

    I’ve been asked to review the JSCharting enterprise charting library, and given that I’ve recently dabbled in visualizations I felt like this was a great …

    Read full article
    29 minute read
  38. SVG and the DOM, or “The Weirdest Bug I’ve Ever Encountered”

    I wanted to take a step back from all of the ES6 articles that have been popping up on Pony Foo lately to talk about a bug I came across last week. As I mentioned …

    Read full article
    8 minute read
  39. Pony Foo Gets a Face Lift

    Pony Foo’s design remained largely the same throughout its history so far, as I never really spent a lot of time on its design. Today I’m thrilled to …

    Read full article
    7 minute read
  40. ES6 Promises in Depth

    Welcome back to ES6 – “Dude, we already had those!” – in Depth series. If you’ve never been around here before, start with A Brief …

    Read full article
    30 minute read