Passport Authentication for Node.js Applications
In this tutorial, we'll be implementing authentication via Facebook and GitHub in a Node.js web application. For this we'll be using Passport, an authentication middleware for Node.js. Passport...
View ArticleDataflow Programming with Straw
Dataflow is a programming model that has been around since the dawn of computing. Although dataflow programming has languished in obscurity for much of that time, it's finding new life due to the...
View ArticleControlling Your Android Phone with the Wave of a Finger
My definition of fun these days involves tinkering around with different technologies and seeing how I can play them off each other. Like a crazy conductor waving his arms wildly to get an orchestra to...
View ArticleLocal Authentication Using Passport in Node.js
In Passport Authentication for Node.js Applications, I talked about authentication using Passport as it relates to social login (Google, Facebook, GitHub, etc.). In this article, we'll see how we can...
View ArticleA Chat Application Using Socket.IO
In this article, we are going to build a simple chat application using Socket.IO and Backbone.js. Socket.IO is aimed at developers who want to start developing highly interactive, real-time web...
View ArticleTesting Across Node.js Versions Using Docker
NAN is a project designed to assist in building native (C++) Node.js add-ons while maintaining compatibility with Node and V8 from Node versions 0.8 onwards. V8 is undergoing major internal changes...
View ArticleEnter the World of Node.js
Everyone talks about Node.js these days, but you're not quite sure what it is? Or, do you just want to impress your friends with some nerd knowledge? This article will take you on a quick ride through...
View ArticleBuilding a Recipe Search Site with Angular and Elasticsearch
Have you ever wanted to build a search feature into an application? In the old days, you might have found yourself wrangling with Solr, or building your own search service on top of Lucene — if you...
View ArticleControlling an Arduino with NodeJS and Johnny-Five
One of the advantages of being a JavaScript developer is the array of APIs and frameworks that bring a whole new level of possibilities to what previously was restricted to web development. A great...
View ArticleAn Introduction to the MEAN Stack
The term MEAN stack refers to a collection of JavaScript based technologies used to develop web applications. MEAN is an acronym for MongoDB, ExpressJS, AngularJS and Node.js. From client to server to...
View ArticleCreating Slick HTML Presentations Using reveal.js
Doing presentations wasn't something new. But this time it had to be special, we had competition. Presentations are a way to create an overall impression. And, to create an impression we needed...
View ArticleUsing JSON Web Tokens with Node.js
Front end frameworks and libraries such as Ember, Angular, and Backbone are part of a trend towards richer, more sophisticated web application clients. As a consequence of this, server-side components...
View ArticleManaging Dates and Times Using Moment.js
Working with dates and times has always been a bit cumbersome. I've always thought that a JavaScript library for manipulating dates would be quite helpful. It was only recently that I was introduced to...
View ArticleAutomate Recurring Tasks with Grunt
I'm a recent convert to using Grunt.js to run tasks that are an essential part of my development workflow. Grunt is a command-line tool that lets you run a heap of tasks in one command, all customized...
View ArticleUsing npm link in Node.js
Have you ever wanted to work with local npm modules elegantly, without the need to officially publish them? In this video I introduce the "npm link" command, which helps you solve this issue in a...
View ArticleUnderstanding asm.js
asm.js is currently a trendy subject in web development. Reading a complete guide about asm.js, its goals, and its roadmap is impossible because you'd have to read multiple articles and put them...
View ArticleGetting Started with Browserify
JavaScript implementations have been getting more and more complex as the beautiful beast we call the web evolves each year. Many of us now work with JavaScript modules - independently functioning...
View Article6 Tips for Writing Better Code
In any given week I can expect to write at least a few hundred lines of code in around four different languages. I can also expect to edit, review, and collaborate on code written by the other...
View ArticleCreating RESTful APIs with Express 4
With the release of Express 4 it has gotten even easier to create RESTful APIs. If you are creating a Single Page App you will definitely need a RESTful web service which supports CRUD operations. My...
View ArticleUnderstanding module.exports and exports in Node.js
As developers, we often face situations where we need to use unfamiliar code. A question will arise during these moments. How much time should I invest in understanding the code that I'm about to use?...
View Article