Archive for the ‘jamesh’ Category

A Beginner’s Guide to HTML5 Cross-Browser Polyfills

Posted on: No Comments
The web can seem fast moving. New frameworks, tools, and even languages come and go. Yet many developers feel that they have to move as fast as their slowest user. New browsers are ‘evergreen’ — they auto-update unseen in the background witho...

How to Bundle a Simple Static Site Using Webpack

Posted on: No Comments
Webpack is all the rage right now. It has over 30,000 stars on GitHub and has been embraced by some of the big guns in the JavaScript world, such as the React and Angular. However, you don't need to be working on a large-scale project to take advantage...

6 jQuery-inspired Native DOM Manipulation Methods You Should Know

Posted on: No Comments
When jQuery was released, one of the main reasons behind its meteoric rise to popularity was the ease with which it could select DOM elements, traverse them and modify their content. But that was way back in 2006. In those days we were stuck with Inter...

A Practical Guide to Planning a MEAN Stack Application

Posted on: No Comments
A Practical Guide to Planning a MEAN Stack Application is an excerpt from Manning’s Getting MEAN with Mongo, Express, Angular, and Node, Second Edition. Getting MEAN, Second Edition is completely revised and updated to cover Angular 2, Node 6 and the...

Using MySQL with Node.js & the mysql JavaScript Client

NoSQL databases are all the rage these days and probably the preferred back-end for Node.js applications. But you shouldn't architect your next project based on what's hip and trendy, rather the type of database to be used should depend on the project'...

Should Users be Permitted to Disable JavaScript?

Posted on: No Comments
I last raised this question back in 2013 when Mozilla decided to remove the "disable JavaScript" setting from the options dialog in Firefox 23. The primary reasoning: Much of the modern web can break spectacularly without JavaScript. It saves users f...

Back to Basics: What are Callbacks in JavaScript?

Posted on: No Comments
When learning JavaScript, it doesn't take long until you encounter callbacks. These might seem strange and mysterious to beginners, yet it is very important to understand how they work in order to harness the power of the language. In this article I wi...

BDD in JavaScript: Getting Started with Cucumber and Gherkin

By now, everyone has heard about Test Driven Development (TDD), and the benefits that this can have on your product and your development lifecycle. It's a no-brainer really. Every time you write a test for a piece of code, you know that code works. An...