Category Archives: Javascript

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 

Also posted in Async, JQuery, NodeJS, Promises, Qjs, RSVPjs, User Experience, WinJS | 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 

Also posted in Deployment, ExpressJS, Heroku, JSON, KendoUI, NodeJS, SignalLeaf | 4 Comments

10 Uses for Realtime Web Technologies

By: Brad Carleton So far, this series on Building Realtime HTML5 Apps has been fairly abstract/technical, which is great for my inner nerd. But for this final article, I wanted to focus on real life uses for realtime web technologies. … Continue reading 

| Leave a comment

Realtime User Interface Design

By Brad Carleton This is the third installment in a series on Building Realtime HTML5 Apps. Most of the thoughts and ideas from these articles stem from my experience building bone.io, a realtime javascript framework. The previous articles focused on … Continue reading 

| Leave a comment

Single Page Apps & Realtime, a Love Story

This is the second in a series of articles on Building Realtime HTML5 Apps. In the first article, we looked at the difference between Websockets and AJAX as transport mechanisms for data. In this article, I wanted to explore why … Continue reading 

| Leave a comment

Inject Add-Ons And Plugins With RequireJS, Non-AMD Libraries And Shims

I’m using a few libraries that don’t have official support for AMD, in my current project with RequireJS. No problem – just shim the library in, and it’s good to go. Some of these libraries also need some add-ons and … Continue reading 

Also posted in requirejs | 10 Comments

A Demo Of BoEBot, Johnny-Five And Bluetooth

I recently purchased and assembled a BoE Bot kit for Arduino. It’s a product from Parallax, but I purchased mine through SparkFun (my personal go-to site for Arduino and related stuff). After getting it assembled and calibrated, I started hacking … Continue reading 

Also posted in Arduino, C, Command Line, JohnnyFive, Nodebots, NodeJS, Open Source, Screencast | Leave a comment

Browser Wars: Websockets vs. AJAX

This is the first in a series of articles on Building Realtime HTML5 Apps. I recently created a new framework called bone.io, and I wanted to share my thoughts and ideas on building realtime web applications. This series is going … Continue reading 

| 13 Comments

Learn Some Modern Web Development With Me!

So I have this friend that is pretty dang smart and has a lot of good ideas. We were chatting the other day about some neat things we are working on and in the end I convinced Brad to blog … Continue reading 

| 4 Comments

JavaScript’s “super” Pattern

Most other languages make it easy to call the “super” function when you override method – to call the original method that you are overriding. JavaScript, unfortunately, doesn’t have a “super” or “base” or anything like that at this point.There … Continue reading 

Also posted in Backbone, Principles and Patterns, Prototypal Inheritance | 8 Comments