home

The Huge Update to Twitter Bootstrap

It may not be ready for production, but the release candidate for version 3 of Twitter Bootstrap is a huge change from 2.3 and has me very excited about its future. Sadly, they have done very little related to JavaScript, but that doesn’t mean I can’t enjoy it. Let’s take a quick look at some of the major changes appearing in Twitter Bootstrap 3, CSS and JavaScript alike.

Saving Bits and Pixels: The Geek's Gospel

I know that this blog is supposed to be about programming in JavaScript, but this blog is also personal. Personally, this is very important to me, even more important than any application that can be created by human hands. I’ve come to realize that there are many people who have no idea what the Gospel is, or they have misconceptions about it, or just lack understanding of it. I’ve come up with this analogy that I believe many will be able to relate to. It is imperfect, just like every other analogy out there, but it gets the point across and can help bring us all a little understanding of how God feels about us and what he did for us.

Using Marionette to Display Modal Views

For a while, I’ve been thinking about how best to handle showing modal dialog boxes for my applications while utilizing Backbone views. A lot of interesting ideas passed through my head, but none of them seemed exactly right. Then I saw a post by Derick Bailey where he described how he uses Marionette’s Regions to handle the work. His post is a bit on the old side and Regions have changed a bit since, so I decided to look into how to do it myself.

A Thorough Introduction to MarionetteJS on Smashing Magazine

Hey everyone. I’m sorry that I’ve been neglecting you all so much. I can’t believe it’s been two months since I last posted something on here. In short, I’ve been very busy. I’ve written several articles for other blogs, and that’s actually what this post is all about. If you’re not following some of these blogs, you may have been missing out on some of my work. So here’s what I wrote in my absence from this website.

Spinal Surgery: Upgrade to Backbone 1.0

Hey everyone! Backbone 1.0 has been released! I just happened to pop by their site and see that 1.0 is official, so I have no idea how long it has been out. Why didn’t anyone tell me?!?!? Anyway, there may be some of you out there wondering what this new version brings and how they can update their apps to bring in all the new awesomeness. Well, let’s take a gander at this new stuff.

It's Time to Move On: The End of Weekly Posts

This is hard for me to say because I know that there are a lot of people out there who have come to expect and enjoy the weekly posts on this site, but I have to leave the weekly post behind. Don’t worry, I’ll still post, but not very often.

Lazy Loading JavaScript With RequireJS

As sites are filled with more and more JavaScript, images, and other external assets, web pages have become more and more bloated and performance has started to become an issue. We’ve started to reduce the number of requests by concatenating our JavaScript and CSS files and using image sprites. We’ve shrunk file sizes by minifying and obfuscating our code and optimizing our images. All these measures are good, but they may not be enough. If you have a large JavaScript application, you could have a ton of JavaScript being loaded in that single concatenated file, and a lot of the code may be going to waste because it isn’t used. Let’s try to “lazy load” some of that code using RequireJS.

Announcement: Probable Down Time

I have exciting and potentially dreadful news. Currently this site is hosted on my previous employer’s servers. I’m currently taking steps to migrate this site to my own hosting. This is great news, e

JavaScript Asynchronous Architectures: Events vs. Promises

I can’t go a single week without reading another article talking about promises. I’m not talking about when you promise your child that you’ll be there for his baseball game. I’m talking about a JavaScript concept that makes it simple to react to the completion of asynchronous actions without indenting ten levels when you need to perform one asynchronous action after another. While working on a Backbone application, I tried to use promises in my main asynchronous processes, and I’m not sure it measures up to my previous event hub architecture. Let’s compare!