Upgrade to Pro — share decks privately, control downloads, hide ads and more …

安心してフレームワークをのりかえたい

takanamito
August 04, 2016

 安心してフレームワークをのりかえたい

表参道.rb #14 ビアガーデン風編
http://omotesandorb.connpass.com/event/36622/

LT資料です

takanamito

August 04, 2016
Tweet

More Decks by takanamito

Other Decks in Programming

Transcript

  1. ւ֎ϝσΟΞ 2015೥຤ • ਺ඦສPV / ݄ • 2೥΄ͲFuelPHP͕Քಇ • 1action

    100~200ߦͷcontroller͕ෳ਺ • ແବͳϖʔδ͕ͨ͘͞Μ
  2. kage Kage::ProxyServer.start do |server| server.port = 8000 server.host = '0.0.0.0'

    server.add_master_backend(:production, 'localhost', 80) server.add_backend(:sandbox, 'localhost', 80) server.on_select_backends do |request, headers| if request[:method] == 'GET' [:production, :sandbox] else [:production] end end ~~ தུ ~~ end def compare(production_res, sandbox_res, url) # ͜ͷลͰresponseݟͯϩάग़ͨ͠Γ͢Δ end