Asp:
First of all, ASP, which is a scripting language, is a general connected database for access and MSSQL (SQL Server). When we develop a general small database site, generally in 30,000 records below, generally use Access database.
The advantage of an Access database is that common servers are supported.
The advantage of SQL Server database is that it is fast, for example, when the recordset is over 100,000, you can recommend a SQL database.
Both databases are in SQL syntax in ASP, but the usage syntax for Access databases and SQL Server databases is somewhat different.
In the production site, ASP language and HTML language is mixed, here, the ASP language belongs to the background language, that is, he is operating on the server, the foreground script is divided into two types of VbScript and JavaScript. In general, ASP and VBScript are used together.
VBScript belongs to the foreground scripting language and runs on the client. Of course JavaScript is also the foreground scripting language.
Finally explain the full name of the asp: the full name of the ASP is active (active) server (server) pages (page), that is, the Active Server page.
Php:
PHP and ASP are the same, but also belong to the scripting language, the general connection of the database is a MySQL database, of course, it can and Access databases and MSSQL (SQL Server) database and other databases to connect.
Again, PHP belongs to freeware, which means that his resources are free, of course, in fact, the ASP in the current Chinese environment, but also free, from this point is no different.
PHP is better than ASP in terms of security, of course, here is relative, a good programmer to security, all the same, but the security of PHP is better than the ASP, why say so. Here is the main reason is this, PHP build server environment is relatively complex (need to install Apache + MYSQL + PHP), and the ASP's build environment is relatively simple (only need to install IIS on it), so the threshold of learning PHP is higher than the threshold of ASP, So a lot of people in favor of the ASP to learn more people, the natural study of ASP vulnerabilities, and the number of people in PHP will be less, so the study of the vulnerability of less people, from this point of view, PHP security than the security of the ASP is higher.
And there is a point is that Apache environment is best UNIX, of course, Windows can also be installed. (Apache is the support environment for PHP)
And again, the efficiency of MySQL, he is much better than access, but more than MSSQL (SQL Server) to almost.
asp.net:
First of all, asp.net and Asp have nothing to do with, look like the upgrade version of what, in fact, no connection.
ASP is scripting, using the ASP language, and asp.net with the C # language, completely different things.
Now the asp.net is divided into two versions: 1.1 and 2.0
asp.net 1.1 is programmed with VS2003 (Visual Studio 2003).
ASP.net 2.0 is programmed with VS2005 (Visual Studio 2005).
Now the general development uses is the VS2003.
asp.net server that requires installing a. NET environment, and of course I'm referring to the Windows system, and by the way,. NET can only be run in a Windows environment.
asp.net 1.1 is installed on the Framework 1.1,asp.net 2.0 of the Framework 2.0.
asp.net 1.1 and 2.0 in the program syntax is very different, now 2.0 belong to the new, do not know after six months will have 3.0 (joke).
The Windows2003 system automatically supports ASP and asp.net environments without installing any programs.
asp.net belongs to the compiler language, and the ASP's largest difference (ASP belongs to the interpretation language).
asp.net speed is not comparable to the ASP. Let me say below why asp.net is faster than ASP:
ASP.net is a compiled language, so when it first loads, it compiles all the programs (including the worker process, compiles the syntax, forms an assembly), and executes almost 0 when the program is compiled. The ASP is to give the code to the VBScript interpreter or JScript interpreter to explain, of course, the speed of the program is not compiled faster.
Jsp:
(JSP is copy, not too much research.) In general, the JSP project is huge, any project can be done, of course, is a team development, more than 3 people in a team development, his duration is also the most frequent. )
1 separating the production and display of the content
Using JSP technology, Web page developers can use HTML or XML identities to design and format the final page. Use the JSP logo or the Little Foot to produce the dynamic content on the page. The logic that produces the content is encapsulated in the identity and JavaBeans cluster components, and is bundled in a small script, All scripts are executed on the server side. If the core logic is encapsulated in logos and beans, other people, such as Web managers and page designers, can edit and use JSP pages without affecting the production of content. On the server side, the JSP engine interprets the JSP identity, resulting in the requested content (for example, By accessing the JavaBeans groupware component, using JDBC technology to access the database, and sending the results back to the browser as an HTML (or XML) page. This helps authors protect their code while ensuring the full availability of any html-based Web browser.
2 emphasis on reusable group components
Most JSP pages rely on reusable and cross-platform components such as JavaBeans or Enterprise JavaBeans to perform the more complex processing required by the application. Developers can share and Exchange components that perform common operations, Or make these components available to more users or user groups. The component-based approach accelerates the overall development process and enables groups of organizations to balance their existing skills and the development efforts of optimized results.
Four of them,. NET and JSP should be the trend of future development. Some of the world's largest e-commerce solution providers use the Jsp/servlet and. NET box pricing patterns.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.