#WIL - 23.04.10~23.04.16

Jay Ji·2023년 4월 16일
0

WIL I write every week?

목록 보기
2/6
post-thumbnail

Problem

This week I studied about server side. Espeically in order to use Spring, it seems like it is crucial to know the basics of HTTP and MVC.

What I tried

These are the things I tried to understand the concept:
1. I attended a lecture about HTTP and MVC
2. I watched youtube lectures to supplement and understand more about the concept of HTTP and MVC
3. I focused on applying the method with my project

What I learned

1. Server

Promgram that provide some functionality that you request or use or the computer that is running the program that provides the corresponding functionality.

2. Network

Network is a technology that allows multiple computers or equipment to connect together to communicate information.

3. HTTP

HTTP(Hypertext Transfer Protocol) is the foundation of the World Wide Web and is used to load webpages using hypertext links. Basically, HTTP is a rule of sending and receiving data through internet.

An HTTP request is the way Internet communications platforms such as web browsers ask for the information they need to load a website. An HTTP request can be divided into three elements; Start Line(HTTP version type), Headers and Body.

An HTTP response is what web clients receive from an Interent server in answer to an HTTP request. These responses communicate valuable information based on what was asked for in the HTTP request. An HTTP response contains Start Line(HTTP status code), Headers, and Body.

4. MVC

MVC stands for Model-View-Controller, which is one of the software design patterns. Spring also uses MVC. MVC patter separates each role by dividing the components that make up the software into Model, View and Controller.

Model - responsible for data and business logic
View - responsible for the user interface
Controller - coordinates and controls the interaction between the Model and View

This way MVC allows the reuse and maintenance of code and facilitates collaboration among developers.

5. API

API stands for Application Programming Interface, which is the client and server communicate with each other over HTTP and operate the function, and the established communication rele between each other.

profile
Think out of the Box

0개의 댓글