Routing Requests with Ring
Ring aims to abstract the details of HTTP into a simple and modular API that can be used to build a large spectrum of applications. If you’ve developed web applications in Python or Ruby, then you’ll find it similar to the WSGI and Rack libraries found in those languages.[24][25]
Since Ring has become the de facto standard for building web applications, a lot of tools and middleware have been developed around it. While in most cases you won’t need to use Ring directly, it’s useful to have a high-level understanding of its design, as it will help you in developing and troubleshooting your applications.
Ring applications consist of four basic components: the handler, the request, the response, and the middleware ...
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