Client와 Server Model (Apache) & some HTML

Hyun Seo (Lucy) Lee 이현서·2020년 9월 19일
0
post-thumbnail

2020년 9월 14일

스마트/하이브리드 앱/웹 개발 훈련과정

복습 Entry no.1

HTTP: Hyper text transfer protocol

Client/Server Model

  • Client: 브라우저는 웹용 Client App이고 질의를 전달하고 요구한 Web Page를 보여주는 기능을 담당함.

  • Server: Web Server로 Client의 질의에 응답하고 여러 Web Object를 Client에 전송한다.

  • 여기서 일어나는 Communication은 1:1이다. 한 프로그램이 물어보면 한 프로그램이 답한다.

www.naver.com --> 이 주소에서 com이 company고, naver가 그 많은 컴퍼니 중에 하나를 뜻하고, www가 특정 컴퓨터 이름을 뜻한다.

*옛날에 한국 개발자들은 com!naver!www <-- 이렇게 쓰기도 했다고 한다.

레이어가 5개 있는데, 그건 물리, 링크, 네트워크 (IP), 전송 (TCP), 그리고 응용이다.

우리가 포커스 하고 있는 건 응용 레이어로, Client는 http (chrome, IE)이고 Server는 http (web) --> Apache as HTTP Server 가 되는 것이다.

Some HTML:

  • Use < for < and > for >, so that your website is not vulnerable to hacking.

  • For the <table> tag, make sure <tr> (the rows) contain <td> (the columns). If you want a single cell to be a merge of 2 cells, use rowspan and colspan for the <td> tag that refers to that respective cell.

    • Ex: <td rowspan="2"> *make sure you put one less <td> in the row below

    • Ex2: <td width="200" colspan="2"> *make sure you double the width and put one less <td> in that row

0개의 댓글