The difference between asp+ and ASP (2)

Source: Internet
Author: User
Tags object require requires version web services access visual studio
asp+| difference Why do we need a new version of ASP?
Author: green Apple Computer Studio


The primary motivation for Microsoft in designing and developing asp+ has been discussed in the previous article. ASP very successful, why
You want a new version? There are 4 questions to consider:

Currently, ASP scripts are written primarily in basic non-typed languages, such as VBScript and JScript (unless you install a
An independent language interpreter). Although the ASP does decompose and cache the first time the page code executes, this limitation results in even
When you have an advantage, you can't use those strongly-typed languages, such as visual Basic and C + +. and asp+ for
WEB applications provide a truly language-enforced framework for execution.

It is also easy to create large ASP pages that contain a long list of code, HTML, text, and object declarations mixed together.
It is difficult to reuse this code unless you put it in a separate ' include ' file, which is not a good idea.
In many environments, developing a Web application requires a variety of professionals, such as requiring programmers to write code, requiring
Designers to make HTML look beautiful. Let the code and content mingle in a file that both sides need to manipulate to make them
It's hard to work together. And asp+ provides a true separation of code and content.

In previous versions of ASP, most things were done by writing code. Do you want to maintain the status of the form field? Write code. Think
Do you want to confirm the data entered by the customer? Write code. Do you want to send out some simple data values? Write code. Do you want to cache page area optimization performance?
Write code. And asp+ events that are based on server-based control and conceptually work with visual Basic forms
The driver run example introduces a real component model. New asp+ server controls are declarative (they need to do something
So you can write less code, in fact, in most cases you don't have to write any code at all.

The world is changing. Via ' Internet device ' such as mobile phones, PDAs, TV set-top boxes, game consoles, or
The percentage of users who visit your site will soon exceed those who use PCs and traditional browsers. That means we're not going to
Do more work on the server to make our Web pages compatible with these different devices. We have to be in a whole new format
Create output, such as wireless Markup Language (WML). Also, in addition to creating WML for running, the new internet
Devices and business applications also require the ability to send and receive XML data from a Web application. Now use ASP to do this requires you to hand
Use XML decomposition to transform data from an XML plan, or to convert data to XML. asp+ Web Services to tailor pages to fit
A particular device becomes simple.

In addition, the rapidly changing nature of distributed applications requires faster development, more modular, more reusable, and easier
Expanded and broader platform support. New standards such as Simple Object Access protocol, easy access Protocol
(SOAP), new business requirements, such as business-to-business (business-to-business) Data interchange, require new technology to produce output and
Other system communications. Web applications and Web sites also require more flexible and scalable services, which tend to be asp+ by
Active monitoring and automatic restart of application failures, memory release, etc. are provided.

Therefore, to meet these requirements, the ASP must make comprehensive changes to become a new programming environment. Despite the current
There are few tools available for this, and Visual Studio 7.0 provides full support for creating asp+ applications that are simple, including
asp+ pages and asp+ services). A rich, component-based, event-driven programming model is deliberately designed as "tool-friendly",
This support is for all visual Studio languages, including VB, C + +, and C #. are available. And you can be sure that the third party
Tool makers will not lag too much behind.



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.