Working with Modular Applications & Rack In common with Ruby frameworks Sinatra uses the Rack interface. Learn how to use the Rack middleware with Sinatra as well as how to generate subclasses to create and work with modular Sinatra applications.