개발입문

Web 개념

haloaround 2017. 1. 30. 11:01


Static Website vs. Dynamic Website

Static Website 는 페이지 마다 코드가 고정되어있습니다.

Dynamic Website 는 DB or CMS(Content Management System)으로 인해 페이지의 정보가 달라질 수 있습니다. Client-Side-Script, Server-Side-Script 각각에 따라 사용자에게 보여지는 정보가 달라질 수 있습니다.


HTTP

HyperText Transfer Protocol

- WWW (World Wide Web) 상에서 클라이언트와 서버가 데이토 통신을 하는 규약이다. 

- 클라이언트는 요청하고 서버는 응답한다. 기본저긍로 서버는 어느 클라이언트가 요청하는지에 관계없이 일을 처리한다 .


HTTP Request

Method: GET, POST, HEAD, TRACE, PUT, DELETE, OPTION,

Request message including

- The Request-line

- The analysis of source IP address, proxy and port

- The analysis of destination IP address, protocol, port and host

- The Requested URI (Uniform Resource Identifier)

- The Request method and Content

- The User-Agent header

- The Connection control header

 The Cache control header


GET vs. POST

GET
- It requests the data from a specified resource
- limited data on URL, unsecured but efficient
- can be bookmarked and cached

POST
- It submits the processed data to a specified resource
- secured large amount of data but inefficient
- do not remains in the browser history



How Web Works