Basic concepts of Web development and basic concepts of web Development
Reference:
Tomcat and Java Web development technology explanation version 2 ---- sun weiqin
Chuanzhi podcast video notes
Basic Concepts
1. Web: Web is a distributed application architecture designed to share all the information that is interconnected among various Web servers.
2. Web development: ① narrow sense: Web website development
② Broadly speaking: server-side development
3. Web Resources: There are two types of Web resources: static web Resources and dynamic Web resources.
① Static Web Resources: these resources can be directly opened by a browser, such as html, css, and js.
② Dynamic Web Resources: Some browsers cannot be opened directly. They must be translated into html and other static Web resources before they can be opened, such as jsp and servlet.
The preceding two types of Web resources correspond to two types of Web development technologies, one is static Web development technology and the other is dynamic Web development technology. We mainly research dynamic Web development technology.
Common Web development technologies include jsp, servlet, php, and asp.net. In Java, dynamic web Resource Development Technology is collectively referred to as Javaweb.
4. Web server: the Web server can dynamically execute program code, which is created by a dedicated server developer. Contains two parts: hardware and software.
① Hardware: it can be a large host or a general PC.
② Software: more popular: (1) Weblogic (Orcale) Payment
(2) Websphere (IBM) Payment
(3) Free and Open Source Tomcat (Apache)
5. Web development architecture
① B/S model browser ------- server (currently and in the future)
② C/S model client ------- Server
Comparison: users of the B/S model do not need to install special customer programs. They only need to install a browser. The disadvantage is that it is difficult to implement complicated customer interfaces.
The C/S model is highly interactive and has low network load. However, it requires high software scalability and poor reusability for clients.
6. HTTP Protocol: Hypertext Tranfer Protocol is the communication between the client (browser) and the server.
Protocols and rules to be followed. The application layer protocol is based on the stateless request response mode and the TCP/IP protocol.