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
HerokuでPHPとNodejsの併用
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
果物リン
May 22, 2017
Technology
470
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HerokuでPHPとNodejsの併用
果物リン
May 22, 2017
Transcript
12 slides
HerokuͰPHPͱNode.jsͷซ༻ 2017.5.22 PHP BLT ՌϦϯ@FruitRiin
ࣗݾհ ՌϦϯ ࣄͰPHPerʢ̎ʣ ֶੜͷࠒ͔ΒझຯͰ͋Ε͜Ε PHP BLT 2ճʢॳొஃʂʣ ࣮ࠓੜ…
TwitterͰ;͊΅࣌ؒॱ͕Έ͍ͨʂ
͡Ό͋࡞Ζ͏ʂ
;͊΅࣌ؒΛAPI͕ฦ͞ͳ͍ʂ
UserStreamΛ͑ ͳΜͱ͔ͳΔ͔ʂ
͍͍Ͷʂ ;͊΅௨ DB ݟΕΔʂ
Herokuॳઓ σʔλϑϩʔతʹNode.jsͷ෦͔Β࣮։࢝ ͳΜͱͳͦ͘ΕͬΆ͍࣮Ͱ͖ͨʂ ࣍PHPΛ͍ͨ͠ɻˡ̎͘Β͍ϋϚΔ
HerokuطଘProjectʹPHPՃ HerokuͷDashbordͷ Settingsʹ͋ΔBuildpacksʹ PHPΛՃ composer.jsonΛ༻ҙͯ͠ composer update ProcfileʹҰखؒ
PHPͱNodeΛWebͱWorkerͰ Procfile ฤूʢͳ͚Ε࡞Δʣ commit ͯ͠ push͢ΔͱNodeͱPHP͕Ϗϧυˍىಈʂ
·ͱΊ BuildpacksͷՃHerokuͷμογϡϘʔυ͔Βʢॏཁʣ ˢҎલͰ͖ͳ͔ͬͨΒ͔ͯͦͬͪ͘͠Γͻ͔͔ͬΔ https://devcenter.heroku.com/articles/buildpacks ↑ͷPHPͷDocumentationΛݟΕશ෦ॻ͍ͯ͋Δorz
͓·͚ɿਐḿ
More Decks by 果物リン
See All by 果物リン
ADDF - ループエンジニアリングするフレームワークを作ったら/I Didn't Set Out to Build Loop Engineering, But ADDF Did
fruitriin
0
220
AIに与える人間らしさを(略)したら600ページの同人誌になった/I kept thinking about making AI more human, more, more, more... wait, when did this become a 600-page doujinshi?
fruitriin
0
160
記憶を高速で思い出す全文検索パフォーマンス・チューニング テクニック/How to make your AI recall, quickly
fruitriin
0
140
入社半年で作った"社内でも使える"ツール集/Everything I Built on the Side in Half a Year
fruitriin
0
160
embodied記憶の依代 聖杯問答/ Vessel of Memory: The Grail Dialogue #embodied_llm
fruitriin
2
260
ClaudeCodeと遠くへいくためのパーミッションルール/Stop Checking, Start Trusting: Claude Code Permission Rules
fruitriin
0
110
Claude Codeと物忘れ / Invitation talk about context - Why Claude Code forget?
fruitriin
0
140
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
300
Electron+Vue+Swift=真のデスクトップアプリ / How to create "Really" desktop app using Electron
fruitriin
0
170
Other Decks in Technology
See All in Technology
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
2
660
20261119_AgentCore
takuyay0ne
2
280
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
技術書典で本を売る流れ
yoshimura_datam
0
140
お風呂場をサーバルームにしよう
yusuke427
0
400
Taking back control of your AI development
inesmontani
PRO
0
310
IP重複は"ランディングVPC"で受け止める ― PrivateLink と Transit Gatewayによるマルチテナント接続基盤の設計
hatahata021
3
270
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
610
業務の傍らで進める改善ループエンジニアリング
bengo4com
1
240
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
IVRy における AI 時代のデータプロダクトと事業開発
ivry_presentationmaterials
0
110
Featured
See All Featured
A Soul's Torment
seathinner
9
3.9k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
550
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Evolving SEO for Evolving Search Engines
ryanjones
0
370
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Test your architecture with Archunit
thirion
2
2.5k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Practical Orchestrator
shlominoach
192
12k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910