A framework for developing Web applications, Ruby on Rails uses the object-oriented Ruby language and a model-view-controller pattern, which keeps the various chunks of functionality in the application separate while allowing them to work together as an integrated whole. Many developers find this a more congenial way to build Web applications than PHP, which lumps all the functionality together in a single file. An additional attraction of Rails is its integrated AJAX support.
RadRails, a free open source project, is an IDE for Ruby on Rails framework. The project’s goal is “to provide Rails developers with everything they need to develop, manage, test and deploy their applications,” according to the RadRails Web site.
Released late in July 2006, RadRails 0.7 goes a long way toward achieving those project goals. Rails applications include a plethora of folders and files: a freshly generated, empty Rails project has 12 subdirectories. Controllers written in Ruby pair with views written in RHTML (HTML with embedded Ruby server code). And a single key combination in RadRails makes flipping from controller to view and back nearly effortless.
Conventional Rails coding forces the developer to switch from the editor to a console to a Web browser, and from editing one file to editing another file. RadRails effectively moves most of this activity into one convenient tabbed IDE.
Of course, RadRails is hardly the only way to develop Rails apps. Some of its competition is commercial: TextMate on Mac OS X is an editor that supports 50 programming languages and ships with Ruby on Rails highlighting and macros; it’s popular among Mac Rails developers.
Another commercial competitor, Komodo, is an IDE for dynamic languages that runs on Linux, Mac OS X, Solaris, and Windows. Komodo is one of the few IDEs that can debug a Ruby on Rails application, but I’ve found its debugging to be so slow that I rarely use it. SlickEdit is a capable and responsive multi-platform, multi-language code editor that includes good Ruby support.
RadRails has its share of free competition, too. Ruby ships with SciTE, a free editor that supports many programming languages, and FreeRIDE, a free cross-platform Ruby IDE written in Ruby. FreeRIDE will eventually have refactoring functionality. And of course, just about every development platform has free versions of vi and emacs.
Getting on track
RadRails is an Eclipse RCP plug-in. The standalone version, which includes the parts it needs of Eclipse, is a 45MB download. The Eclipse 3.2 SDK is a 120MB download, so you’re better off downloading the standalone RadRails unless you need the other perspectives in the Eclipse SDK. I tested the standalone Windows version of RadRails 0.7 on Windows XP SP2 with Java 1.5, Ruby 1.8.4, and Rails 1.1.4.
| Test Center Scorecard | ||||||
|---|---|---|---|---|---|---|
| 40% | 20% | 20% | 10% | 10% | ||
| RadRails 0.7 | 8 | 7 | 9 | 7 | 10 |
8.1
Very Good
|
This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.
Download now »Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.
Download now »
The emergence of WLANs has created a new breed of security threats to enterprise networks.
Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation
Effectively address data protection challenges, implementing solutions that help store and protect businesscritical data while cutting costs and improving efficiency and reliability.
Download now »
Sign up to receive InfoWorld Resource Alerts
