The best way to learn a new programming language/environment is to make something practical with it.
To that end, Dave and I started a little side project called (at this point) NDWall. It’s an implementation of a “wall” where new messages can be posted and the 10 most recent can be viewed. The server-side api is very simple. Just two methods (GET and POST) on the api resource. The data transport is JSON, the lingua franca of web APIs.
We’re each making our own version of the client, written in Objective-C using the iPhone SDK. To help light the fire, the first version of the client must be written by midnight on Saturday, October 18th. The first version must do just two things:
- Allow posting a new message to the server.
- Download and display the last 10 messages from the server.
We started doing this about a month ago, but kept pushing the deadline off as it approached, so this time, we agreed that whoever didn’t deliver this time would have to put $20 into a jar*.
I think it’s working. This past Saturday, there was much documentation reading and code typing and instant message sending going on. Tonight, I got my client to pull the data down for the first time.
This is fun.
- jar money purpose not determined at this time.