Advanced Web Development Flashcards
What is essentially the function of REST and HTTP?
They are the technology behind how the web browser works. When you use a web browser, you use rest.
List the primary methods used in a REST request
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS
Summerize the meanings of the 5 types of status codes:
1xx informational response
2xx successful
3xx redirection
4xx client error
5xx server error
Name the 8 steps of the DevOps chain
1) Plan (Purpose)
2) Code (implement)
3) Build (validate)
4) Test (Automate)
5) Release (Document)
6) Deploy (Integrate)
7) Operate (API Gateway)
8) Monitor (Performance)
What does MVC stand for?
Model View Controller
Explain the relationship and functionality of MVC
User sees the VIEW and uses the CONTROLLER. The CONTROLLER manipulates the MODEL, and the MODEL updates the VIEW.
What is contained in the VIEW? (MVC)
Backend Routes
Frontend Views/Components
No Logic
Validate and Render Data
What is contained in the CONTROLLER? (MVC)
Logic
Data structure
Dynamic Objects
App State (Logged in, cart, settings etc.)
What is contained in the MODEL? (MVC)
Entry to Database or 3rd Party API
API Commands to Backend
Can Contain Several Databases