Bringing Rails-Like Migrations to JavaScript with Knex.js

With a little intuition and a lot of help from Google, we stumbled upon Knex.js—an SQL query builder that is meant to be flexible, portable, and fun to use.


Rethinking the JavaScript Ternary Operator

Lots of people treat the ternary operator with suspicion. At first glance, ternaries appear unnecessary. Nothing more than a tool for the overly clever to trim some characters from their code. A favourite hack for coders who don’t care about readability. ... (more…)

Read more »