Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
安心してフレームワークをのりかえたい
Search
takanamito
August 04, 2016
Programming
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
安心してフレームワークをのりかえたい
表参道.rb #14 ビアガーデン風編
http://omotesandorb.connpass.com/event/36622/
LT資料です
takanamito
August 04, 2016
Transcript
14 slides
҆৺ͯ͠ ϑϨʔϜϫʔΫΛ ͷΓ͔͍͑ͨ
ࣗݾհ • @takanamito • גࣜձࣾ Speee ৽ଔ3 • ւ֎ϝσΟΞࣄۀ෦ •
ւ֎͚ͷਓࡐܥϝσΟΞ࡞ͬͯ·͢
ւ֎ϝσΟΞ 2015 • ඦສPV / ݄ • 2΄ͲFuelPHP͕Քಇ • 1action
100~200ߦͷcontroller͕ෳ • ແବͳϖʔδ͕ͨ͘͞Μ
None
FuelPHP -> Ruby on Rails
ϦϓϨʔεཁ݅ • FuelPHPΛ٫͍ͨ͠ • ϚελσʔλΛ৽͍ͨ͠ • URLΛ৽͍ͨ͠ • σβΠϯϦχϡʔΞϧ͍ͨ͠
͍͢͝ා͍ • ϑϨʔϜϫʔΫ͕มΘΔ • Ϛελσʔλ͕มΘΔ • 10ສҎ্ͷURL͕มΘΔ • چURL͔Β৽URLʹਖ਼͘͠301ϦμΠϨΫτ͠ ͳ͍ͱ͍͚ͳ͍
ࣄલݕূ • ಛʹॏཁͳϦμΠϨΫτॲཧͷ ϩδοΫͱσʔλͷςετ • ෛՙݕূ • ΞϓϦέʔγϣϯશମͷಈ࡞ݕূ
kage • https://github.com/cookpad/kage • γϟυϓϩΩγαʔόʔͷgem • cookpadࣾ • ຊ൪ͷτϥϑΟοΫΛෳ͠։ൃαʔόʔʹྲྀ͢
None
nginxͰϩʔυόϥϯε upstream backend { server 127.0.0.1:9000 weight=9; server 10.0.0.1:8000; }
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
kageͷϩά IUUQTUBUVTʹ͕ࠩ͋Δ63-Λग़ྗ
ͬͯΑ͔ͬͨ͜ͱ • ຊ൪τϥϑΟοΫͰࣄલʹݕূͰ͖Δ • ςετ࿙ΕʹରԠՄೳ • ७ਮͳςετέʔεͷ࿙Ε • ϩδοΫ߹ͬͯͯσʔλ͕͓͔͍͠
More Decks by takanamito
See All by takanamito
ActiveModel::Attributes APIとSwaggerでRailsのAPIレスポンスに型を持ち込む
takanamito
0
680
ドキュメントとテストのないプロジェクトを引き継ぐ
takanamito
2
3.6k
Siriに身の回りのお世話をしてもらう
takanamito
0
7k
PHPで運用中のサービスをRubyに切り替える
takanamito
0
5.6k
HLSでやっていく 動画ストリーミング配信
takanamito
0
2.6k
あんしん大規模リプレースサポート
takanamito
1
1.8k
Other Decks in Programming
See All in Programming
小さなアプリを作って公開するまで
onozaty
0
210
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
780
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
620
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
290
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
あなたはMCPの機能を、まだ知らない。
4geru
1
700
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
230
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
310
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
230
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
My Coaching Mixtape
mlcsv
0
390
The Limits of Empathy - UXLibs8
cassininazir
2
800
Optimizing for Happiness
mojombo
378
72k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
480
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
From π to Pie charts
rasagy
1
450
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
550
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
Bash Introduction
62gerente
615
220k