Author Archives: abel
Yet Another Backbone.js Tutorial – Part 2 – Pre-Reqs & The Spec
Please checkout Part 1 where I explain the philosophy behind Backbone.js It’s time to build our Backbone.js app, “Comment on the Movies”. This tutorial will, ideally, give you something interesting to build. Take a look at the finished app (so far) on … Continue reading
Node Knockout 2011 Post Mortem
Node Knockout 2011 took place this past weekend. I signed up with the hope of being a “One Man Army” & winning the solo contestant award. I figured that NodeJs was so easy to use and so powerful (seriously, it’s freaking awesome) that … Continue reading
Quick Hits: Gotchas while Deploying a Sinatra App to Heroku
I figured it’d nice to deploy the tutorial Backbone.js app to Heroku. The tutorial app that we’re building, “Comment on the movies”, has a simple Sinatra backend & Heroku welcomes Rails & Rack-based apps. Here are the 2 gotchas that I … Continue reading
Yet Another Backbone.js Tutorial – Part 1 – Backbone.js Philosophy
At my new job I’m getting pretty friendly with Backbone.js. This 2-part post will teach you some backbone basics & show you how to create your own backbone.js app with multiple routes. Continue reading
Quick Hits: UIActionSheet cancel button strange behaviour
I just got bit by this and fixed it thanks to this StackOverflow post. http://stackoverflow.com/questions/1197746/uiactionsheet-cancel-button-strange-behaviour Long story short, if your launch an action sheet in a view that lives in a UITabBarController, the “hit” box for the cancel button gets … Continue reading
Quick Hits: Becareful when returning inc’ed vars
I noticed this in some MonoTouch code that I wrote recently, but I think it makes sense across other languages as well. Let’s say you write a method that returns an incremented variable like this: private int MyAwesomeFunction(int pVar) { … Continue reading
The 5 stages of 3.3.1
Developers have been up in arms on the news broken by Daring Fireball and TechCrunch. The reported change in the iPhone developer agreement definitely stops Flash developers from creating iPhone apps using the new tools available CS5, but the sword … Continue reading
Quick Hits: Localization strings in Monotouch
It’s pretty straight forward. Check out this post: Internationalising my app …and make sure the folders you use follow this format “[Language Abbreviation].lproj” as commenter #4 points out If you miss one of the major languages, your app will default … Continue reading
Quick Hits: When your .gitignore file gets…ignored
I made a mistake while creating a GIT repos that I’m hoping I can save you from making. I made my first commit on a project and I realized that a bunch of files were getting in that shouldn’t be. … Continue reading
Quick Hits: Sass demands syntax perfection!
Just a quick note about sass. Let’s say you had the following in /public/stylesheets/sass/foo.sass: body line-height:1.2em h1 color:red This would render a blank document for /public/stylesheets/foo.css. You won’t get an error about it, you’ll just get a blank document. Here’s … Continue reading