-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
01bbec8
commit 9652179
Showing
12 changed files
with
63 additions
and
1,168 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Architectures of Platforms. | ||
|
||
For web apps, an architecture means how are devices connected over the network. | ||
|
||
There are mainly two types of web apps namely, | ||
|
||
- Client-Server Architecture | ||
- Peer-2-Peer Architecture | ||
|
||
## Client Server Architecture | ||
|
||
- There is an explicit difference between the server and the client | ||
- Machine clients are also available that do not need a user interaction to perform its task. | ||
- There are several other variants of this architecture, i.e., multiple server, multiple client, multiple queue, etc. | ||
|
||
- Examples: Emails, Messaging Apps, etc. | ||
|
||
A pictoral representation of client-server architecture is given below. | ||
|
||
<figure markdown> | ||
 | ||
<figcaption>Client Server Model</figcaption> | ||
</figure> | ||
|
||
## Peer to Peer Architecture (P2P Model) | ||
|
||
- All the devices connected to P2P are given same priority but some peers marked by masters are given higher priority. | ||
- There are not owners of the network but masters or moderators are always present. | ||
- The files are still encrypted with keys to only the owner. | ||
- The information is shared. | ||
- Examples: Web-3, Torrent Clients, IPFS, etc. | ||
|
||
A pictoral representation of peer-2-peer architecture is given below. | ||
|
||
<figure markdown> | ||
 | ||
<figcaption>P2P Model</figcaption> | ||
</figure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Software Architecture Patterns | ||
|
||
## What is a design pattern? | ||
|
||
> "In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design.". | ||
- Senior developers observe a "pattern" in the code and helps the juniors to get their hands-on to the pattern so that the code becomes cleaner and efficient. | ||
|
||
## MVC Paradigm (Model-View-Controller Paradigm) | ||
|
||
- Model: The core data stored for the application, e.g., databases. | ||
- View: The front-end for your application that the user uses. | ||
- Controller: The manipulation of data. | ||
|
||
> User uses the **controller** to manipulate **model** that updates **view**. | ||
- Example: | ||
<figure> | ||
 | ||
<figcaption>MVC Paradigm when using Email Client</figcaption> | ||
</figure> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Performance of a site | ||
|
||
## Latency |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.