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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Marco Petersen
February 28, 2018
Programming
1
370
Symfony 4 Best Practices
Marco Petersen
February 28, 2018
Tweet
Share
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
460
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
テレメトリーシグナルが導くパフォーマンス最適化 / Performance Optimization Driven by Telemetry Signals
seike460
PRO
2
180
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
130
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
170
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
200
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
700
Nuxt Server Components
wattanx
0
140
ロボットのための工場に灯りは要らない
watany
12
3.2k
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
120
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
140
ローカルで稼働するAI エージェントを超えて / beyond-local-ai-agents
gawa
0
110
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
7
3.2k
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
120
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
BBQ
matthewcrist
89
10k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
Facilitating Awesome Meetings
lara
57
6.8k
Code Reviewing Like a Champion
maltzj
528
40k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
91
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
What's in a price? How to price your products and services
michaelherold
247
13k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.4k
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);