Chapter 1 Overview of Web Technology

Table of contents

1.1 Understand static web pages and dynamic web pages

1.1.1 Static web pages

1.1.2 Dynamic Web Pages

1.2 Cognitive web server and network database

1.2.1 Web database

1.2.2 Network database technology

1.3 Comparing JSP and ASP.NET

1.4 Comparing C/S structure and B/S structure


1.1 Understand static web pages and dynamic web pages

www is the abbreviation of world Wide Web (Global Information Network), and it can also be referred to as Web. The Chinese name is World Wide Web.

1.1.1 Static web pages

A static web page refers to a web page that has no background database, does not contain programs, and cannot be interacted with. What is edited is what it shows, it will not change anything.

Static web pages are usually page files with suffixes such as htm, .html, .shtml, etc. Various dynamic effects can also appear on web pages in HTML format, such as animation in .gif format, Flash, scrolling subtitles, etc. These "dynamic effects" are only visual.

The main features of static web pages:

1. There is no database support for static web pages, and the workload in website production and maintenance is relatively large. Therefore, when the website has a large amount of information, it is difficult to completely rely on static web page production methods;

2. Once the content of the webpage is published on the website server, the content of each static webpage is stored on the website server regardless of whether there is a user accessing it. That is to say, the static webpage is a file actually stored on the server. Each web page is a single file.

3. Static web pages Each web page has a fixed URL, and the URL of the web page is suffixed in common forms such as .htm, .html, and .shtml;

4. The content of static web pages is relatively stable, so it is easy to be retrieved by search engines

5. The interactivity of static web pages is poor, and there are relatively large limitations in terms of functions.

1.1.2 Dynamic Web Pages

Compared with static web pages, dynamic web pages refer to web pages that can be interacted with, have background databases, and contain programs. The content displayed by them changes with changes in user needs.

Dynamic web pages are usually page files with suffixes such as .asp, .jsp, .php, .aspx, etc.

The main characteristics of dynamic web pages are as follows:

1. Dynamic web pages are based on database technology, which can greatly reduce the workload of website maintenance;

2. A dynamic webpage is not actually a webpage file that exists independently on the server, and the server returns a complete webpage only when the user requests it;

3. Websites using dynamic web page technology can achieve more functions.

4. It is generally impossible for search engines to access all web pages from the database of a website.

1.2 Cognitive web server and network database

1.2.1 Web database

A web server is not the physical machine (server) that is often mentioned, but a piece of software that manages various web files and provides HTTP responses to browsers that make HTTP requests.

Web servers can parse the HTTP protocol.

Commonly used web servers

1、Microsoft IIS

2、IBM WebSphere

3、BEA WebLogic

4、Apache

5、Tomcat

Tomcat is an open source, java-based web application software container that runs Servlet and JSP web application software.

1.2.2 Network database technology

Database technology was produced from the late 1960s to the early 1970s, and its main purpose is to effectively manage and access large amounts of data resources. Database technology mainly studies how to store, use and manage data.

A network database is also called a web database. The web database consists of four parts: database server (Database Server), middleware (Middle Ware), web server (Web Server), and browser (Browser).

The working process can be simply described as: the user accesses the database through the web server in an interactive way through the browser-side operation interface. The information submitted by the user to the database and the information returned by the database to the user are displayed in the form of web pages.

1.3 Comparing JSP and ASP.NET

1.3.1ASP

ASP is a combination of HTML, Script (script) and CGI (Common Gateway Interface) developed by Microsoft Corporation. It does not provide its own programming language, but allows users to use many existing scripting languages ​​to write ASP application software. .

1.3.2PHP

PHP (Hypertext Preprocessor) hypertext preprocessor, PHP is an HTML embedded language.

1.3.3JSP

JSP (Java Server Pages), JSP is to insert Java program segments (JavaScript) into traditional web page HTML files (*.htm, *html) to form JSP files (*.jsp)

1.4 Comparing C/S structure and B/S structure

The full name of the C/S structure is Client/Server, that is, the client/server mode.

The full name of the B/S structure is Browser/Server, that is, the browser/server model.

The B/S structure consists of three levels: browser, web server, and database server.

Supongo que te gusta

Origin blog.csdn.net/TAO1031/article/details/124174661
Recomendado
Clasificación