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
Symfony 4 Best Practices
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Marco Petersen
February 28, 2018
Programming
380
1
Share
Symfony 4 Best Practices
Marco Petersen
February 28, 2018
More Decks by Marco Petersen
See All by Marco Petersen
Symfony UX Turbo
ocrampete16
1
410
What's New in Symfony 5.3
ocrampete16
0
1.3k
What's New in Symfony 5.1?
ocrampete16
0
1.6k
Symfony Security Demystified
ocrampete16
0
320
Cache Me If You Can: HTTP-Caching and ESI with Symfony
ocrampete16
0
480
How to OOP: A Primer for Novice Developers
ocrampete16
1
300
REST vs GraphQL: The What, How and Why
ocrampete16
0
230
Other Decks in Programming
See All in Programming
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
470
Make SRE Operations Easier with Azure SRE Agent
kkamegawa
0
2.1k
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
190
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
160
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
180
ふつうのFeature Flag実践入門
irof
7
3.4k
Claspは野良GASの夢をみるか
takter00
0
140
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
390
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
色即是空、空即是色、データサイエンス
kamoneggi
1
210
inferと仲良くなる10分間
ryokatsuse
1
280
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
6.9k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Context Engineering - Making Every Token Count
addyosmani
9
920
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
Marketing to machines
jonoalderson
1
5.3k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
250
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
200
How GitHub (no longer) Works
holman
316
150k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
For a Future-Friendly Web
brad_frost
183
10k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
160
The Curse of the Amulet
leimatthew05
1
13k
Transcript
Symfony 4 Best Practices
None
Best practices are... • • •
Today we’ll be looking at... • • • • •
• • • •
1. Directory Structure • •
None
1. Directory Structure • •
2. Configuration • • •
2. Configuration • • •
2. Configuration • • •
None
3. Business Logic • ◦ • •
None
3. Business Logic • ◦ • •
3. Business Logic • ◦ • •
4. Controllers • • • •
4. Controllers • • • •
4. Controllers • • • •
4. Controllers • • • •
5. Templates • •
5. Templates • •
6. Forms • • ◦ •
None
None
6. Forms • • ◦ •
None
None
6. Forms • • ◦ •
7. Internationalization • •
7. Internationalization • •
None
8. Security • ◦ ◦ ◦ •
8. Security • ◦ ◦ ◦ •
9. Tests •
9. Tests (2) • •
9. Tests (2) • •
$kernel->terminate($request, $response);