Skip to Content
Learning Rails
book

Learning Rails

by Simon St. Laurent, Edd Dumbill
November 2008
Beginner
448 pages
12h 25m
English
O'Reilly Media, Inc.
Content preview from Learning Rails

Explore Other Ruby Frameworks

If you made it all the way to the end of this book, you probably have developed some level of fondness for Rails. Nonetheless, you may find that Rails is more than you need, not quite appropriate for the work you want to do, or otherwise annoying. You may even want to supplement your Rails application with something written using a different framework. If you’re interested in exploring further, these are a few of the available options:

Rack (http://rack.rubyforge.org/)

A very minimalist piece of middleware, more of a web server interface, that mostly provides a way to connect servers with other Ruby frameworks. It implements a simple direct connection to HTTP requests, and supports handlers that connect to different web servers, letting you switch servers however seems convenient.

Merb (http://merbivore.com/)

Originally Mongrel plus ERb, Merb started out as a simple tool for supporting file uploads alongside Rails, but developed into a very different framework. Merb provides a few packages for key things, but the basic gem is deliberately minimal. There is an object-relationship manager, but that’s a separate plug-in, as are view helpers, object-relational mappers, etc. Merb builds on Rack. Routing lets you choose different kinds of handling—event handling to optimize for requests that last a short time or threaded server to optimize longer requests.

Merb very deliberately avoids the “magic” of Rails’ naming conventions, which makes it harder to build quickly, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Rails 5

Learning Rails 5

J. Mark Locklear, Eric J Gruber, Barnabas Bulpett

Publisher Resources

ISBN: 9780596154943Errata