"Reprint" The fundamental difference between ASP and ASP.

Source: Internet
Author: User

Asp. The biggest difference between net and ASP is the transformation of programming thinking, not just the enhancement of function. The ASP uses a scripting language like Vbs/js
Language, which is a weak type, a structure-oriented programming language, rather than an object-oriented one, it clearly produces
Next few questions:
1, code logic confusion, difficult to manage: Because ASP is a scripting language mixed HTML programming, so you can not see the logical relationship between the code, and
As the complexity of the program increases, the management of the code is difficult, even beyond the managerial capabilities that a programmer can achieve, resulting
An error or such a problem.
2, the code reusability is poor: because is the structure-oriented programming way, and the mix HTML, so may the page prototype modifies a little, the entire
The program needs to be modified, not to mention the code reuse.
3, the weak type causes the potential error possible: Although the weak data type programming language uses to be easy to use, but relative to it caused the
The chance of error is far from worth the candle.
The above is the weakness of the language itself, in the functional aspects of ASP also have problems, the first is the function is too weak, some of the underlying operations can only be through components to
Complete, at this point is far less than php/jsp, followed by the lack of perfect error correction/debugging function, this point on asp/php/jsp almost
So, ASP. NET what are the improvements?
Asp. NET out of the previous ASP using scripting language to program the shortcomings of the theory can be used in any programming language including C + +, VB, JS and so on
And, of course, the most appropriate programming language is the C (read C sharp) specifically introduced by Ms for. Net Frmaework, which can be seen as VC and Java
Of the hybrid bar, although Ms himself speaks of the C # kernel more like VC, but in fact I think it and Java more like it. First it is the face
To an object's programming language, not a script, so it has all the features of an object-oriented programming language, such as encapsulation, inheritance,
polymorphism, and so on, this solves the weaknesses of the ASP just talked about. Encapsulation makes code logic clear, easy to manage, and applied to
Asp. NET allows business logic and HTML pages to be detached so that no matter how the page prototype changes, business logic code does not have to do any
Changes, inheritance and polymorphism make the code more reusable, and you can maximize the protection of your past by inheriting existing objects
Investment. and C # and C + +, Java provide a complete debug/error correction system.
ASP (Active Server Pages) is a Web application development technology introduced by MICROSFOT Company in November 1996, which is neither a process
is not a development tool, but a technical framework that can be written without the use of Microsoft's products, producing and
dynamic, interactive, and efficient server-occupied applications. Using ASP to embed scripting languages such as VBScript and JavaScript
To the HTML, you can quickly complete the application of the site, without compiling, can be directly executed on the server side. Easy to write, use plain text
This editor, such as Notepad, can be done. Run by the script on the server instead of the client, the scripting language used by ASP is
Run on the server, the client's browser does not need to provide any other support, which greatly improves the speed of interaction between users and servers.
。 In addition, it provides more powerful functionality through built-in components, such as easy access to the database using A-do.
After that, Microsoft also launched ASP. This is not an ASP simple upgrade, but a new generation of dynamic Web implementation system for a Web service
To build powerful applications. Is the new architecture of Microsoft's development. NET, is a combination of ASP and. NET technology. Provided based on
Component, event-driven, programmable network forms, which greatly simplifies programming. You can also set up network services with ASP.


The difference between ASP and asp:
1. Different development languages
ASP is limited to the use of the Non-type scripting language to develop, the user to the Web page to add ASP code method and client script to add code
The same way, resulting in code clutter.
Asp. NET allows the user to select and use the fully functional Strongly-type programming language, and also allows the use of the huge. NET Framework

2. Different operating mechanisms
ASP is a programming framework that interprets the run, so execution is less efficient.
Asp. NET is a compiled programming framework that runs as compiled common language runtime library code on the server, can take advantage of early binding,
Implement compilation to improve efficiency.
3. Development methods
ASP to mix interface design and programming, maintenance and reuse difficulties.
Asp. NET interface design and programming with different files separated, reusability and maintainability has been improved.

"Turn from" https://www.cnblogs.com/aliceblogs/archive/2010/07/02/1770042.html

"Reprint" The fundamental difference between ASP and ASP.

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.