What Is Server-Side Scripting?
Server-side programming refers to writing programs on a web server and making them run normally. In B / S mode, when a user downloads a webpage, if the webpage contains a server script, the web server will execute the script program in the webpage for the first time, and then send the execution result webpage to the client browser for display. [1]
Server programming
- The B / S three-tier architecture can be defined as:
- Presentation layer on the client
- Middle web server layer
- Backend database server layer
- In the B / S three-tier architecture mode,
Server programming definition
- The script engine refers to the running environment of the script program, and is responsible for the interpretation of the script program to specifically process the script commands written in the corresponding script language. For example, the ASP script language must run on IIS (Internet Information Server); Tomcat is a container for JSP and Server. To run JSP web pages, Tomcat must be installed and configured. Without a script engine, scripts cannot run.
ASP Server-side programming ASP interpreter
- In the ASP structure, the ASP interpreter (ASP.DLL) is responsible for parsing tasks of server-side script programs in ASP pages. This requires the installation of the scripting engine of the corresponding scripting language, that is, the script program interpreter, to specifically process script commands written in the corresponding language, which is called by the ASP interpreter in the form of COM components.