Don’t Rely Solely On jQuery’s “keyup” Event

A few days ago I pushed some changes to the form validation up to my WatchMeCode website. I was trying to fix a scenario where a browser cache would have some of the data in the purchase form already filled … Continue reading 

Posted in Backbone, Javascript, JQuery, Test Automation, Validation | 5 Comments

Modularity And Security In Composite JavaScript Apps

In one of my current apps for a client, I have an activity based security system that determines what the user is allowed to do. The trick to this system is that all of the authorization checks happen on the … Continue reading 

Posted in Backbone, Backbone.Marionette, Composite Apps, Javascript, Security | 9 Comments

Rant: That’s Not Rest.

I’ve asked for an explanation, definition, blog post, book, or any other source of material that can get me up to speed on REST in web development a number of times. It’s a popular subject these days, and there seems … Continue reading 

Posted in REST | 15 Comments

Some Thoughts On Functional JavaScript

Just for fun I decided to put together a quick sample of some functional JavaScript – as in, functional programming done with JavaScript. I’m not really very familiar with functional languages other than playing with Haskell a bit and doing … Continue reading 

Posted in DSL, Functional, Javascript | 15 Comments

HTML5 And Internet Explorer: Modernizr To The Rescue!

My wife wanted to see my WatchMeCode website so she could post it on her Pinterest (which is a site I don’t understand… but that’s beyond the point). IE Hates HTML5 She pulled it up on her work laptop, which … Continue reading 

Posted in HTML5, User Experience | 6 Comments

Composition Of Responsibility vs Interface Implementation

This started out a comment in a Google+ stream, which is in response to the brujahahahahalols that have been going around concerning ActiveRecord, FubuMVC and Rails. I’m not defending any of these posts or perspectives. I have my own opinions … Continue reading 

Posted in .NET, C#, Mongoid, Philosophy of Software, Principles and Patterns, Rails, Ruby | 10 Comments

Reducing Backbone Routers To Nothing More Than Configuration

I received an email from someone who was looking through my BBCloneMail and Backbone.Marionette source code. One of the comments they made talked about how my router callback methods were nothing more than pass-throughs, calling out to another object. (I … Continue reading 

Posted in Backbone, Backbone.Marionette, Javascript | 2 Comments

The Responsibilities Of The Various Pieces Of Backbone.js

In my last post on Backbone, I offered my opinion on why I don’t look at Backbone as an MVC framework. I left off with a statement about forgetting the MV* family for a moment, and focusing on what’s really … Continue reading 

Posted in Backbone, Javascript | 5 Comments

Automating Docco Generation And Deployment To Heroku And Github

I got tired of manually typing “git push origin master” and “git push heroku master” to push changes in my BBCloneMail app up to Github and then deploy to Heroku. So I automated that with a rake task. Then I … Continue reading 

Posted in Command Line, Deployment, Git, Rake | Leave a comment

Backbone.js Is Not An MVC Framework

I’ve seen this question / statement / argument more than a few dozen times. I don’t particularly care whether or not people try to understand Backbone in terms of MVC frameworks, because that’s how we learn. We adapt new ideas … Continue reading 

Posted in Backbone, Design Patterns, Javascript, Model-View-Controller, Model-View-Presenter | 11 Comments