JavaScript articles


Easier Angular Directives with SweetJS

Easier Angular Directives with SweetJS

By Vittorio Zaccaria I’ll admit that AngularJS directives have always been a bit tough for me. Maybe because I am getting old – what do I know? The fact is that I’ve always struggled to understand and memorize its cryptic documentation. Besides, whenever I deal with Angular objects, I inevitably end up writing code that […]


MEAN Stack – A Quick Start Guide

By Mathew Carella The MEAN stack has been getting a lot of publicity lately. In case you haven’t heard about it yet, MEAN stands for MongoDB, Express, Node.js and AngularJS. This article is intended to serve as a quick guide to help you get started developing with the MEAN stack. We won’t go into great […]


ECMAScript 6: Jump in, the water is warm!

By R. Mark Volkmann The JavaScript language is defined by the ECMAScript specification, also known as ECMA-262. ECMAScript 6 (ES6) defines the next version of JavaScript. ECMA Technical Committee 39 (TC39) has a goal to complete the ES6 specification by the end of 2014. The current draft state of the specification can be viewed at harmony: […]


Improving Browser Detection

By Ryan Morr Despite the progress client-side scripting has made over the last decade or so, it seems that some bad practices are poised to never die. With the medium transitioning into a more mobile-centric world in recent years, an influx in bugs has many developers turning back to browser detection for a solution. History […]


Introduction to npm

By Toby Ho npm is the granddaddy of JavaScript package managers. It is the beloved package manager for Node. It hosts over 64 thousand modules and counting. Based on data at – npm is by far the fastest growing package manager, that’s is compared to Ruby Gems, CPAN, PyPI, Maven plus a few others. […]


String Templating Considered Harmful

By Rich Harris If you’re been programming for any length of time, you’ve probably read your fair share of ‘Considered Harmful‘ essays, and thus already know that what follows the headline is usually a stream of biased remarks and cherry-picked evidence. I can’t promise this will be any different. But the concepts we’re going to […]


Creating Modular View Components with React and Grunt

By Simon Smith One of the libraries gaining a lot of interest recently is Facebook’s React JS library. It mainly concerns itself with “the V in MVC” and encourages developers to break their app into resuable, modular components. The Virtual DOM is a great feature on its own, and I encourage you to investigate React […]