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 […]
Using Media Queries in JavaScript
By Krasimir Tsonev If you practice responsive design then you use a lot of media queries. Media Queries are a CSS feature that gives designers the power to add something like if statements. By this I mean that it allows you to apply rules only if the current page meets certain conditions. In this article […]
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 […]
Is jQuery Too Big For Mobile?
By TJ Van Toll This question gets asked a lot, and I’ve yet to see a data-based exploration of this topic. Terms like “big” and “bloated” are relative terms; they don’t mean anything without numbers to back them up. The real question should be - “Does the size of jQuery adversely affect the users of […]
Improving Speech Recognition in the Browser
By Guy Levy It seems like the future is all about talking to your devices, whether it is a your smart-phone,game console, TV, Google Glass or plain old PC. We even have a Web Speech API in the browser that gives web developers access to speech recognition. Still, there is a small problem: the speech […]
A DOM Manipulation Class in 100 Lines of JavaScript
By Krasimir Tsonev If you build web applications you probably deal with the DOM a lot. Accessing and manipulating DOM elements is a common requiement of nearly every web application. Very often we collect information from different controls, we need to set values, change the content of div or span tags. Of course there are […]
JXcore - A Node.JS Distribution with Multi-threading
By Krzysztof Trzeciak JXcore is a fork on Node.JS 0.12 which is 100% compatible with Node.JS v0.12 and also with all the projects and modules around it. JXcore multithreading shouldn’t be confused with multiple threads running on top of the same JavaScript code. JXcore multithreading does not bring in any thread safety problem to your existing […]
Using Grunt? Consider Fez
By Isaac Wagner In the world of JavaScript tooling, Grunt is king. Grunt is a task runner, meaning that a build is defined as a series of tasks which run one after another. Tasks may include file concatenation, application deployment, source linting, etc. Grunt isn’t unique as a task runner - you may have heard […]
What Every JavaScript Developer Should Know About Floating Points
By Xuanyi Chew At some point in a JavaScript developer’s career, she will come across strange bugs - basic mathematics that do not seem to make sense. And at some point or another, she will be told that numbers in JavaScript are actually floating points. Any attempts to understand floating points or why they act […]
Introduction to the Component JavaScript Package Manager
By Toby Ho Component is a front-end JavaScript package manager developed by the prolific Tj Holowaychuk. It embodies the philosophy of small modules and is designed to manage assets as well as JavaScript. Currently, there exist over 1600 “components”. Although there are more popular JS package managers than Component, I chose to cover it because […]