Archive for the ‘Programming’ Category

Introducing GMoney – A RubyGem for Interacting with the Google Finance API

February 1, 2010 – 1:00 am

Update March 03, 2010:Due to changes in the Google Finance API only GMoney gem versions >= 0.4.3 are working. If you run gem update gmoney to get the latest version or install the gem from scratch you will be fine. Let's pretend the year is 2007 and I have ...

Create a Photostream Using jQuery and the Flickr API

January 12, 2010 – 9:18 pm

Recently I added a Flickr photostream to the footer of the home page of this blog and I thought it would be cool to post an entry on how you can use jQuery and the Flickr API to do the same. Even if you're not familiar with jQuery or ...

Ruby Screen Scraping with scRUBYt!

April 27, 2009 – 6:00 am

I am currently in the market to buy my first home so I've been spending a lot of time on various real estate websites searching through listings trying to find the perfect property. I live in a competitive housing market so it is important that I am informed whenever ...

Groovy Domain Specific Language Tutorial

August 17, 2008 – 8:42 pm

Although it may seem like an advanced topic, writing a simple Domain Specific Language (DSL) in Groovy is actually pretty easy. Groovy's dynamic nature and metaprogramming capabilities give developers all the tools they need to quickly and easily write their own DSL.

Putting Google Finance to REST with Ruby

July 23, 2008 – 2:43 am

RubyNation is just a week and a half away and in order to prepare myself I thought I'd brush up on some Ruby and Rails in the days preceding the conference. I don't use Ruby on a regular basis, but I'm a huge fan of dynamic languages so I'm ...

Putting Google Finance to REST with Groovy

July 16, 2008 – 11:07 pm

For a while now I've been interested in learning more about building and consuming REST based web services. Fortunately, many tech giants including Google and Yahoo expose much of their data and functionality through REST based APIs. These powerful APIs, combined with Groovy's concise, readable syntax make it ...

Groovy Metaprogramming – Creating Behavior on the Fly

July 8, 2008 – 12:07 am

In my previous post I talked about dynamically adding behavior to Groovy classes using either the ExpandoMetaClass or Categories. These techniques are especially useful if you know which methods you would like to add to your classes prior to actually writing any code. But what if you don't ...

Groovy Metaprogramming – Adding Behavior Dynamically

June 29, 2008 – 10:00 pm

I've been fascinated with languages like Ruby and Groovy ever since being exposed to their dynamic capabilities. I remember attending a No Fluff Just Stuff conference a few years ago and being awestruck while watching Dave Thomas build a full-blown Rails application within a matter of minutes. Dynamic ...

Easy AOP with GroovyInterceptable

June 18, 2008 – 2:56 pm

Aspect Oriented Programming (AOP) is a technique that can be used to eliminate the repetition of cross-cutting concerns (logging, security, transaction management, etc.) in code. AOP is useful because it provides programmers with a single point at which code can be modified and take effect across an entire system, ...