CHANNELS
HOME
TOP STORIES
COLUMNS
OPINIONS
ZEICHICK'S TAKE
EMBEDDED NEWS
TEST & QA REPORT
ECLIPSESOURCE
SPECIAL REPORTS
SD TIMES 100
JOB BOARD
EVENTS CALENDAR
RESOURCE CENTER
WEBINAR CENTER
ADVANCED SEARCH
RSS
ON THE WEB
SITE MAP
ADVERTISE
EDITORIAL
PRIVACY POLICY
CONTACT US
REPORT A BUG
PRINT EDITION
SUBSCRIBE NOW!
CURRENT ISSUE
BACK ISSUES
SUBSCRIBER SERVICES
BZ MEDIA
ABOUT US
NEWS
BZ RESEARCH
SYSMANNEWS
ST&P MAGAZINE
STPCON
ECLIPSEWORLD
ADVERTISER LINKS
activePDF
Alexsys
Altova
Amyuni Technologies
Automated QA
Axosoft
Business Objects
Codejock Software
ComponentOne
Coverity
Data Dynamics
Developer Express
dtSearch
Dundas
Dynamsoft
Hewlett-Packard
IBM
Imagix
Infragistics
InstallAware Software
InterSystems
iWay
Kovair
LEAD Technologies
McObject
Microsoft
MKS
No Magic
nsoftware
Parasoft
Pegasus Imaging Corp
Perforce
Prezza Technologies
Programmer's Paradise
Programming Research
Rally Software Dev
Red Gate Software
ScaleOut
Seapine
Serena
Software FX
Sparx Systems
Swell Software
Syncfusion
TechExcel
Telerik
UrbanCode
WANdisco
Xceed Software
LOADING...
LOADING...
AS OF 8/21/2008 7:48PM EST
Rubys been Workin on the Rails
By
Alex Handy
January 15, 2006 —
Ruby on Rails, the Web application framework that reached version 1.0 in mid-December, has gathered a full head of open-source steam over the past year, and numerous luminaries of the Java community, such as Bruce Tate and David Geary, have headed to Ruby, thanks to a development environment thats been called both quick and easy.
I think Ruby on Rails has a lot of promise, said open-source analyst and Navica CEO Bernard Golden. They give you a lot of the infrastructure: My term would be they give you a lot of the plumbing. Rather than creating all the connections, it just delivers all that. It gives you a huge leg-up in building your prototypical database-driven Web site.
Richard Monson-Haefel, a senior analyst at the Burton Group, has just completed a 30-page report on Ruby on Rails. He said Ruby is an excellent evolving technology that should be considered by organizations searching for new Web frameworks.
It offers a very strict Model-View-Controller model, he said. But it gives you the ease of development a lot of people associate with PHP. Its much easier to maintain than a complex PHP script or a simple J2EE program. J2EE is notoriously complex, and PHP can be tough to maintain because it doesnt have a good MVC. Its very good for developing Web applications very quickly.
Monson-Haefel pointed out some of Ruby on Rails shortcomings, which are primarily database-related. 1.0 of Ruby on Rails did not support compound primary keys [common in relational databases] and has no support for legacy databases.
He said the framework also lacks support for two-phased commit. If youre making changes to two databases and you want them both to roll back at the same time, it doesnt support that. Only 10 to 15 percent of Web applications need that.
One Web site that has moved to Ruby on Rails is the popular comic site
Penny Arcade
. Webmaster and system administrator Erik Karulf said that when new comics come out three times a week, Penny Arcade can receive an average of 700 unique hits a second. Prior to the Ruby on Rails transition in November, Penny Arcade was a PHP/MySQL-based site.
The poor MySQL server just couldnt keep up, said Karulf. The first thing we did when we switched to Ruby on Rails was standardize the template and header and footer, and its made my life a lot easier. The entire site, he said, takes up about 1,200 lines of code.
Unsung Hero
Karulf also has transitioned Penny Arcade to another piece of technology that the Ruby on Rails community advocates: Lighthttpd. The unsung hero of Penny Arcade right now is Lighthttpd. The site generates the page files once. To do that in Ruby on Rails took me two lines of code. The scaling is amazing on static files.
Lighthttpd is a smaller alternative to Apache, and is one of the two Web servers supported by Ruby on Rails.
Monson-Haefel recommends Ruby on Rails to his clients. We tell companies that its very productive, he said. We recommend it for department-level Web applications and for small start-ups, but not for mission-critical super-high transaction processing. The ecosystem is a little anemic in that the number of libraries and the types of solutions that can be added on top of Rails arent there.
EMAIL THIS ARTICLE
SEND FEEDBACK
MORE TOP STORIES
 
SUBSCRIBE TODAY!
E-Newsletters:
News on Mon/Thurs.
Test & QA Report
EclipseSource
SUBMIT
 
JOB BOARD
PDF & PRINT EDITION
* Requires Resource Account! 
LOGIN
or
SIGN UP
*
Download Current Issue!
ISSUE 8/15/2008 PDF
*
Need Back Issues?
DOWNLOAD HERE
Receive The Print Edition?
SUBSCRIBE HERE
 
EVENTS CALENDAR
Business of Software 2008
9/3/2008 to 9/4/2008
Boston
Red Gate Software
VSLive New York
9/7/2008 to 9/10/2008
New York City
1105 Media
Interop New York
9/15/2008 to 9/19/2008
New York
TechWeb
VMworld 2008
9/15/2008 to 9/18/2008
Las Vegas
VMware
Mobile Business Expo
9/16/2008 to 9/19/2008
New York City
TechWeb
REGISTER
MORE EVENTS
GET NOTIFIED!
About all of the latest Resources
SD TIMES 100
6th Annual SD Times 100
It's time once again to
recognize the organizations
or individuals that have
demonstrated leadership in
their markets.