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
Keep your architecture clean - PHPBenelux 2020
Search
Simon Mönch
January 25, 2020
Programming
0
280
Keep your architecture clean - PHPBenelux 2020
Simon Mönch
January 25, 2020
Tweet
Share
More Decks by Simon Mönch
See All by Simon Mönch
Keep you architecture clean
smoench
0
36
Other Decks in Programming
See All in Programming
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
2
280
楽しく向き合う例外対応
okutsu
0
110
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
150
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
Open source software: how to live long and go far
gaelvaroquaux
0
630
さいきょうのレイヤードアーキテクチャについて考えてみた
yahiru
3
750
Introduction to kotlinx.rpc
arawn
0
700
2,500万ユーザーを支えるSREチームの6年間のスクラムのカイゼン
honmarkhunt
6
5.3k
Conform を推す - Advocating for Conform
mizoguchicoji
3
690
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
150
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
560
GitHub Actions × RAGでコードレビューの検証の結果
sho_000
0
260
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.8k
Into the Great Unknown - MozCon
thekraken
35
1.6k
For a Future-Friendly Web
brad_frost
176
9.5k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
Documentation Writing (for coders)
carmenintech
67
4.6k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Side Projects
sachag
452
42k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
GraphQLとの向き合い方2022年版
quramy
44
13k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Transcript
@smoench89 Keep your architecture clean 1
@smoench89 Agenda • What is software architecture about? • Example
application • Track application layers and enforce rules 2
@smoench89 Simon Mönch @smoench89 Symfony User Group Cologne Organizer 3
@smoench89 What is software architecture about? 4
@smoench89 What is software architecture about? • Communication ‣ Requirements
‣ Decisions ‣ Agreements 5
@smoench89 –Ralph Johnson „Architecture is about the important stuff. Whatever
that is.“ 6
@smoench89 Example 7 • API driven • Admin and Customer
API • Easily extendable with other APIs / 3rd Party Integrations • Keep in mind a API context could spilt out to its own service
@smoench89 Hexagonal architecture Ports and adapter architecture 8
@smoench89 9 Core Admin Customer Driven Driving
@smoench89 Application 10
@smoench89 Deptrac https://github.com/sensiolabs-de/deptrac 11
@smoench89 Installation ✓ PHAR | https://github.com/sensiolabs-de/deptrac/releases ✓ phive install -g
sensiolabs-de/deptrac ✓ composer require --dev sensiolabs-de/deptrac-shim X composer require --dev sensiolabs-de/deptrac 12
@smoench89 depfile.yml 13
@smoench89 14
@smoench89 15
@smoench89 Formatters 16
@smoench89 Console 17
@smoench89 Graphviz 18
@smoench89 JUnit 19
@smoench89 Layers & Collectors 20
@smoench89 className 21
@smoench89 classNameRegex 22
@smoench89 directory 23
@smoench89 bool 24
@smoench89 Demo 25
@smoench89 Conclusions 26
@smoench89 Thank you @smoench89 https://joind.in/talk/017e5 27