Summary of reasons for learning ASP

Source: Internet
Author: User
Tags classic asp

Search on Google to find out a lot of poor comments on ASP, slow operation speed, poor Exception Handling Mechanism, lack of object-oriented mechanism, low development efficiency, and many vulnerabilities. To give everyone a correct understanding of ASP, I should name it first.

1. asp is not slow, but the database is slow.

A few years ago, I used a mobile network forumProgramA bbs was launched, and this program was the classic ASP + ACCESS architecture at that time. I have also encountered some people who say that the Forum is slow, and sometimes it is stuck. However, the problem has been solved since I changed to the SQL Server database. Therefore, access is the culprit. The time required for program execution is at the millisecond level. At this level, whether it is 10 ms or 100 ms, it is hard to feel that,However, access has poor concurrency., Blocking part of program execution, leading to page freezing.

2. Exception Handling Mechanism is very good, but many people do not know

In the past, many people, including me, used VBScript to write ASP programs. The Exception Handling Mechanism of VBScript was indeed terrible. However,JScriptThis is good because it supportsTry... CatchStatement, enough to handle all exceptions.

Iii. Object-oriented is not a problem with the development of JavaScript

Since JavaScript emerged due to Ajax,Its object-oriented mechanism has been simulated.. Although it is not really object-oriented, It is enough as a small or medium-sized web program. Jscripts with ecmascript as the core also have the same mechanism. In addition, the language flexibility of ecmascript is undoubtedly the strongest, and front-end developers are most aware of this.

4. vulnerabilities are caused by programmers

It is often said that the SQL injection vulnerability of ASP is very serious. In fact, no matter what language there is such a vulnerability, the problem is whether programmers will block it. ASPParameterized QueryThis is a simple and efficient solution. No string replacement or data verification is required.

The following describes the benefits of learning ASP (jscript:

I. frontend and backend Technologies

Both front-end JavaScript and back-end JavaScript are based on the ecmascript core. Therefore,The background Javascript is well written, and the front-end JavaScript level can be improved..

2. Understand the basic principles of Web Applications

ASP. NET, PHP, and other technologies shield many web underlying layers, which is very unfavorable for beginners to understand the principles of web programs. ASP is definitely written from the foundation. For example, the program that uploads files must analyze data packets to obtain file data.

Iii. High development efficiency

Many people say that ASP. NET is highly efficient in development and I am opposed to it. If the functional requirements of the application are not complex, it is absolutely faster to use ASP for development. Because ASP is parsed and executed, no compilation is required. Modification and debugging are much easier. Windows also provides a good Runtime Environment (IIS) for ASP without additional configuration. In addition,When the current background uses the same language, manyCodeBoth can be reused., Which is unmatched by other technical platforms.

There have been otherServer-side JavaScript (ssjs)Appears, suchJaxer,JScript. netMozilla also has an ssjs project. Ecmascript is expected to develop in the background.

Supplement by Alibaba Xixi (strong technical personnel)

Asp is a low-energy person, not a cainiao or a person who can't even learn ASP. The technology is not used for display, but for creating practical value, in fact, many applications of ASP can be implemented, and a large number of common source code can be referenced, it is easy to convert to productivity. It can be said that in the dynamic web page technology, ASP is one of the most widely used and mature technologies. Of course, there are many shortcomings in ASP, and other technologies are needed to solve them.
many people mistakenly think that ASP is synonymous with simplicity and inefficiency. They think that ASP is low-energy, outdated, and inefficient. It is also very simple. Once you learn it, you will be proficient.
some people say that ASP is not secure. When writing ASP programs, if they are written in strict accordance with the writing security code specification, there is no reason for the written programs to be insecure. Those who say ASP is not safe, as if PHP and JSP programs will not have SQL injection.
some people have said that ASP is not efficient. If you really want to be efficient, you can combine it with COM. Java can never catch up with the efficiency of COM on the Win32 platform. What is the significance of speed? The speed of Java is definitely not high. If we talk about the speed, many technical solutions are faster than that of Java. This is the best way to learn java. But who cares about this? Java is definitely not winning because of its speed. Aside from the specific application environment, simply speaking speed is irrational.
some people say that ASP cannot be done, but that cannot be done, and its functions are very limited. In fact, as long as you understand the Web principles, you will understand that writing ASP programs seems to be playing a script language, but what you command is Web server, there are many complex functions that ASP can still do well. If some functions ASP cannot be done due to inherent limitations of Web applications, you should not think that JSP and PHP can do so.

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.