The flow and architecture of web based applications using hexagonal methodology
-
Upload
ivo-stefanov -
Category
Technology
-
view
320 -
download
2
Transcript of The flow and architecture of web based applications using hexagonal methodology
![Page 1: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/1.jpg)
THE FLOW AND ARCHITECTURE OF WEB BASED APPLICATIONS
USING HE AGONAL METHODOLOGY
HI MY NAME IS IVO AND TODAY I WANT TO SHARE
WITH YOU
X
![Page 2: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/2.jpg)
FEATURES AND COMPLEXITY
Decoupled CoupledAmount of Features / Time
Com
plex
ityGrowing Technical
Debt
![Page 3: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/3.jpg)
SO WHAT MAKES
PEOPLE NOT CARE ABOUT
THE RED ALERT?
![Page 4: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/4.jpg)
PRESSURE FROM THE BOSS?
WHERE ARE MY NEW
FEATURES!?
![Page 5: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/5.jpg)
PRESSURE FROM THE BOSS?
WHY DO WE HAVE SO MANY
BUGS!?
![Page 6: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/6.jpg)
COMPLAINING STRESSES PEOPLE
@stress#$%*@@&^#$stress&$%*!!!!!
![Page 7: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/7.jpg)
LEVELS OF ENTHUSIASM
DROP RAPIDLY
![Page 8: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/8.jpg)
RELUCTANCY TO LEARN, WORK AND
IMPROVE PERSONAL KNOWLEDGE
![Page 9: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/9.jpg)
SO ASK YOURSELF:
WHAT CAN I DO TO WORK LESS AND
MAKE THE BOSSMAN HAPPY ?
![Page 10: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/10.jpg)
ONE MORE THING
IF YOU WERE YOUR OWN BOSS, WHAT WOULD MAKE YOU
HAPPY ?
![Page 11: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/11.jpg)
SO WHAT IS THE ANSWER?
![Page 12: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/12.jpg)
THINK ABOUT THE FUTURE OF YOUR
APPLICATION IN THE BEGINNING
![Page 13: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/13.jpg)
LEARN HOW TO BOOST YOUR APPLICATION AT ITS START, BY USING BETTER ARCHITECTURE
![Page 14: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/14.jpg)
SO WHAT IS ARCHITECTURE
![Page 15: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/15.jpg)
IS IT ACTUALLY A COMBINATION
OF DIFFERENT PIECES OF CODE WORKING TOGETHER
JUST?LIKE A CLOCKWORK
![Page 16: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/16.jpg)
MAYBE ID DOES, WE ARE NOT SURE
SO MANY QUESTIONS AND THERE ARE
SO MANY DIFFERENT ANSWERS
![Page 17: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/17.jpg)
DIFFERENT OPINIONS
![Page 18: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/18.jpg)
MVC
HOLY GRAIL
![Page 19: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/19.jpg)
M
![Page 20: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/20.jpg)
M
![Page 21: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/21.jpg)
M KNOWS HOW TO SAVE DATA IN
YOUR DATABASE
![Page 22: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/22.jpg)
V
![Page 23: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/23.jpg)
V
![Page 24: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/24.jpg)
VGENERATES
OUTPUT PRESENTATION BASED ON THE DATA IN FROM
THE MODEL
![Page 25: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/25.jpg)
C
![Page 26: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/26.jpg)
C
![Page 27: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/27.jpg)
CHANDLES
REQUESTS FROM THE VIEW AND UPDATES THE
MODEL’S STATE
![Page 28: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/28.jpg)
S
![Page 29: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/29.jpg)
S
![Page 30: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/30.jpg)
SSERVERS TO
OFFLOAD TASKS FROM THE
CONTROLLER AND ALSO HAS NO
STATE
![Page 31: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/31.jpg)
THE MYSTERIOUS PERSISTNACE
STORAGE
![Page 32: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/32.jpg)
Data flow both waysData flow one wayData flow through a request
WHAT PEOPLE DO
![Page 33: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/33.jpg)
THE EQUIVALENT
*
* - EQUIVALENCE SYMBOL
![Page 34: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/34.jpg)
WHAT THE BOSS THINKS
![Page 35: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/35.jpg)
WHAT HAPPENS WHEN A CHANGE
OCCURSCUT CU
T
CUTCUT
REFACTOR
![Page 36: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/36.jpg)
THE HEXAGON
![Page 37: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/37.jpg)
R COMMUNICATION BETWEEN MODEL
AND CORE DOMAIN
![Page 38: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/38.jpg)
CD
HOLDS THE BUSINESS LOGIC.
UNDERSTANDABLE BY THE DOMAIN SPECIALISTS
![Page 39: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/39.jpg)
Data flow both waysData flow one wayData flow through an event bus
WHAT IT CAN BE
![Page 40: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/40.jpg)
DEPENDENCIES
![Page 41: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/41.jpg)
A DIFFERENT PERSPECTIVE
![Page 42: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/42.jpg)
![Page 43: The flow and architecture of web based applications using hexagonal methodology](https://reader035.fdocuments.us/reader035/viewer/2022062412/589bf9ae1a28ab40348b6cef/html5/thumbnails/43.jpg)
THANK YOU FOR THE ATTENTION!