How do you write a message book that you like? This article will be Active Server Pages as the center, to show you the production process, and use a lot of examples step-by-step for you to explain and demo, so that you in the continuous theory and practice more easily into the door of the ASP. Of course, before learning to apply ASP, let's take a look at the benefits of ASP.
The ASP (Active Server pages) Dynamic Web page is a technology introduced by Microsoft to replace the CGI (Common Gateway Interface) Common Gateway interface. We can use our own Web server to create and run dynamic interactive Web sites through ASP combined with knowledge of HTML language, ASP directives and ActiveX components and databases. The main advantages of ASP can be summed up as follows:
1, you can create scripts in VBScript or JScript, and combine the HTML language to easily complete the site's application. For VBScript and JScript, it is not important to use which language the Web server handles both languages equally and sends HTML formatting results to the user's browser.
2, because the ASP in the script language (VBScript and JScript) can easily write programs, so this greatly saves the network designers have to learn a new language time. and writing ASP without manual compile compiler or link program, can be directly executed on the server side, which is undoubtedly more convenient for our writing process.
3, using the normal use of Notepad and other text editor, you can edit the design, such as: Windows Notepad. It is recommended that you do not use the homepage of FontPage98 or DreamWeaver2.0 to make software modifications, because they will destroy the source code. Here I recommend using the CuteFTP cutehtml editor for editing and design.
4, ASP is running on the server side, so we do not have to worry about whether the browser support ASP use the programming language, the client can only use executable HTML code browser to browse the active Server pages designed Web page content. ASP is running on the server side, when the program is finished, the server will only return the results of the execution to the client browser, thus easing the burden on the client browser, greatly improving the speed of interaction.
5, ASP can be compatible with any ActiveX scripting language. In addition to being designed in a VBScript or JScript language, other scripting languages provided by third parties, such as Perl, Tcl, are also used in a plug-in manner. The script engine is the COM (Component Object Model) component that handles the script program.
6. The program code in Active Server pages is hidden, and only dynamic HTML files exported by ASP can be seen on the client. Thus, the written source program can avoid being plagiarized by others and improve the security of the program.
7. Server-side scripts can be used to generate client script.
8, object-oriented (object oriented), and extensible ActiveX server component features.
9, the ActiveX server components (ActiveX servers component) has unlimited scalability. You can use any programming language to write the ActiveX Server components you need.
10, through the ADO (ActiveX data Objects, Microsoft's a new data access model, is a Web page developers easy access to the Internet database, and can be implemented on the user side of the online immediate, real-time update display of the latest Web page database technology. Easily access the database, making it easy to access the database.
See the ASP so many advantages, whether the beginning to feel the heartbeat! Actually want to learn ASP, I personally think the most effective way is: first from the network download some other people provide free examples, and then make their own adaptation; we can find the relevant information, or go directly to some ASP forum to our "prawns" for advice.
Well, that's a lot to talk about. So from the next chapter we start our tutorial with a simple text book.