ponyfoo.com

Your query for articles tagged “js” yielded some results!

  1. A Less Convoluted Event Emitter Implementation

    I believe that the event emitter implementation in Node could be made way better by providing a way to access the functionality directly without using prototypes. This …

    Read full article
    5 minute read
  2. JavaScript Variable Hoisting

    A large number of JavaScript interview questions, if not most of them, can be answered with an understanding of scoping, how this works, and hoisting.

    You might be …

    Read full article
    3 minute read
  3. Where does this keyword come from?

    Working on the latest chapter for my upcoming book on JavaScript Application Design, I’m writing about how scoping works. I want to share a particular code sample …

    Read full article
    6 minute read
  4. Package Authoring with Paqui

    Creating client-side JavaScript packages is increasingly becoming a painful endeavor. We need to publish our package to different repositories such as bower, component, …

    Read full article
    10 minute read
  5. Fun with Native Arrays

    In JavaScript, arrays can be created with the Array constructor, or using the [] convenience shortcut, which is also the preferred approach. Arrays inherit from the

    Read full article
    22 minute read
  6. Event Emitter: Obey and Report

    The event emitter pattern was popularized by Node, and is made available in the browser by libraries such as EventEmitter2. In practice, I haven’t seen a lot of …

    Read full article
    6 minute read
  7. Getting Over jQuery

    We’ve looked at doing some of the things that you can do in native code. So far, we’ve covered AJAX, event handling, event delegation, DOM querying, and …

    Read full article
    22 minute read
  8. Uncovering the Native DOM API

    JavaScript libraries such as jQuery serve a great purpose in enabling and normalizing cross-browser behaviors of the DOM in such a way that it’s possible to use …

    Read full article
    15 minute read
  9. The Micro Library Phenomenon

    As of late, there seems to be a steady trend towards minimalist DOM (and BOM) abstractions, these micro-libraries generally trade functionality and flexibility for

    Read full article
    6 minute read
  10. The Web Wars

    There have always been wars in browser-land. Browsers, specs, politics, lots of politics. Even libraries had theirs.

    What once was the browser utility library war, has …

    Read full article
    7 minute read
  11. Taming Asynchronous JavaScript

    Last month, a series of very interesting articles regarding async coding style, in Node, popped up. The discussion spanned a few more subjects than just coding style, it …

    Read full article
    6 minute read
  12. Pragmatic Unit Testing in JavaScript

    More often than not, companies completely (and irresponsibly) disregard JavaScript as code that should be unit tested. They might test their back-end code, it may be in …

    Read full article
    9 minute read
  13. Information Hiding in JavaScript

    Even though it’s tricky at first, if you are used to classical object-oriented languages, it’s easy (and highly encouraged) to perform information hiding

    Read full article
    9 minute read
  14. JavaScript Is Awesome

    JavaScript is one of the most loved and hated languages out there. Some, can’t stand the stench of how obtuse it appears to be. Some appreciate the …

    Read full article
    7 minute read
  15. JavaScript JavaScript JavaScript

    In my previous installment, I prognosticated the discussion topic for this post.

    In the next post I’ll delve into MongoDB, how to pair it with Node, and figuring …

    Read full article
    10 minute read
  16. Single Page Design Madness

    A few days passed, a couple lessons learned. I promised myself not to spend too much time trying to make something perfect, but rather keep a lean approach and moving …

    Read full article
    12 minute read