Semantics, Modules And Testing: Why (And How) I Test Internal Components, Not Private Methods

I saw someone tweet about a new-ish JavaScript library called Autooc. recently. I had not heard of it, so I clicked the link to find out more. It looks like an interesting project. I’ll have to look at it further … Continue reading 

Posted in AntiPatterns, Behavior Driven Development, CommonJS, Community, Javascript, Marionette, Modules, NodeJS, NPM, Principles and Patterns, Testing, Unit Testing | 1 Comment

Get Rid Of “locahost:#port#” With NGINX Reverse Proxies

I ran in to a situation recently where I needed to have one of my web projects running on port 80 on my Mac. Normally, when i start up this project in NodeJS, it runs on port 3000. But due … Continue reading 

Posted in nginx, Service, SignalLeaf, Web | 5 Comments

Getting The Real Client IP Address On A Heroku Hosted NodeJS App

I was building a new report for SignalLeaf last weekend, to get the RSS Subscriber count for a given podcast. Along the way, I was doing some research in to the best way to track that information. It turned out … Continue reading 

Posted in Heroku, Javascript, Metrics, Podcast, SignalLeaf | 3 Comments

A Short List Of Sci-Fi Novels Worth Reading

Small Update: If you’re interested in other books that I recommend, check out my aStore! — I’ve been reading a lot of sci-fi novels in the last few years, but especially in the last few months. I’m behind, basically, and … Continue reading 

Posted in Uncategorized | 18 Comments

When Do You Set The URL, In A BackboneJS App?

Oscar Godson recently asked a question about when to set the URL in a Single Page App (Backbone, specifically): I have a sidebar that pops in with form. It has a URL for it since it’s so commonly used. Going … Continue reading 

Posted in Backbone, Design Patterns, Javascript, Marionette, Principles and Patterns | 3 Comments

Group By Count With MongoDB And MongooseJS

In my last post about reports, I showed a simple script that gave me a count of customers. I used a similar query in SignalLeaf to give me the count of listens / downloads for episodes, too. This gave me … Continue reading 

Posted in Command Line, Design, Javascript, MongoDB, MongooseJS, New Category, Reporting, SignalLeaf | 3 Comments

Tracking Errors In Production: I Panicked And Grabbed My Credit Card

What’s the #1 sign that a product is adding significant value to my life as a developer? When my trial period runs out and I panic, scrambling to find my credit card so I can continue using the service!  Picking … Continue reading 

Posted in Marionette, Product Reviews, Tools and Vendors | 8 Comments

Minimum Viable Reports: A NodeJS Script And console.log

I’ve spent around 2 months building SignalLeaf, so far. It’s all after-hours and weekends, but I got the job done … well… I got a minimum viable product done. I at least solved some pain that I had been seeing … Continue reading 

Posted in Continuous Improvement, Javascript, Pragmatism, Productivity, SignalLeaf | 3 Comments

I’m Speaking At CodeMash 2014: SOLID JavaScript For A Wobbly World (wide web)

I just found out that I’ve been accepted to the CodeMash conference in January, 2014! WOO! :) SOLID JavaScript For A Wobbly World (wide web) Robert (“Uncle Bob”) Martin compiled a handful of principles in to a convenient acronym back … Continue reading 

Posted in Community, Design Patterns, Javascript, Principles and Patterns | 4 Comments

How To Set A Page Title And H1 Tag With A Single Jade Template Block

Yesterday, I accidentally figured out that you can use a Jade template “block” in more than one location, and any content you put into the block will show up in all of the locations. It’s a pretty simple trick, but … Continue reading 

Posted in Uncategorized | 1 Comment