Skip to content

Commit

Permalink
Merge pull request #237 from andromeda-hebat/dev/farrel
Browse files Browse the repository at this point in the history
add: middleware illustration in web mvc design
  • Loading branch information
FarrelAD authored Dec 28, 2024
2 parents 59c99de + 43f1f59 commit 1985b2b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions docs/diagram/web-mvc-illustration/web-mvc-illustration.plantuml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ package "Web Client" {
}

package "Web Server" {
component Middleware as MW {
[Authentication]
[Request Parsing]
}

component Controller as C {
[Request Handling]
[Routing Logic]
Expand All @@ -24,10 +29,12 @@ package "Database" {
database "DB" as DB
}

V -down-> C : "Request (GET, POST, etc.)"
V -down-> MW : "Request (GET, POST, etc.)"
MW -down-> C : "Validated/Processed Request"
C --> M : "Business Logic Call"
M --> DB : "Query/CRUD Operations"
DB --> M : "Data Response"
M --> C : "Processed Data"
C --> V : "Response (HTML/JSON)"
C -up-> MW : "Response (Data/HTML)"
MW -up-> V : "Response (Processed)"
@enduml
Binary file modified docs/diagram/web-mvc-illustration/web-mvc-illustration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1985b2b

Please sign in to comment.