Skip to content

Commit 2d83ba4

Browse files
authored
Update README.md
1 parent f50b31e commit 2d83ba4

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

README.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,23 +112,20 @@ class A {
112112

113113
### Model-view-controller (MVC)
114114

115+
<img src="https://qph.fs.quoracdn.net/main-qimg-c3f2bef1693561dfb24e0f00aa592c80" title="MVC, src:quora.com" width="75%" height="300" style="float:right;">
116+
117+
*Ideal MVC*
118+
115119
- it's a software architectural pattern in which your software is separated into 3 parts:
116-
<figure>
117-
<blockquote>
118-
<img src="https://qph.fs.quoracdn.net/main-qimg-c3f2bef1693561dfb24e0f00aa592c80" title="MVC, src:quora.com" width="100%" height="300" >
119-
</blockquote>
120-
<figurecaption>Ideal MVC</figurecaption>
121-
</figure>
120+
122121
1. Model: it's a component that handles anything related to data in the software
123122
2. View: it's a component that deals with UI related stuff
124123
3. Controller: it's a component that manages flow between the other two components and handles any business logic in the software
125-
<figure>
126-
<blockquote>
127-
<img src="/diagrams/spring-mvc.png" title="Spring MVC" width="100%" height="300" >
128-
</blockquote>
129-
<figurecaption>Spring MVC</figurecaption>
130-
</figure>
131124

125+
<img src="/diagrams/spring-mvc.png" title="Spring MVC" width="75%" height="300" style="float:right;">
126+
127+
*Spring MVC*
128+
132129
### Data Access Objects (DAO)
133130

134131
- it's a design pattern that provides an interface that provides access to underlying databases throughout some (CRUD) operations

0 commit comments

Comments
 (0)