Introduction to ASP Programming (III): Contact script Program

Source: Internet
Author: User
With the previous HTML in the form of reinforcement knowledge, is not thinking that the following can start the ASP trip? Not necessarily.
The general system has learned the ASP's programmer to be aware of: before the system learns the ASP's built-in object and the built-in component, learns the scripting language is always essential.
Why do you say that? Why do you want to learn scripting language? What's the relationship between ASP and scripting languages?
First of all, let's say ASP is what you are. ASP, the abbreviation for Microsoft Active Server Pages, is a server-side scripting environment that you can use to create interactive Web pages and build powerful Web applications. Can show that ASP is a server-based scripting environment, then understand why the ASP needs IIS support, because IIS is a common class of Web servers; That's why you learn scripting languages, because the ASP provides a scripting environment.
Again, the ASP is just an environment, not a language. If you really want to visualize that ASP is a Web programming language, it is also a powerful hybrid language for the built-in objects and components provided by a html+ script +asp.
So, learning a little script is very important! In fact, whether it's a scripting language or any other language, I think the first thing I need to know is the various features that the language covers, includes data types, events, methods, objects, attributes, syntax, and so of course, it's all empty talk, just as in a college class, a computer language class, the pure research is to feel some rope and tasteless. Or practical good, can solve the problem of the program is a good program (proof can catch mice cat is a good cat classic holy language, hehe)
Of course, the language of this thing still want you to study well, such as you write the absolute value of the program, in fact, an ABS () function is done. For example, you will be VB script, but the same program to replace the same Java script will be wrong, their data type is different, the syntax of the sentence is not the same. As in Chinese and foreign languages, the pronunciation of the mark (data type), how to pronounce (method), how to say a sentence (grammar) ... Oh, a little make you uncomfortable. Yes! Straight up. What you need to pay attention to in the future is the function and syntax of the language. Of course not to let you all look, follow the tutorial in the encounter a master. The tutorial finished, almost also finished. Oh, you have to believe me.
There are currently two main scripting languages: VBScript and JavaScript. Because VBScript is the default server script for IIS, what we're talking about is basically an ASP that is scripted around VBScript, and of course it doesn't rule out the use of JavaScript sometimes.
To give a very simple example:
<script language= "VBScript" >
<!--
Sub Button1_onclick
MsgBox ("Welcome to use vbscript!")
End Sub
-->
</script>
<script language= "JavaScript" >
<!--
function b213 ()

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.