Category Archives: JavaScript

Let Me Teach You Arduino, With JavaScript!

Ever wanted an excuse to learn Arduino, but don’t want to learn C/C++? Don’t worry. I’ve got you covered.  I’ve published three articles on the Safari Books Online blog that show you how to take your existing JavaScript skillz and … Continue reading 

| 2 Comments

Prototypes, Constructor Functions And Taxidermy

When overriding the base `Backbone.View` to create your own view types from the base views, there are some issues that you may run in to with inheritance. The inheritance of constructor functions can be broken in strange ways, and code … Continue reading 

| 8 Comments

Slap-Slides: Arduino Powered Veggie Chopper Slide Deck Controller

A few weeks ago I half-jokingly tweeted about my desire to turn a SlapChop in to a presentation controller … like I said … “half-jokingly” I give you the Slap-Slides, proof of concept! (no audio) <iframe> The code is written … Continue reading 

| 1 Comment

MarionetteJS v1.0

Hot on the heels of the Backbone v1.0 release, I present MarionetteJS v1.0! I quietly released it over the weekend, and I’m glad I did. I already had a bug report and have released v1.0.1 to fix it. :D The … Continue reading 

| 14 Comments

Event Aggregator And/Or/vs Mediator: A Tale Of Two Patterns

Design patterns often differ only in semantics and intent. That is, the language used to describe the pattern is what sets it apart, more than an implementation of that specific pattern. It often comes down to squares vs rectangles vs … Continue reading 

| 20 Comments

Method Rewriting: Running With A Lit Stick Of Dynamite

I had a problem I wanted to solve. I thought to myself, “I know! I’ll use function rewriting!” and it was good… I solved the problem. But I also introduced some other problems regarding method references and event handlers.  Method … Continue reading 

| 7 Comments

MarionetteJS Screencasts And Videos

There’s been a lot of movement with MarionetteJS and screencasts in the last few months – enough that I decided to add a new “videos” section to the website this weekend. It’s a short list right now, but I expect … Continue reading 

| 3 Comments

Managing Events As Relationships, Not Just References

In my Scaling Backbone Apps With Marionette talk, I have some slides that deal with JavaScript zombies in Backbone apps. This isn’t a new subject by any means. It is one that I talk about a lot, and spend a … Continue reading 

| 15 Comments

Interview With Upfront Podcast: Backbone And Marionette

I was fortunate enough to be the first guest on the Upfront Podcast this week. It’s a new podcast hosted by Jack Franklin and Ben Howdle, focused on all things front-end web development. You’re going to want to add this … Continue reading 

| Leave a comment

Node.js Must Know Concepts: Asynchronous

When writing node applications, there are a few concepts that are important to understand in order to create large-scale applications. I’m going to cover a few concepts that I think are important when building non-trivial sites with node.js.  If you … Continue reading 

| 8 Comments