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
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
920
新しいPHP拡張モジュールインストール方法「PHP Installer for Extensions (PIE)」を使ってみよう!
cocoeyes02
0
280
SQL Server ベクトル検索
odashinsuke
0
160
メモリウォールを超えて:キャッシュメモリ技術の進歩
kawayu
0
1.9k
英語 × の私が、生成AIの力を借りて、OSSに初コントリビュートした話
personabb
0
180
Signal-Based Data FetchingWith the New httpResource
manfredsteyer
PRO
0
160
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
110
Being an ethical software engineer
xgouchet
PRO
0
200
DataStoreをテストする
mkeeda
0
280
ベクトル検索システムの気持ち
monochromegane
31
9.8k
Preact、HooksとSignalsの両立 / Preact: Harmonizing Hooks and Signals
ssssota
1
1.3k
custom_lintで始めるチームルール管理
akaboshinit
0
200
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Speed Design
sergeychernyshev
28
880
Raft: Consensus for Rubyists
vanstee
137
6.9k
Music & Morning Musume
bryan
47
6.5k
Facilitating Awesome Meetings
lara
54
6.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
12
1.4k
Site-Speed That Sticks
csswizardry
4
470
How to Think Like a Performance Engineer
csswizardry
22
1.5k
How to train your dragon (web standard)
notwaldorf
91
6k
Unsuck your backbone
ammeep
670
57k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
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