home

Don't Name Your Inputs 'Action' or 'Submit'!

Most browsers have a bug that isn’t really a bug. In fact it was purposely put there to make your simpler, but if you (or someone else writing the HTML code) do something in the right (read “WRONG!”) way, it could completely blow up. Specifically, if you assign your input tags a name or id attribute of “action” or “submit”, you can cause some very well hidden bugs.

Speed Up jQuery Development With CodeLobster

jQuery is, for the modern JavaScript developer, an essential library to master. It comes fully-featured with all the DOM manipulation, event management and AJAX functionality that today’s web applications require. But JavaScript’s dynamic nature means that coding can be a drag. When you can’t tell your this from your that, you need professional-grade tooling like CodeLobster to fit the pieces.

Patterns for Asynchronous Programming With Promises

Promises are currently the best tool we have for asynchronous programming and they appear to be our best hope for the forseeable future, even if they’ll be hiding behind generators or async functions. For now, we’ll need to use promises directly, so we should learn some good techniques for using them right now, especially when dealing with asynchronous operations on collections, whether they happen in parallel or sequentially.

Better Backbone Applications With MarionetteJS Giveaway

This post serves a dual purpose: first of all it is to announce (to anyone who hasn’t see the original announcement on my social media accounts) that the book that I’ve been writing for the past year - that has kept me from more actively working with my blog - is finally finished! Second, I’m giving away 3 copies of that very same book! That’s right, I’m holding two giveaways at once: one for Backbone.js Patterns and Best Practices and one for my very one Better Backbone Applications with MarionetteJS!

Synchronizing Asynchronous JavaScript With ES7

ECMAScript version 5 is the latest complete version of JavaScript available and is implemented in every major browser, but ES6 is in the works and promises a much better world for JavaScript developers with features such as a simple class syntax, arrow functions, built-in promises and the like. It doesn’t stop there, though; we’re already looking ahead to ES7 while ES6 is still cooking in the oven. In particular, I’m extremely excited about asynchronous functions.

Backbone.js Patterns and Best Practices Ebook Giveaway

The title may be a bit misleading. Yes, we’re having a giveaway, but we’re giving away so much more than just a copy of Backbone.js Patterns and Best Practices. I’m also giving away my personal computer, the rest of my physical book collection, all of my passwords for all of my online accounts, half of my income each month for the rest of my life, aaaannnddd you’ll take over as Google’s CEO. I hope that was sufficiently obvious that it was an April Fool’s joke, which of course is obligatory when posting on this day.

Why Adapters and Facades Are Awesome

It’s been a long time since I’ve actually been on here teaching you something; 9 months since my last actual tutorial and really useful article. Sorry about that! I’m trying to get back on track now though. You should see much more frequent posting and hopefully some very useful posts. Anyway, this tutorial is about a great idea I implemented at work that involved the Adapter and Facade patterns. After using these patterns in this way, I have a much deeper respect for them and I want you to share that repect, so let’s take a look at some awesome ways/reasons to use them!

Book Review: Backbone.js Patterns and Best Practices

Every once in a while I get around to reading a book. Books are typically nicer than blog posts because they show the whole picture instead of zeroing in on a tidbit. I was contacted by Packt Publishing to do a review of Backbone.js Patterns and Best Practices. I was excited about this book because it had been a while since I read a good book on Backbone and the title gave the impression that it could be insightful to someone at my experience level with Backbone. So, did it live up to my expectations? Yes and No.

Rebranding for the Future

You all know that this site has been relatively inactive for quite a while. Well, I’m here to let you all know that big things are coming in the future. I wish I could say they will be coming soon, but until the book I’ve been writing it finished, I won’t be able to provide much, if any, content here for you all. Coming in early 2014, though, everyone should be happier. Here’s an update on the future of this blog.

I Have Some Announcements/Excuses to Make

Hi everyone! It’s been nearly two months since I’ve written my own post. This is pretty much unacceptable, but I do have some good excuses. Are you willing to listen to them? Or are you just gonna ignore this? Whatever, either way I don’t care too much. I just want to give an update on what is going on around here so you know what to expect and aren’t disappointed when you don’t see anything going on.