Home >Backend Development >PHP Problem >What are the differences between asp php jsp

What are the differences between asp php jsp

藏色散人
藏色散人Original
2020-11-25 10:20:553750browse

asp php jsp The differences are: 1. Different containers, ASP is generally IIS, JSP is generally an execution container that conforms to JEE specifications, and PHP is its official interpreter; 2. Different languages, ASP’s dynamics The coding languages ​​are mainly C# and VB, JSP is Java, and PHP is a customized PHP language.

What are the differences between asp php jsp

Recommended: "PHP Video Tutorial"

asp The differences between php jsp are:

Two main differences in external form:

1. Different containers. ASP is generally IIS, which is generally an execution container that conforms to JEE specifications. PHP is of course its official interpreter.

2. The languages ​​are different. ASP’s dynamic code languages ​​are mainly C# and VB, JSP is Java, and PHP is of course a customized PHP language.

ASPFull name Active Server Pages is a WEB server-side development environment that can be used to generate and execute dynamic, interactive, high-performance WEB service applications. ASP uses the scripting language VBScript (Java script) as its own development language.

PHP is a cross-platform server-side embedded scripting language. It borrows a lot of syntax from C, Java and Perl languages, and couples PHP's own features to enable WEB developers to quickly write dynamically generated pages. It supports most current databases. Another point is that PHP is completely free. You don’t need to spend money. You can download it freely from the PHP official site (http: //www.php.net). And you have unrestricted access to the source code, and you can even add the features you need.

JSP is a new generation website development language launched by Sun Company. Sun Company uses its extraordinary achievements in Java to transform Java into new ones in addition to Java applications and Java Applets. The great achievement is JSP, Java Server Page. JSP can complete powerful site programs with the support of Serverlet and JavaBean.

All three provide the ability to mix certain program code in HTML code and have the language engine interpret and execute the program code. However, the JSP code is compiled into a Servlet and interpreted and executed by the Java virtual machine. This compilation operation only occurs on the first request for the JSP page. In ASP, PHP, and JSP environments, HTML code is mainly responsible for describing the display style of information, while program code is used to describe processing logic. Ordinary HTML pages only rely on the Web server, while ASP, PHP, and JSP pages require additional language engines to analyze and execute program codes. The execution results of the program code are re-embedded into the HTML code and then sent to the browser together. ASP, PHP, and JSP are all Web server-oriented technologies, and the client browser does not require any additional software support.

The above is the detailed content of What are the differences between asp php jsp. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn