Ruby Banter #002
After our presentation at RubyEnRails 2007 we decided to share some of our code snippets with the world. Here is the second episode in which Manfred shows how you can make your objects sortable by defining the boat operator.
After our presentation at RubyEnRails 2007 we decided to share some of our code snippets with the world. Here is the second episode in which Manfred shows how you can make your objects sortable by defining the boat operator.
Let’s meet up one more time before the holidays. The goal remains unchanged: a good chat about our experiences with Rails, Django, Seaside and other next generation web frameworks over a strong cup of coffee.
When: Thursday, July 5th, 2007, 9:30 AM
Where: The Coffee Company on the corner of the Nieuwe Doelenstraat and the Kloveniersburgwal in Amsterdam
Please leave a comment to tell us you’ll be there or if you have any questions.
After our presentation at RubyEnRails 2007 we decided to share some of our code snippets from the presentation with the world. Here is the first episode in which Norbert shows function composition in Ruby.
Yesterday the three of us attended RubyEnRails 2007, a Dutch one day conference about Ruby and Rails held in our hometown Amsterdam. We had a great time meeting up with all kinds of Rails developers, almost Rails developers and entrepreneurs.
Nic Williams kicked off the conference being his Australian self and sporting his caboose shirt. In his talk he layed out his views on the future of Rails.
Norbert and I did a live hacking session with Ruby, we showed a few ways to clean up your Ruby code and a few ways to make it almost unreadable. I think we lost some people along the way, but I hope everyone enjoyed the talk.
One of the things that struck me at the conference was that the talks were really diverse, with lots of real world examples and live coding. As Geoffrey Grosenbach mentioned in his closing talk, this really gave the conference it’s own identity. I hope to see more of this in the future. Next stop, RailsConf Europe.
Geoffrey Grosenbach interviews Robert Gaal
On the right Justin Halsall
Eloy Duran and Nic geeking out after a talk
If you’re thinking of building a cool snazzy Rich Internet Application front-end in Flex for your RESTful Rails application then please stop dreaming.
There’s no way to extract the headers from an HTTP response in ActionScript 3 so you can’t get the id of a newly created resource from the ‘Location’ header and you can’t tell the difference between a ‘500 Internal Server Error’, a ‘404 Not Found’ or a ‘422 Validation Error’.
There’s also no way to get the response body for anything not in the 2xx range.
Oh, and you can only do a GET or a POST, no PUT or DELETE, at least not without a proxy.
If you can prove me wrong, please do.
We’ve been having fun with the fact that our friends at 37signals forgot to escape HTML in the lobby of Campfire.
This iPhone ad must be one of the best tech ads ever. They’re so proud of the user interface that they don’t mind showing you the individual pixels in this close-up:

And they didn’t even bother to edit out the loading of the Google map tiles:

No special effects, no tweaks; they’re just showing you the real thing.