Dragonfly Dragonfly is a Rack framework for on-the-fly image handling. Ideal for using with Ruby on Rails (2.3 and 3), Sinatra and all that gubbins. However, Dragonfly is NOT JUST FOR RAILS, and NOT JUST FOR IMAGES!! For the lazy Rails user..... 続きを読む
README.mdHey, you've got LiveReload in my Rack! No need for browser extensions anymore! Just plug it in your middleware stack and go! Even supports browsers without WebSockets! Use this with guard-livereload for maximum fun! Install gem insta... 続きを読む
Rainbows! is a HTTP server for sleepy Rack applications. It is based on Unicorn, but designed to handle applications that expect long request/response times and/or slow clients. For Rack applications not heavily bound by slow external network... 続きを読む
If you've worked with Web apps using Ruby, you might know of Rack, an interface that sits between Ruby applications and HTTP-speaking Web servers. All of the major Ruby frameworks and server setups use it now, including Rails. Middleware (in ... 続きを読む
昔はPHPの新しいバージョン出るたびに./configure && makeとかしてたもんだけど、すっかりめんどくさがりになってOSデフォのPHP使ってる昨今。 Padrino使い出してPowが便利ということを知り、常用しだしたんだけど、ちょっとPHPを使いたくなった時にめんどくさ... 続きを読む
In Ruby on Rack #1 – Hello Rack! we used rackup to make port/server configurable. And rackup’s config file looked like : # config.ru run Proc.new {|env| [200, {"Content-Type" => "text/html"}, "Hello Rack!"]} Under the hood, rackup converts ... 続きを読む
DAV4Rack - Web Authoring for Rack DAV4Rack is a framework for providing WebDAV via Rack allowing content authoring over HTTP. It is based off the original RackDAV framework adding some useful new features: Better resource support for building... 続きを読む
Rails アプリケーションで IP アドレス制限が必要になった際には、基本的に上位のリバースプロキシ(Apache とか Nginx とか)で行うことが多いと思いますが、一方で Rails 本体で制限をかけなければならないこともあります(Heroku だとか)でもそれを Rails ... 続きを読む
Getting Started Migrating to Middleman 2.0 Templates, Layouts & Partials Sass and Compass CoffeeScript & Sprockets Dynamic Pages Pretty URLs Frontend Optimization Individual Page Configuration LiveReload Local YAML Data Custom Extensions Rack... 続きを読む
Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). It is designed to compliment web application development and enforce a strict separation of concerns between designer and d... 続きを読む
Posted on 30 Mar, 2011 うちのWebアプリを高速化したときのメモともいいます。フロントがnginxで、Varnishを挟んで後ろにいるSinatra(というよりRack)アプリケーションへアクセスするような感じの環境を想定しています。 メモなので脈絡がないですが、以下のよ... 続きを読む
Ruby のサーバとアプリケーションを繋ぐ層である“Rack”について、入門から深掘りまで目についた記事や資料をまとめました。 続きを読む