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
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
AIエージェントで業務改善してみた
taku271
0
510
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
12
4.5k
3分でわかるatama plusのQA/about atama plus QA
atamaplus
0
150
今こそ押さえておきたい アマゾンウェブサービス(AWS)の データベースの基礎 おもクラ #6版
satoshi256kbyte
1
240
Getting more out of Maven
mlvandijk
0
110
「話せることがない」を乗り越える 〜日常業務から登壇テーマをつくる思考法〜
shoheimitani
4
750
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
710
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
310
AWS re:Invent 2025の少し振り返り + DevOps AgentとBacklogを連携させてみた
satoshi256kbyte
3
160
「速くなった気がする」をデータで疑う
senleaf24
0
170
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
130
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
2
580
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
180
Producing Creativity
orderedlist
PRO
348
40k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
The World Runs on Bad Software
bkeepers
PRO
72
12k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
180
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
130
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
720
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);