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
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
390
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
GitHubCopilotCLIをはじめよう.pdf
htkym
0
140
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
140
ハーネスエンジニアリングとは?
kinopeee
10
5k
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
770
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
240
「速くなった気がする」をデータで疑う
senleaf24
0
180
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
420
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
190
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
130
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
180
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
SkillがSkillを生む:QA観点出しを自動化した
sontixyou
6
3.4k
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
YesSQL, Process and Tooling at Scale
rocio
174
15k
A designer walks into a library…
pauljervisheath
211
24k
30 Presentation Tips
portentint
PRO
1
270
Being A Developer After 40
akosma
91
590k
HDC tutorial
michielstock
2
630
[SF Ruby Conf 2025] Rails X
palkan
2
960
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
260
エンジニアに許された特別な時間の終わり
watany
106
240k
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.8k
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);