Skip to content

Commit

Permalink
docs: Added Architecture Description 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
hossainchisty authored Dec 20, 2021
1 parent 63eac3f commit 2571adc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/project-configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# ⚙️ Project Configuration

#### Architecture

Model–view–controller is a software design pattern commonly used for developing user interfaces that divide the related program logic into three interconnected elements.

Model
The Model component corresponds to all the data-related logic that the user works with. This can represent either the data that is being transferred between the View and Controller components or any other business logic-related data. For example, a Customer object will retrieve the customer information from the database, manipulate it and update it data back to the database or use it to render data.

View
The View component is used for all the UI logic of the application. For example, the Customer view will include all the UI components such as text boxes, dropdowns, etc. that the final user interacts with.

Controller
Controllers act as an interface between Model and View components to process all the business logic and incoming requests, manipulate data using the Model component and interact with the Views to render the final output. For example, the Customer controller will handle all the interactions and inputs from the Customer View and update the database using the Customer Model. The same controller will be used to view the Customer data.

#### RBAC

Role-based access control (RBAC) is a policy-neutral access-control mechanism defined around roles and privileges.
Expand Down

0 comments on commit 2571adc

Please sign in to comment.