Skip to main content

Category: Javascript

  • Understanding JavaScript Async by Hacking Dropbox

    <p>When most online articles explain javascript async behaviour, most immediately gravitate towards the concepts of <em>delayed evaluation</em>, <code>Promise</code>s, and <code>async function</code>s. While this does offer value to the pragmatic programmer, it fails to explain just how a single-threaded programming language deals with immediacy and delayed execution. In fact, I only recently had the opportunity to truly delve in to how <em>most</em> JavaScript runtimes execute asynchronous behaviour.</p> <p>(Not all JavaScript implementations deal with asynchronous behaviour the same way; this becomes important with how we expect our code to e...</p>

    When most online articles explain javascript async behaviour, most immediately gravitate towards the concepts of delayed evaluation, Promises, and async functions. While this does offer value to the pragmatic programmer, it fails to explain just how a single-threaded programming language deals with immediacy and delayed execution. In fact, I only recently had the opportunity to truly delve in to how most JavaScript runtimes execute asynchronous behaviour.

    (Not all JavaScript implementations deal with asynchronous behaviour the same way; this becomes important with how we expect our code to e...

  • Predicting the State of the Web in 2020

    2019 has brought a wealth of new technologies , almost all in the form of user-contributed "framework" addons. HTML5, though adequate in its current form for most content authors, still underperforms when it comes to accessibility and to "out-of-the-box" primitive elements that the working group promised us years ago. It's now time for browser vendors to own up to their promises to us continuing the discussion on elements like <code><details></code>, <code><dialog></code>, and the final implementation of the Shadow DOM.

    Predicting the State of the Web in 2020
    Predicting the State of the Web in 2020
    2019 has brought a wealth of new technologies , almost all in the form of user-contributed "framework" addons. HTML5, though adequate in its current form for most content authors, still underperforms when it comes to accessibility and to "out-of-the-box" primitive elements that the working group promised us years ago. It's now time for browser vendors to own up to their promises to us continuing the discussion on elements like
    , , and the final implementation of the Shadow DOM.
  • Leveraging Computed Properties in EmberJS

    <p>Modern-day applications often consist of complex data layers, backed with restful APIs and/or complex back-end systems to provide the services. Fortunately for us, it's very simple today to create such applications using modern fronting framework and tooling. Frameworks like AngularJS, EmberJS, Aurelia, amongst many other frameworks, have demonstrated that the data logic can be extracted to a simpler layer, letting the user deal with transactions, and not deal with API configuration. Building an application with this approach can often yield to very high development velocities, at the risk of ...</p>

    Modern-day applications often consist of complex data layers, backed with restful APIs and/or complex back-end systems to provide the services. Fortunately for us, it's very simple today to create such applications using modern fronting framework and tooling. Frameworks like AngularJS, EmberJS, Aurelia, amongst many other frameworks, have demonstrated that the data logic can be extracted to a simpler layer, letting the user deal with transactions, and not deal with API configuration. Building an application with this approach can often yield to very high development velocities, at the risk of ...