Archive for the ‘Development’ Category

Steve and Bill at All Things Digital

Videos of the complete Steve Jobs and Bill Gates interview: Steve Jobs and Bill Gates Prologue Steve Jobs and Bill Gates Part 1 Steve Jobs and Bill Gates Part 2 Steve Jobs and Bill Gates Part 3 Steve Jobs and Bill Gates Part 4 Steve Jobs and Bill Gates Part 5 Steve Jobs and Bill [...]

J2ME and RESTful Web Service

I’m currently working on project involving a J2ME client on a mobile phone connecting to a Rails RESTful web service. As you might know, a RESTful web services utilizes the four HTTP verbs GET, POST, PUT and DELETE. So yesterday we started to write unit tests, running on a J2ME device, which test if the [...]

Rails find :conditions

The Rails application I’m currently working on accepts URLs like: GET /submarks GET /submarks?lat=:latitude&lng=:longitude GET /submarks?lat=:latitude&lng=:longitude&user=:user_id GET /submarks?lat=:latitude&lng=:longitude&channel=:channel_id GET /submarks?lat=:latitude&lng=:longitude&channel=:channel_id&user=:user_id All query parameters are optional, only lat and lng have to appear together. On the Rails end, I have a Submark model with the attributes: lat, lng, user_id and channel_id. So how do you implement [...]

Missed it

Although I’ve been using Rails for some time now, I somehow missed out on DHH’s speach during lasts RailsConf. If you are working on CRUD or RESTful Rails applications (if you don’t, you should), and haven’t seen it yet, you are definitely missing out too! “Here, briefly, is an outline of the talk: Discovering Resources [...]