WEB programming is a tag
One of the differences with CS development isThe client becomes a browser,
First, let's take a look at the overall structure of the web design.
Comparison with CS
This is not detailed here. We will discuss the specific chapters in the future.
Here is a brief description.
1. Different hardware environments:
2. Different security requirements
3. Different program Architectures
4. Different user interfaces
5. Different information flows
Basic working mode
Stateless editing mode
Disconnected connection
Based on the request/response mode (HTTP Protocol)
Proxy Server Concept
Each eight IP addresses is an IP address, which converts an invalid IP address into a valid IP address.
Protocols used in Transmission
HTTP protocol (based on request response)
The transmission protocol is UDP (User Datagram Protocol, connectionless)
HTTP is connection-oriented (connectionless = no connection or no connection)
Network Interface and HTTP service
Connect to the network through the Internet, transfer protocol/finally send to multiple servers through windo socket
Windows Socket: A unique connection between an IP address and a port
In this way, you can communicate
Dynamic Web Page
Clients and servers
ASP must be published on the server. It is set to IIS server. PS (usually 65535 ports,
Generally, ports later than are specified, and ports earlier than are fixed)
Example
Client script usage
The Call Sequence diagram is as follows:
The syntax structure is
<SCRIPT start and end
Language = is a language
Code segment in the middle
But the function code
The script language <scriptlanguage = "JavaScript"> funasb ASB () {If (form1.textfield. value = "") {window. Alert ("the user name cannot be blank! "); Form1.textfield. focus ();}} </SCRIPT> <title> untitled document </title>
The above is the client dynamic web page
Static is also the basis of dynamic.
==========
Advantages of Asp.net
Supports strong languages
ASP code is separated from HTML code and server-side ASP code
No need to register Components
After one compilation, you do not need to compile
Code separation (Object-Oriented, inheritance, mechanism)
The above is the basic web design method. please correct me.