Lesson 13
ASP Server Side Module Conclusion
In this module, you learned some basic information about Active Server Pages and server-side scripting.
In this module, we illustrated some of the building blocks of ASP scripts:
- script syntax;
- constants,
- variables, and
- operators; and
- statements and functions.
While these are the pieces that make up ASP, the most important thing to remember is that ASP is a framework for building applications on a Web server.
We have covered some of the advantages of building server-based applications, but all the advantages are variations on a single theme: control.
You have control over your own Web server, but you do not have control over the clients visiting your site. (Even if you do not control all aspects of your Web server, you still know all about it, and you can design applications based on that knowledge.)
Client-side solutions are valuable, but with the proliferation of browsers and their features, you cannot assume much about the people coming to your site. In the following modules,
we will talk about how you can use that control to build sophisticated Web applications.
This module introduced you to the following terms:
- API: Application Programming Interface. A set of properties and methods made available by a system to the outside world. The underlying system might change, but if the API does not change then systems which use the API also don't need to be revised.
- CGI:Common Gateway Interface. An NCSA standard for communicating between a Web server and other applications.
- Client
- Client-side: Running on a client, rather than a server.
For example, a Java applet embedded in an HTML page runs on the client computer, not the server that sends out the page.
- Component:In Microsoft-speak, an object that provide some functionality, but doesn't have a graphical user interface. Components are designed to be used on Web servers, where nobody would see a graphical user interface.
- Interaction
- JavaScript: Netscape's scripting language, which is intended to comply with the ECMAScript standard. JavaScript is a popular language for client-side scripting.
- JScript
- Method: An action which can be performed by an object. For example, ASP's Response object has a Write() method, which can write text to an HTML response as it's sent to a requesting client.
- Object
- Perl
- Script: A short program which is usually interpreted, rather than compiled.
- Scripting engine: A software program which enables some Microsoft software (scripting hosts, such as Internet Explorer or Internet Information Server) to understand a scripting language.
- Web server
- Server-side: Running on a server, rather than client. ASP is a server-side technology because the scripts run on the Web server, rather than on a client's computer.
- VBScript
- Web application
- Web transaction: A transaction is an action that is designed to be atomic: even if there are discrete steps within a transaction, either all the steps happen or none of them do.
For example, to transfer money from one bank account to another account, you would want to withdraw from the first account and deposit to the second. If the deposit fails (perhaps because the second account number was invalid),
then you want to undo (a.k.a. rollback) the withdrawal. Managing transactions over the Web is a hot topic, and Microsoft offers the Transaction Server for just monitoring transactions.
The next module discusses ASP objects that allow the client browser and the Web server to request and respond to real-time variable data.
ASP Object - Quiz
Click the Quiz link below to check your understanding of topics covered in this module.
ASP Object - Quiz.