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
Marco Petersen
February 28, 2018
Programming
1
340
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
350
What's New in Symfony 5.3
ocrampete16
0
1.2k
What's New in Symfony 5.1?
ocrampete16
0
1.6k
Symfony Security Demystified
ocrampete16
0
280
Cache Me If You Can: HTTP-Caching and ESI with Symfony
ocrampete16
0
450
How to OOP: A Primer for Novice Developers
ocrampete16
1
270
REST vs GraphQL: The What, How and Why
ocrampete16
0
200
Other Decks in Programming
See All in Programming
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
110
Nitro v3
kazupon
2
320
Stay Hacker 〜九州で生まれ、Perlに出会い、コミュニティで育つ〜
pyama86
2
2.2k
『実践MLOps』から学ぶ DevOps for ML
nsakki55
2
450
最新のDirectX12で使えるレイトレ周りの機能追加について
projectasura
0
280
Flutterアプリ運用の現場で役立った監視Tips 5選
ostk0069
1
490
モデル駆動設計をやってみよう Modeling Forum2025ワークショップ/Let’s Try Model-Driven Design
haru860
0
170
予防に勝る防御なし(2025年版) - 堅牢なコードを導く様々な設計のヒント / Growing Reliable Code PHP Conference Fukuoka 2025
twada
PRO
39
13k
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
0
150
2026年向け会社紹介資料
misu
0
250
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
650
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
Context Engineering - Making Every Token Count
addyosmani
9
410
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Site-Speed That Sticks
csswizardry
13
970
The MySQL Ecosystem @ GitHub 2015
samlambert
251
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);