[Ruby] hurl small urls with Camping

Mike Mondragon mikemondragon at gmail.com
Fri Jul 13 17:09:39 PDT 2007


To learn Camping I wrote an application to create small urls like the
Rails based urltea.com or rubyurl.com.  Here's the cute link:

http://hurl.it/

If you use Hurl and find a flaw please let me know.  It responds to
application/xml so you could incorporate Hurl as a service in another
application.

I open sourced Hurl in case you are interested in writing a Camping
application or have suggestions for me about its Ruby code.

Some things you might find interesting in the background of Hurl is a
discussion of rolling your own SysV init.d scripts for Ruby
applications.  Testing a Camping application with Mosquito.  Tuning
ActiveRecord backed by MySQL to use the MyISAM engine for performance.
 An implementation of a base 62 number.

Source
svn checkout http://svn.mondragon.cc/svn/hurl hurl

Announcement and links to related information
http://blog.mondragon.cc/articles/2007/07/04/small-urls-with-camping


More information about the Ruby mailing list