ASP. NET
First, ASP. NET has nothing to do with ASP. ASP is scripting, And it is written using JavaScript or VbScript. NET is based on.. NET platform language, such as VB. NET, C #, and so on. ASP.. NET has four versions so far: 1.0, 1.1, 2.0, and 3.5. Their development environments correspond to Visual Studio 2002, 2003, 2005, and 2008 respectively. Of course, Visual Studio 2008 supports multiple versions.. NET Framework, that is, ASP. NET 2.0 and 3.5.
The ASP. NET Server requires the installation of a. NET Framework. Of course, I am referring to the windows system. By the way,. net can only be run in the windows environment.
ASP. NET is the compilation language, and ASP is the interpretation language ).
ASP. NET speed is incomparable to ASP. Next I will explain why ASP. NET is faster than ASP:
ASP. NET is the compilation language. Therefore, when it is loaded for the first time, it will compile all the programs, including the worker process, and compile the syntax to form an assembly ), after the program is compiled, the execution speed is almost 0, while ASP submits the code to the VBScript interpreter or Jscript interpreter for explanation. Of course, the speed of a program that has not been compiled is faster.
PHP
PHP, like ASP, is also a scripting language. Generally, the connected database is a MySql database. Of course, it can also be connected to other databases such as the Access database and MsSqSqlServer database. They all belong to free software in China), that is, their resources are free.
PHP is better than ASP in terms of security. Of course, it is said that a good programmer can do almost the same thing about security, but PHP is better than ASP in terms of security. Why. The main reason is that Apache + MySql + PHP needs to be installed in the complicated server environment for PHP, while the establishment environment for ASP is relatively simple. You only need to install IIS ), so the threshold for learning PHP is higher than that for ASP, so many people prefer ASP to learn more, and there are more people who study ASP vulnerabilities, PHP has fewer people, so fewer people are studying vulnerabilities. In this case, PHP is more secure than ASP.
Another point is that the Apache environment is preferably Unix, which can also be installed in Windows. Apache is a PHP support environment)
Another point is the efficiency of MySql, which is many times better than Access, but worse than MsSqlSqlServer.
JSP
I have not studied JSP much yet. In general, JSP has a huge amount of work, and any project can be done. Of course, it is a team development team with more than three people. His time consumption is also the most common.
Someone asked this question about the. NET advantage, so I summarized it.
The ease-of-use of. NET development tool Visual Studo makes it super powerful in Java's "user enterprise information system Department) and programmable system. This may have other similar fields.
Because Java itself is complex and difficult to learn, it is common for a user enterprise to only be responsible for planning and delegate programming work to integrators.
There are many main factors for Java's popularity. The most critical factor is "Openness ". Because it can run on a variety of operating systems, and many developers also provide Web application servers and development tools, users can choose freely. The developer continuously improves the product level by competing with each other in terms of functions and performance.
After talking for a long time, which language is better ?. NET and JSP should be the future development trend. Some of the world's leading e-commerce solution providers use JSP/Servlet and. NET frameworks. However, developers who prefer PHP do not have to worry about the future. They are proficient in any field.
- Summary of redirection Technology in Servlet and JSP
- Notes for connecting JSP to ORACLE databases
- Brief Introduction to advanced operations on JSP Databases
- Solutions to Jsp output of excel documents and Chinese garbled characters
- How to solve the problem of garbled JSP page display