Skip to content

Monthly Archives: May 2008

The RADAR Architecture

How many people out there love RADAR?  I’m talking about the so-called RADAR architecture as described by Dave Thomas. The core of the RADAR idea, to me, is simple.  Rather than build a large monolithic app, split it up into a REST Application Server and an HTML Presentation Server:

The Application Server should contain only what is needed [...]

Ruby HTTP libraries

Just in the last few minutes I began poking around at various HTTP libraries in Ruby. You’re probably familiar with the old-standby Net::HTTP.  Here are some higher-level alternatives that I have found, largely thanks to a previous blog discussion and reading RESTful Web Services.  I’ve quoted snippets from their home pages to give a quick overview.

httpclient -”httpclient gives something [...]

Cleanly import svn repository into git

There are quite a few blog posts about how to import a Subversion repository into git.  Simplistic Complexity’s write-up is the best I’ve seen on how to do it cleanly.  Here is a quick summary of the steps:
mkdir temp_repos; cd temp_repos
# init the git repository, do not import quite yet
git-svn init svn://repository_goes_here
# specify mapping from [...]

Visualize Ruby with MethodTrails

I recently open sourced a project called MethodTrails and gave a quick demo at the DC Ruby Users Group. MethodTrails visualizes the method call graph of Ruby source code. It generates a dot file that can be viewed with Graphviz. It requires Ruby 1.9, which gives you a great excuse to download the latest Ruby and [...]

An alternative to gitk: qgit

For the git users out there, I recommend qgit over gitk. I prefer qgit over GitNub as well, since I like to be able to see the graphical history of branches. I recommend installing from the qgit master repository to get the latest version. Here’s how:
sudo port install qt4-mac
cd ~/dev/sources/git-related
git clone git://git.kernel.org/pub/scm/qgit/qgit4.git
cd qgit4
less README
# follow the README [...]