Category Archives: JavaScript

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 

| 1 Comment

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 

| 3 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 

| 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 

| 3 Comments

Coffeescript vs. Javascript: Dog eat Dog

I’m happy to say that I’m now an official los techies “techie”!  Thanks to Chris Missal and all the other amazingly smart people who let me join the Los Techies crew.  Without further ado, this article is going to focus … Continue reading 

Also posted in Testing | 6 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 

| 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 

| 4 Comments

Getting Audio File Information With HTML’s File API And Audio Element

I’ve been cranking out features and capabilities on SignalLeaf for just over a month now, and it’s ever so close to being ready for some public beta testing. I do have one alpha tester, though. John Sonmez is slowly moving … Continue reading 

| 4 Comments

Consistency Problems With APIs In JavaScript Promise Libraries

Promises are a powerful way to handle asynchronous code in JavaScript. They give us a lot of opportunity to clean up code, and to write code that can register work to be done when the promise is resolved, whether or … Continue reading 

| 10 Comments

Making Heroku Run A NodeJS App From A Sub-Folder

Both SignalLeaf and a project I’m building for my day job at Kendo UI are running on NodeJS/ExpressJS servers, deployed to Heroku. I love Heroku and have been using it for a good number of years now. It makes deploying … Continue reading 

| 4 Comments