Minty: Wrapping It Up

So, What Do We Have Here? In the last post I used Node’s event library to help me unwind the callback Pyramid of Pain. I then used eventing to wire different modules together, just the way I...

Minty: Working The Evented Pattern

Refactoring, Refactoring I’m stumbling my way to something interesting here… but things aren’t feeling exactly right. I do like the way that my code is a bit cleaner using the Event...

Minty: Conveying an API

Feedback So Far I’ve received a number of great comments – thank you! People seem to be of the same mind that the original model was hard to follow and no fun. I agree. Opinions are...

Minty: Refactor 1 – Moving To a Document DB

Image Credit: This Can Be Simpler In my post about building the model I kicked up Sequelize, defined an Article, and went about my business: var Sequelize = require("sequelize-sqlite").sequelize; ...

Minty: Razing the Pyramid of Pain

##So Much Code For Such a Simple Thing… I can barely type that sentence without feeling a twinge of … not-happy. In the last post I showed some code that probably looked a bit weird if...

Minty: Sanity Check One

Before We Get Too Far One of the reasons I like spiking things is so I can get a feel for what my code will grow into. I’ve written so much crap in the past – it would pain me to do it...

Minty: Writing The First Specs

##Where To Start? All I have right now is the notion of an Article – a pretty basic idea of a “model”. I hesitate to call it a model because the only definition I have for it is a...

Minty: Defining the Model

What’s a Model? If you’re a Rails fan, a Model is where you drop validations, hooks, and some custom methods. In .NET it might be a place to define what Entity Framework shoves into your...

Minty: The First Steps

What Are We Doing? I have an idea, now it’s time to flesh it out. In a traditional setting you may have sat with “stakeholders” or clients and fleshed out some requirements –...

Hello Minty

My Boss Wants Me To Build This Node App… I get quite a few emails like this – all centering on a single question: I need to build a Node app for work and I know Javascript OK and I...