This document discusses using the mruby programming language as middleware code. Some key points: - mruby allows embedding Ruby code into middleware applications like web servers. This provides a powerful programming environment for Rubyists to write middleware code. - ngx_mruby is an example of using mruby with the nginx web server. It allows placing Ruby code handlers and variables in the nginx
![Middleware as Code with mruby](https://cdn-ak-scissors.b.st-hatena.com/image/square/dc6d42034cbbfe151474064a4a21210e082b4404/height=288;version=1;width=512/https%3A%2F%2Fcdn.slidesharecdn.com%2Fss_thumbnails%2F20150911-rubyconftaiwan2015-150911090513-lva1-app6891-thumbnail.jpg%3Fwidth%3D640%26height%3D640%26fit%3Dbounds)