Chapter 4Ring

A bucket of LEGOs can be anything you want it to be. You can build a house, a car, or a spaceship, or just keep stacking them one on top of the other until you run out. Many different kinds of blocks exist, but every block works together, thanks to a simple, underlying design for connecting two blocks.

Functional languages like Clojure are a bucket of LEGOs. Each brick is simple; every brick can be used effortlessly with other bricks; bricks can be combined in many different and useful ways; and there are no hidden mechanisms or components to complicate your constructions.

Ring is how web libraries in Clojure are connected together. Like all LEGOs, Ring and its related libraries can be stacked and combined in endless ways ...

Get Seven Web Frameworks in Seven Weeks 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.