Website basic architecture and Web language

Source: Internet
Author: User

First, the basic structure of the website

1, the general site structure is:

Website Program + database + middleware + server

2. Static and Dynamic Web pages

(1), Static Web page

In Web site design, a Web page that is purely HTML is often called a static Web page, and the file's suffix is typically. htm or. html. Once this page is formed, the content will no longer change.

How static Web pages work:

The client sends the request-to the server (receives the request)-finds a static web page--sends the Web page to the client

For example, we make a static page ourselves

Save as an. html file.

(2), Dynamic Web page

The so-called Dynamic Web page, that is, the page file is not only HTML tags, there are program code. This page may display different content at different times depending on the user's needs.

How Dynamic Web pages work:

The client sends the request--server side (Accept request)--Find Dynamic Web page--Execute program code, generate static Web page--Send Web page to client

Relative to static Web pages, Dynamic Web page is the content of the page according to the specific circumstances, he based on data technology, with different users, different times, the return of different pages.

The common dynamic page technology has ASP, PHP, JSP and so on.

ASP (Active Server Pages) is a background scripting language developed by Microsoft, and his syntax is similar to that of visual Dasic, where background scripting code can be embedded in HTML pages. At the time of execution, ASP is the program engine with ISS call, explaining the execution of ASP code embedded in HTML, and finally sending the result to the client with the original HTML.

PHP (hypertext Preprocessor) is a cross-platform server-side embedded scripting language, he borrowed a lot of C, Java and Perl language syntax, and coupled with PHP's own characteristics, is the web developer can quickly write dynamically generated page, It supports most of the current databases, and PHP is completely free. Like ASP, he can also embed background script code into HTML.

JSP (Java Server Pages) is a new generation of web development language introduced by Sun, which can be used for large-scale application services.

Website basic architecture and Web language

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.