Tag: Ruby

Thumb_290872_5170

DTrace and Ruby on Rails with Leopard/Snow Leopard

4 Nov 2009 at 1:46pm

Having just launched a major Ruby on Rails site, there has been a period during which we’ve had to improve performance dramatically. While most of the benefits have been had by using a custom Rails middleware class there have been a number of actions that aren’t cacheable so I’ve needed to profile the request and then optimise some internals.

Fortunately starting with Leopard, Apple has included a patched version of Ruby that has DTrace probes support.

Thumb_locks

X.509 Encrypted/Authenticated Sockets From a Ruby Client

9 May 2009 at 11:40am

Do you need to know how to create an X.509/SSL encrypted client socket in Ruby? I did for a client and there wasn't anything complete on the net (that Google would find), so I found out and here's how I did it.

Thumb_php

4 Reasons Why Ruby Syntax Is Better Than PHP's

7 Dec 2008 at 10:18pm 20

Having been a Rails developer for a little over a year now and after completing a few Rails projects successfully, I thought I'd post a set of reasons why I think Ruby has a cleaner syntax than PHP.

The worst part of this for me is that PHP can fix a lot of these things and have a much nicer syntax but in the interests of backwards-compatibility are fairly tied to the current syntax.

Thumb_blueprint

Rebuilding a site from Symfony to Rails

7 Nov 2008 at 6:15am 16

After building my personal site from scratch in Symfony/PHP5 - I decided as I am leaning towards Rails now it was time to rewrite it in Rails. I had some good experiences during the process and overall I'm pleased with it. This may serve as a useful push if you're currently a PHP developer tempted by Rails.

Thumb_ideal

Why I think Ruby on Rails is an ideal web development environment

15 Apr 2008 at 8:12pm 5

As a contractor it is always wise to stay on top of upcoming technologies, today's niche market may be tomorrow's big earner. This year I decided to learn Ruby on Rails, so I thought I'd write a post on why I think Rails is such as excellent development system.