Chapter 20Ruby and the Web
There’s a good chance that if you’re reading this book, you’re intending to use Ruby in the context of some kind of Web application. Ruby is used as the language for a lot of web tools, not only for Ruby on Rails,[30] but also for many other web frameworks and third-party tools.
While the Ruby ecosystem is full of web tools, most of those tools are third-party gems and not part of the core Ruby distribution. Core Ruby does provide an implementation of the Common Gateway Interface (CGI), which was the original dynamic web standard, but as we write this, you’re unlikely to be writing CGI scripts directly, so we’re not going to spend time on CGI scripts in this book. That said, for historical reasons, a lot of Ruby’s ...
Get Programming Ruby 3.3 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.