What is the difference between ASP + and ASP?

Source: Internet
Author: User
Tags versions
Compile: http://www.aspcn.com flying knife original from http://www.asptoday.com
It is a headache to see the translation, and this article is still very long. Originally, this article will be written very early, but for the sake of competition, the Chinese team has been delayed for a few days and ran to the work environment, still lost .......
In previous articles, we realized that ASP + is part of a complete operating system. But why is ASP + different from ASP in earlier versions? What is the difference between them? If you only run some pages or applications, you may not notice the difference between them.
Once you open the ASP + SDK or help file, you will find that this new product is almost identical to the previous version.
Of course you don't have to worry about it. Next we will look at some major differences. Let's first look at why Microsoft thinks that we need a new version of ASP to help us. As a developer, we also need to know what new features it has to help us build websites and applications.
We really need a new ASP !?
Microsoft has discussed the motivation for developing ASP + in the previous article. ASP has achieved great success. Why do we need a new version !? We can consider the following four points:
Currently, ASP can only be written in non-structured languages, such as VBscript and JScript (if other languages are used, separate interpreters are required ). In addition, when ASP is executed for the first time, it parses and stores the code in the cache. This limitation is that it does not allow the use of other structural languages such as VB and C ++, this limits their superiority. ASP + actually provides a middle-level language execution structure that allows the use of various languages.
The combination of HTML, text, and object ASP makes it easy to create a large page. However, it is difficult to reuse the code unless you put some code in an include file. This is not the best solution. In many occasions, developing a network application requires a wide range of professional skills. For example, if you write a program, some other artists, and some others design the webpage content, if only ASP is used, it is difficult to associate these people to accomplish the same thing. However, ASP + allows separate code and content to coexist.
In ASP earlier versions, you must write code for almost everything. Write code to keep the data in form. Write code to confirm the data written by the user. Write code to send some simple data. In ASP +, a real component mode is introduced. Through this server-side control and event triggering, we seem to be operating "FORM" in VB ". the new component control in ASP + is declared (that is, if you want to use these component control to do something, you just need to declare it, don't worry about other things. Haha, do you think you're a dumb ?!?), Therefore, you only need to write a small amount of code. In fact, in many cases, you do not need to write any code at all.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.