When you create an application programming interface (API), you’re establishing a contract with everyone who uses it. This too is true for web service APIs. As soon as someone begins using an API, changes require coordination between all clients in order to prevent breakage, costing precious time and money.
Rails API versioning to the rescue: In order to allow breaking changes to an interface, we can version it so that clients may specify exactly what representation they expect for their requests. Then they are able to decide for themselves when it is time- and cost-effective to upgrade their dependency.
Dependency injection refers to the design principle of telling a class which other objects its instances should work with, improving the flexibility with which the class can be used in different contexts. There are no special tools or libraries needed, and it’s easy to adopt dependency injection in legacy code to enable testability.
It surprised none of us when San Smith was named our most recent Big Nerd of the Month. As Office Manager, San makes all of our lives easier, and in March, she was a driving force behind our recent move to our new Intergalactic Headquarters.
We sat down with her to find out more about this wonder who wrangles all the Nerds.…
Big Nerd Ranch fan Dave McKinney recently gave himself one month to learn some basic programming skills and build an iOS app from scratch. Starting with zero code experience, would he be able to learn enough to make a simple app and submit it to the App Store?
Our Nerds are attending and speaking at conferences around the globe. Here’s a roundup of where we’ll be in April:
April 2-3: Pamela Overman Vickers, Kylie Stradley, Blithe Rocher and Laura Cassell will be attending Great Wide Open.…
Although the iOS 7 adoption rate is now at 85 percent, many developers still need to support iOS 6. I’ve seen people struggle with designing their interfaces so that they look at home on both versions of the operating system. This blog post will show you the best practices for achieving this goal.
We try to explain what it’s like to attend a Big Nerd Ranch bootcamp. We’ve written about it on our website, describing the courses and the locations, and we’ve even made a video starring the man in the hat himself. But sometimes the bootcamp is best explained by those who have been on the front lines.
The British author Arthur C. Clarke is renowned for his three laws of prediction involving technology, and the third and most famous law can be stated thusly:
“Any sufficiently advanced technology is indistinguishable from magic.”
We live in an amazing time.…
I recently attended a Google Glass Design Sprint hosted by the Glass team. I’ve been working on various Glassware since July, but this was the first formal design process I’ve gone through. I learned a few things by putting myself in the mind of a designer.…