Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
【初次動手就用最優雅套件 Laravel 建置官網】讓我們一起走進跨界學習的紅鶴森林
Search
Star Rocket
March 27, 2019
Programming
1
76
【初次動手就用最優雅套件 Laravel 建置官網】讓我們一起走進跨界學習的紅鶴森林
【初次動手就用最優雅套件 Laravel 建置官網】讓我們一起走進跨界學習的紅鶴森林
Star Rocket
March 27, 2019
Tweet
Share
More Decks by Star Rocket
See All by Star Rocket
PHP 也有 Day #51:高效能框架的曙光 - 以 Laravel 經驗開發 Hyperf 應用
starrocket
1
300
PHP 也有 Day #50:處理前人的遺產—聊 legacy code
starrocket
0
65
PHP 也有 Day #49:邊緣人救星!用 Laravel 打造私人定製的聊天機器人
starrocket
0
370
PHP 也有 Day #48:我是誰?我在哪?
starrocket
0
53
PHP 也有 Day #48:我是誰?我在哪?
starrocket
0
50
API-整合測試
starrocket
0
100
How we talk about Engineering Culture at Phase
starrocket
0
36
PHP 也有 Day #47:打造好維護的 PHP 程式碼專案
starrocket
0
280
全端起手就用 Laravel+Vue.js 現場實作給你看
starrocket
0
180
Other Decks in Programming
See All in Programming
GitHub Copilotの全体像と活用のヒント AI駆動開発の最初の一歩
74th
8
3.2k
Flutter로 Gemini와 MCP를 활용한 Agentic App 만들기 - 박제창 2025 I/O Extended Seoul
itsmedreamwalker
0
150
TDD 実践ミニトーク
contour_gara
0
150
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
新世界の理解
koriym
0
140
AIエージェント開発、DevOps and LLMOps
ymd65536
1
350
Introduction to Git & GitHub
latte72
0
120
画像コンペでのベースラインモデルの育て方
tattaka
3
1.9k
コーディングエージェント時代のNeovim
key60228
1
100
TROCCO×dbtで実現する人にもAIにもやさしいデータ基盤
nealle
0
330
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
580
The State of Fluid (2025)
s2b
0
200
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
53
8.8k
Making Projects Easy
brettharned
117
6.3k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
We Have a Design System, Now What?
morganepeng
53
7.7k
Practical Orchestrator
shlominoach
190
11k
Git: the NoSQL Database
bkeepers
PRO
431
65k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Code Reviewing Like a Champion
maltzj
525
40k
BBQ
matthewcrist
89
9.8k
Done Done
chrislema
185
16k
GraphQLとの向き合い方2022年版
quramy
49
14k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
Transcript
6QDG[
F B ⃮㤐䒒嬡䥥掄䴏苌 㤐䧙⋂䲲㕡⛐⇆年䠭㧕副痙苌 㢝㤐桬瘟⹙劳珯 Tobey ⢏俵䥥⛋㤐㏔缷㽛⠰欭苌♜㏰⯷桬界Ⅷ粕ㇰℬ㢦珯
嬭斘⇢╤▊䛧 嬭斘⇢╤ ⓾楯テ粕ㄌ 砒䷐テ粕ㄌ 砒䷐テ粕ㄌ
粹粹 ≁䎛↡熝缙嶋聅獑
None
≁惀.CTCIKTNU 㤐㋯熝㧪⃡綤䥥獑 䎛↡熝 ⚤▁.CTCIKTNU獑
⓾禈≧ ┑徕⻗⨑ i g 1 1 2 g 8 ➇玐㧪聅䴏䰟劅獑
㜎島痕猳 痕㤐傎⼝ⰈⰈ⠫ ⚀≧ 㓲⅀⛐⇆䡗㊸テ g . G e l a 0 G L e l
⻇ 㽳↛㏔綌≁䥥⻰㠦Ⅼ
None
ứԛ⃪ἡᅟ -BSBHJSMTᅟ ứԛ⃪ ൬֞߭∣
≾Ṇứള喁൙ਔĤ -BSBHJSMTᅟ
Route Control ler View -BSBWFM ⃪ളଁ䵆௹ 1 3 12 3
12 32 32 2 2 4 5 1. 1 1 2 3 4 5
┆膾㓲 ≁㽳㕴羝㡺⠫
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7
6 89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
-BSBWFM ⊷ਘὼἧ )) ) ( Model
↛⺗㧪嶋痙⢯獑
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7
6 89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
3PVUF . /
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7
6 89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
$POUSPMMFS Laragirls/app/Http/Controllers/NewsController.php
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7
6 89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
.PEFM Laragirls/app/News.php
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7 6
89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
$POUSPMMFS Laragirls/app/Http/Controllers/NewsController.php
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7 6
89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
7JFX Laragirls/resources/views/news/index.blade.php
Request Lifecycle u d d u b u g u
u e
Ⰸ⺗ 肪⨉↛⢯獑
None
㓲㏔缙玐 俜糺亂䛧⟂獌⛐⇆亂瓴揉▀叞 ⃡緈亂䛧⟂獌⛋叞亂磷㢑䁩㍐
%! $ (& , ) ) *# "+
')
! !
巼聅熝⯻ ⠫缙㋯熝洸帪獑
A B & 1 ( . 2) M
ứԛ⃪ἡᅟ -BSBHJSMTᅟ ứԛ⃪ ൬֞߭∣
.JEEMFXBSFᇏࢺṧ -BSBHJSMTᅟ ứԛ⃪ ൬֞߭∣ App Middleware
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7 6
89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7 6
89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8 Before After
Laravel Request Lifecycle Application : Controllers, Models, Views, etc. Request
Route Before Middlew are App After Middlew are Respon se
Route Control ler View Model -BSBWFM ⃪ളଁ䵆௹ 8 7 6
89 6 89 4 9 4 9 C 4397422 7 4397422 7 4 2 4 2 C 4 2 4 2 C 4397422 7 .1 85438 1 2 3 4 5 6 7 9 8 Before After
≧玐 䶺⨉ド↛䥥綒呡⃫ ≠䠉ⰸ⇗猳
spatie/laravel-permission / - / H /- / - / G
- /
䩏⤳ .JEEMFXBSF / ..
Ⴈ .JEEMFXBSF . . / . ./ / . .
痙㮳㮳 㓱⇜甒Ⅷ
6JCPM[QW