Monthly Archives: December 2007

Closures and the return of the return

I attended Joshua Blochs’ presentation on closures at JavaPolis last week (watch the video here). This slides about return not return from what you’d expect kept me wondering: how do other languages solve this ‘problem’. The example from Bloch, taken … Continue reading

Posted in closures, java, ruby | 13 Comments

How Elvis showed me a neat way of using operators in Ruby

Recently the Groovy team introduced a new operator to the Groovy language. It is called the Elvis operator. There is one thing I particularly like about this operator. It’s name. To bad the Elvis operator is only a shortening of … Continue reading

Posted in groovy, ruby | 5 Comments

Javapolis 2007 – Day 3

Wicket 2 (Martijn Dashorst) I knew that a talk labeled ‘Wicket 2’ was a bit suspicious. There is no such thing (anymore) as Wicket 2, the latest release is 1.3 and upcoming is 1.4. I have played around with Wicket … Continue reading

Posted in javapolis2007 | 1 Comment

Javapolis 2007 – Day 2

Keynote The opening keynotes seem to involve quite a bit of Adobes’ Flex this year. I must say I’m getting less skeptical, the upcoming version of parleys.com (presented by Stephan Janssen) which is build in Flex and Air (for being … Continue reading

Posted in javapolis2007 | Leave a comment

Javapolis 2007 – Day 1

This year I visited Javapolis for the second time. I won’t even try to write an accurate journal of everything I’ve seen/heard; it’s just to much. I did however make some notes and pictures to give you an impression of … Continue reading

Posted in javapolis2007 | Leave a comment

SOA and ESB stencil for Omnigraffle released

Over the weekend I’ve put some time in creating a basic SOA and ESB stencil for Omnigraffle. I’m pleased with the results: I’ve decided the give the stencil its’ own page containing more details, the and installation guidelines and will … Continue reading

Posted in esb, omnigraffle, soa | 3 Comments

The virtues of HPricot: scraping DZone

I couple of days ago I was looking at XML parsing solutions available in Ruby. I played a bit with REXML, a conformant but kind of dull XML processor, it works great. When working with less conformant XML-like (like websites) … Continue reading

Posted in ruby | Leave a comment

Using Rails without a database

Today I was fiddling with Rails to create a simple web UI on top of some REST services. Therefor I didn’t really need (or is it really didn’t need) a database server. Just writing and running Rails code without a … Continue reading

Posted in rails, ruby | 6 Comments

Using propertyMissing to enhance Date (in Groovy)

In my previous post I had a go at dates and ranges in Groovy. I wasn’t to enthusiastic about the fact that it felt a bit verbose and Java-ish. So I took the opportunity to have a go at the … Continue reading

Posted in groovy | Leave a comment

Ranges with dates (in Groovy)

During my previous ramblings with Groovy I didn’t touch anything fancy in the Date/Calendar API; no need for it. But after reading a lengthy blogpost on the topic I just needed to have a look at it. Consider the following … Continue reading

Posted in groovy | 9 Comments