O'Reilly logo

Beginning Ruby: From Novice to Professional, Third Edition by Peter Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Peter Cooper 2016

Peter Cooper, Beginning Ruby, 10.1007/978-1-4842-1278-3_13

13. Two Web Application Approaches: Rails and Sinatra

Peter Cooper

(1)Louth, Lincs, UK

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 two: Rails and Sinatra.

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) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required