Differences between asp + and asp (1)

Source: Internet
Author: User
Tags require web services
Why do we need a new version of ASP?
Author: qingapple Computer Studio
In the previous article, I have discussed Microsoft's primary motivation for designing and developing ASP +. ASP is very successful. Why?
And a new version? There are four issues to consider:
● Currently, ASP scripts are mainly written in BASIC non-typed languages, such as VBScript and JScript (unless you have installed
Independent language interpreter ). Although ASP does parse and cache the page code for the first time
When there are advantages, you cannot use stronugly-typed languages, such as Visual Basic and C ++. ASP +
Web applications provide a language-neutral execution framework.
● Creating a large ASP page that contains a long string of code, HTML, text, and object declarations is also very easy.
It is very difficult to reuse the code unless you put it in an independent 'include 'file, which is not a good way.
In many environments, developing a web application requires professionals from various aspects. For example, if a programmer needs to write code
Designers to make HTML look beautiful. Mixing code and content in a file on which both parties need to operate
It is difficult to work together. ASP + provides real separation of code and content.
● In the previous versions of ASP, most of the tasks must be completed by writing code. Do you want to maintain the status of form fields? Write code. Think
Are you sure you want to input the data? Write code. Do you want to send out some simple data values? Write code. Do you want to cache the page area to optimize performance?
Write code. ASP + uses server-based control and conceptually the same way as Visual Basic forms work.
The driver running example introduces a real component model. The new ASP + server control is declarative (they need to do something
So you can write less code. In fact, in most cases, you do not need to write any code.
● The world is changing. Through 'Internet device', such as mobile phone, PDA, TV set-top box, game console or
The proportion of users accessing your website using other things will soon exceed those using PCs and traditional browsers. This means we cannot
Do not do more work on the server to make our webpage compatible with these different devices. We have to use a brand new format
Create an output, for example, Wireless Markup Language (WML ). In addition to creating WML for running, the new Internet
Devices and commercial applications also require the ability to send and receive XML data from Web applications. Now you need to manually use ASP to do this.
Use XML decomposition to convert data from an XML plan or to XML. ASP + Web services adapt to page pruning
Specific devices become simple.
In addition, the rapidly changing features of distributed applications require faster development, better componentization, reuse, and ease of use.
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.