Web Design Notes-Chapter I: Fundamentals

Source: Internet
Author: User

1,web Server (1) Web server operations

The Web browser communicates with the Web server by sending a URL to the server. A URL can specify one of two different resources: a file or a program.

All communication between the Web client and the Web server uses standard Web protocol HTTP.

(2) General features of the server

There are two directories for the Web server's file structure: the document root and the server root directory. The document root user has direct access to the server root that allows only administrator access.

2, Hyper-Text Transfer Protocol HTTP

The HTTP contains two phases: the request phase and the response phase. Each HTTP communication (request or response) between the user agent and the Web server consists of two parts: the head and the body. The header contains information about the communication, and the subject contains the data of the communication.

(1) Request phase

Common formats for requests:

http method  Domain name  http version header field empty line message body

The request method has Get,post,head,put and delete, the most common is get and POST.

(2) Response phase

The common format for HTTP responses is as follows:

Status line Response Header field blank line response body

Status code:

Start number Category
1 Information
2 Success
3 redirect
4 Client Error
5 Service-side Error

3 Security

There are 4 features of web security: Privacy, integrity, verifiable, non-repudiation.

4 Web Programming Toolbox

HTML: Hypertext Markup Language

PHP: Server-side scripting language specifically designed for Web

Flash: A plug-in for authoring environments and players

ajax:asynchronous JavaScript and XML, asynchronous JavaScript and XML. Communication with the server is asynchronous.

Web Design Notes-Chapter I: Fundamentals

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.