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
380
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
310
Cache Me If You Can: HTTP-Caching and ESI with Symfony
ocrampete16
0
470
How to OOP: A Primer for Novice Developers
ocrampete16
1
290
REST vs GraphQL: The What, How and Why
ocrampete16
0
220
Other Decks in Programming
See All in Programming
AIと共にエンジニアとPMの “二刀流”を実現する
naruogram
0
110
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
150
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
270
「速くなった気がする」をデータで疑う
senleaf24
0
110
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
130
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.1k
Java 21/25 Virtual Threads 소개
debop
0
310
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
380
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
2
470
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
260
Exploring anti-patterns in Rails
aemeredith
2
300
The Limits of Empathy - UXLibs8
cassininazir
1
280
Marketing to machines
jonoalderson
1
5.1k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
330
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
700
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
300
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
140
Unsuck your backbone
ammeep
672
58k
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);