Chapter 13. Web Application Frameworks: Rails, Sinatra, and Ramaze

In this chapter, we're going look at web application (or web app, for short) frameworks—libraries of code that provide a easily reusable structure and design patterns for developing web applications. If you want to develop something useful for the Web, you'll probably find a web application framework very useful, and Ruby has a wonderful selection of them, of which we'll look at three.

Background

Ruby's most famous web application framework is the Ruby on Rails framework, and the majority of this chapter will be dedicated to it. We'll walk through developing a (very) basic Rails application and getting it running with a database. After I've covered Rails, we'll take a more cursory ...

Get Beginning Ruby: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.