Node.js in Production
When running a node application in production, you need to keep stability, performance, security, and maintainability in mind. Outlined here is what I think are the best practices for putting node.js...
View ArticleBuilding a Real-time Scoring System for the NPGL
This Tuesday in Madison Square Garden, the National Pro Grid League will have its first regular season match. Three months ago, we started building the real-time scoring system that backs its events....
View ArticleWebRTC Made Simple
WebRTC is a set of JavaScript APIs that enable peer-to-peer, realtime communication between web browsers. It offers some pretty amazing capabilities, but getting through even a basic introduction to it...
View ArticleBacon.js + Node.js + MongoDB: Functional Reactive Programming on the Server
In this article, we’ll demonstrate usage of the Bacon.js library, implementing a Node.js chat application in functional reactive programming style. We’ll use the Socket.IO chat application example as...
View ArticleApple’s Built-in iOS 8 Usability Testing Feature
The gateway to a more uniform experience Hot Tip! For those of you that make decisions based on hierarchy, composition, and usability (read Designers) Apple gave us a great tool without even knowing...
View ArticleComposing Data Pipelines: (Mostly) Stateless Web Applications in Clojure
I describe building an application in a functional style as the act of composing many smaller, context-free functions into pipelines of data transformations which map from system inputs to outputs....
View ArticleTidying Up a JavaScript Application with Higher-Order Functions
Higher-order functions are functions that can do one or both of the following: Take a function or functions as arguments Return a function as an argument Most programmers by now are familiar with...
View ArticleVintage Terminal Effect in CSS3
#post_10554 p > iframe { display:block;} Recently I revamped my personal website. For the most part I kept it simple, having it generated by Middleman with styling and layout provided by Bootstrap....
View ArticleGettin’ Freaky Functional w/Curried JavaScript
Partial application refers to the practice of filling in a functions parameters with arguments, deferring others to be provided at a later time. JavaScript libraries like Underscore facilitate partial...
View ArticleComposing Synchronous and Asynchronous Functions in JavaScript
Our example application implements a function createEmployee that is used to create an employee from a personId. To create an employee, our system loads some data from our database, validates that...
View Article