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
Laravelで乙女ゲームを開発した話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
k-kurikuri
August 31, 2017
Technology
660
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Laravelで乙女ゲームを開発した話
2017-08-30 PHP勉強会@東京でのLT
k-kurikuri
August 31, 2017
Transcript
19 slides
LaravelͰԵঁήʔϜ Λ։ൃͨ͠ k-kurikuri in PHPษڧձ@౦ژ
ࣗݾհ • ̎͘Β͍LaravelϚϯͰ͢ • UnityͳͲαʔόʔαΠυҎ֎ͬͯ·͢ • PHPͷFWZend1ɺSymfony2ɺLaravelͳͲ ۀͰ༻
ࠓ͢༰ • ԵঁήʔϜͷγεςϜߏ • Laravelͷྑ͍ɺΜͩɺվͨ͠ͳͲ • ศར͓ͩͬͨ͢͢ΊιϑτΣΞ • ࣍ճɺཁݕ౼ͷιϑτΣΞ •
ۤ࿑ͨ͠ՕॴΛૡ͍ఠΈ • LaravelͷύϑΥʔϚϯε
ͲΜͳήʔϜ? • ԵঁήʔϜ (ࣄʹΑΓλΠτϧ෬ͤ·͢) • Cocos2D-JSɺLaravel5.1Ͱ։ൃ • GooglePlayɺAppStoreɺDMMͰϦϦʔε
ήʔϜ༰͓͖ͯ͞ γεςϜͷΛ͠·͢
γεςϜߏ • Nginx(Webαʔό) • CDN(੩తαʔό) • PHP5.6 (php-fpm) • MYSQL5.6
• Memcached, Redis • fluentd • newRelicɺCacti • Gatling • Capistrano
Laravelͷྑ͍ • ϑϧελοΫͳͷͰجຊͦͷ··͏ࣄͰɺ Γ͍ͨࣄେ࡞ΕΔ • υΩϡϝϯτใ͕๛ • ศརͳ֎෦ίϯϙʔωϯτ͕ࢁ͋Δ
laravel-debugbar
AdminLTE
Laravel։ൃͰΜͩͱ͜Ζ… • ࣗ༝͕ߴ͍ͨΊ࣮ϧʔϧσΟϨΫτϦ ߏͰΉ • ΫΤϦʔ݁ՌͷΩϟογϡΛͲ͏ͬͯͭ ͔Ή • .envҎ֎ͷઃఆϑΝΠϧͰಡΈࠐΊͳ͍͔ Ή
LaravelΛվͨ͠Օॴ • ΫΤϦʔ݁ՌΛΩϟογϡ͢ΔΈΛվ • ։ൃ༻ɺཧը໘༻ɺຊ൪༻ͱϧʔςΟϯά ΛಡΈࠐΉΈΛվ • DotEnvΛڥ͝ͱʹผϑΝΠϧͰಡΈࠐΊΔ Α͏վ
PHP͔ΒҳΕ·͢
͓͢͢ΊͷιϑτΣΞ
ෛՙςετπʔϧGatling • ScalaͰ࣮͞Εͨෛՙςετ༻ιϑτΣΞ • ෛՙςετ࣮ߦޙɺhtmlϨϙʔτΛ࡞ͯ͠ ͘ΕΔ • ScalaΛଟগ֮͑Δඞཁ͕͋Δͷͱɺຊޠͷ ใ͕গͳ͍ͷ͕ωοΫ
࣍ճཁݕ౼ͷ ιϑτΣΞ
σϓϩΠπʔϧCapistrano • ಥવͷRubyϥΠϒϥϦ • λεΫงғؾͰ࣮Ͱ͖Δ͚ͲɺRubyͷ ༷Ѳͯ͠ͳ͍ͱ͘͢͝ෆ҆ • PHP͕த৺ͳνʔϜͰɺDeployerRocketeer ͳͲͷσϓϩΠπʔϧΛݕ౼ͨ͠ํ͕ϕλʔ
μϯλΠϜͳ͠σϓϩΠͰ ۤઓ • Nginxɺphp-fpmߏͰͷσϓϩΠ͋Δ͋Δ • SymlinkΛมߋͯ͠OpcacheͷࢀরΓସ ΘΒͳ͍ • σϓϩΠޙɺNginxɺphp-fpmͷઃఆΛॻ͖ ͑ɺϦϩʔυ͢Δ࣌ͷ͕ඞཁ
LaravelͷύϑΥʔϚϯε • ଞͷFWʹൺ͍ͯͱ͍͏ใ͕͋Δ͕… • ήʔϜͰൺֱతॏ͍Ψνϟ290msecҐͰRestfulAPI ݁ՌΛฦ͍ͯͨ͠ • Read͢Δ͚ͩͷRestfulAPIͰฏۉ180msͰฦͨ͠Γ • php7Ҏ߱Λ࠾༻͢Δͱɺͬͱߴʹʂ(80msͱ͔ग़
ͨ)
͝ਗ਼ௌ ͋Γ͕ͱ͏͍͟͝·ͨ͠
More Decks by k-kurikuri
See All by k-kurikuri
Awesome goにあるOSSをGithubStar数高い順に出力するツールを作った
k_kurikuri
0
780
Laravel Sparkでサービス開発に注力する
k_kurikuri
0
1.4k
GKEとGaurunで作るPush通知サーバ
k_kurikuri
3
530
Lambdaで勤怠連絡
k_kurikuri
1
1.7k
Starting Laravel Spark
k_kurikuri
0
500
[Laravel5.6]CHANGELOGを斜め読み
k_kurikuri
0
5.4k
GoビギナーがGCPでGoアプリをリリースした話
k_kurikuri
1
980
英語で質問した話を 聞いて欲しい
k_kurikuri
0
290
Laravel5.5 - Package Auto Discoveryを理解する
k_kurikuri
0
1.3k
Other Decks in Technology
See All in Technology
gradle-best-practices 使ってみた
mikanichinose
0
230
Taking back control of your AI development
inesmontani
PRO
0
310
自動計装なしでECSサービスをApplication Signalsに載せるまで
ota1022
2
470
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
200
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
150
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
timakin
1
360
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
AWS Client VPNの設定でハマったポイントとその過程での気づき
amarelo_n24
1
440
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
2
620
設計手法を「道具」として使いこなすために
a_suenami
7
1.7k
ポケモンバトルのAIエージェント
koji_kawamura
0
220
実測データからサービスの成長余力を測る。負荷シナリオ・テストデータ・限界値の設計
kazatohiei
0
170
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
630
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Paper Plane
katiecoart
PRO
6
55k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.5k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
2
540
Docker and Python
trallard
47
4.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
830
Faster Mobile Websites
deanohume
310
32k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
820