Turn: ASP programming into the first step (3): Contact script

xiaoxiao2021-03-06  50

ASP programming into the first step (3): Contact script

With the previous HTML about FORM's enhanced knowledge, is it thinking, you can start the ASP trip? not necessarily. The programmers who have learned ASP will be partially subject to: Before systematically learn ASP's built-in objects and built-in components, learning scripting languages ​​will always be critical. Why do you say this? Why do you have to learn scripting languages? What is the relationship between ASP and scripting languages?

First talk about what ASP is expensive. The ASP is a referusion of Microsoft Active Server Pages, which is a server-side scripting environment that can be used to create interactive web pages and establish a powerful web application. It can indicate that the ASP is a server-side-based script environment, so it understands why ASP needs IIS support, because IIS is a common type of web server; then understand why the script language is, because the ASP provides one Script environment.

What needs to be described again is that the ASP is just an environment, not a language. If it is true that the ASP is an ASP is a network programming language, it is also a powerful mixing language that belongs to an HTML script ASP.

So, learning point scripts is very important! In fact, whether it is a scripting language, or other language, I think the first thing I need to know is the types of features covering the language, including: data type, event, method, object, attribute, grammar, etc. Of course, this is some empty talk, just as Like a computer language class in the university class, it is impact that it feels some as a bit. Still practical, the program can solve the problem is a good program (the cat can catch the mouse is a good cat classic holy, huh).

Of course, the language is still to go well, such as a program you write to absolute value, in fact, an ABS () function is getting it. For example, if you will vb script, but replace the same program into a Java script, it will be wrong, and their data types are different, the statement syntax is different. Just like Chinese and foreign languages, it is necessary to make a scalar (data type), how to pronounce (method), how to say a sentence (syntax) ... Oh, it is a bit uncomfortable. Row! Directly. You need to pay attention to the language function, grammar. Of course, it is not letting you look at it, in accordance with the tutorial, a master. The tutorial has been completed, almost over. Oh, you have to believe me.

There are currently two main scripting languages: VBScript and JavaScript. Because VBScript acts as an IIS default server script, what we talk is the basically ASP around VBScript as a script, and of course it does not rule out JavaScript.

Have a very simple example: