© Carleton DiLeo, Peter Cooper 2021
C. DiLeo, P. CooperBeginning Ruby 3https://doi.org/10.1007/978-1-4842-6324-2_13

13. Two Web Application Approaches: Rails and Sinatra

Carleton DiLeo1   and Peter Cooper2
(1)
Boulder, CO, USA
(2)
Louth, UK
 

In this chapter, we’re going to look at web application (or web app, for short) frameworks—libraries of code that provide an 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 two: Rails and Sinatra.

Background

Ruby’s most famous web application framework is the Ruby on Rails, and the majority of this chapter ...

Get Beginning Ruby 3: From Beginner to Pro 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.