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
230
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
250
What's New in Symfony 5.3
ocrampete16
0
1.1k
What's New in Symfony 5.1?
ocrampete16
0
1.5k
Symfony Security Demystified
ocrampete16
0
220
Cache Me If You Can: HTTP-Caching and ESI with Symfony
ocrampete16
0
370
How to OOP: A Primer for Novice Developers
ocrampete16
1
200
REST vs GraphQL: The What, How and Why
ocrampete16
0
150
Other Decks in Programming
See All in Programming
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
ドメイン駆動設計の実践
masuda220
PRO
17
5.1k
開発部に不満を持っていたCSがエンジニアにジョブチェンしてわかった「勝手に諦めない」ことの大切さ
sakuraikotone
28
16k
わかりやすい正解を捨てて、コトに向き合う - スクラムフェス金沢2024 スポンサーセッション
yusukekokubo
0
170
君たちはどうコードをレビューする (される) か / 大吉祥寺.pm
utgwkk
15
8.5k
CSC307 Lecture 12
javiergs
PRO
0
220
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
Advanced App Shrinking Techniques
cbeyls
2
150
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
From Spring Boot 2 to Spring Boot 3 with Java 22 and Jakarta EE
ivargrimstad
0
1.9k
12年前の『型システム入門』翻訳の思い出話
mame
11
1.2k
Featured
See All Featured
Unsuck your backbone
ammeep
666
57k
The Language of Interfaces
destraynor
151
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
129
32k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
34
1.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
662
120k
Robots, Beer and Maslow
schacon
PRO
157
8.1k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
18
1.2k
Large-scale JavaScript Application Architecture
addyosmani
506
110k
How GitHub Uses GitHub to Build GitHub
holman
471
290k
How to Ace a Technical Interview
jacobian
274
23k
Building Better People: How to give real-time feedback that sticks.
wjessup
357
18k
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);