PLEASE note: These pages are here solely for historic purposes. New articles have not been written since 2001; many links in the index are broken; and most ahref.com email addresses will now bounce. Try visiting ep Productions, Incorporated, the web programming and development company behind this site.

Tip: Need to know how to market your site? Find helpful links in the index.

web index ahref.com: a community space for web developers------ -----
IndexToolsCareersTalk
ahref.com > Guides > Technology

Technology Guide

Introduction to Active Server Pages, Continued

Components and Objects

Components and objects are the tools used to communicate with the server's environment and system. A component can contain one or more objects. An object can have one or more methods and one or more properties. (Tip: methods are sort of like verbs, and properties are like adjectives.) By creating an instance of an object, you can use its methods to perform tasks. Changing an object's properties will cause its methods to perform tasks differently.

Several objects are built into ASP, some are built into VBScript, and some are built into the server's system. Other components can be created to further customize an application.

ServerObjects
Extensive collection of ASP components.

15 Seconds: Component Section
Tips, downloads, and news about components to use with ASP.

Common Components and Objects
Object or component Function Source
Request Object Handles information coming from the browser Built into ASP
Response Handles information sent back to the browser Built into ASP
Server Object Provides access to some basic server services Built into ASP
Application Object Maintains information for the life of an application Built into ASP
Session Object Maintains information for the life of a session Built into ASP
Text Object Manipulates text files VBScript Scripting Object
Error Object Provides for error analysis VBScript Scripting Object
Dictionary Object Creates a lookup reference VBScript Scripting Object
File System Object Provide access to file system VBScript Scripting Object
Content Linking Imparts an order to the pages on a site Server Component
Browser Capabilities Specifies what a user's browser can do Server Component
Ad Rotator Rotates several ads in a spot on the page Server Component
Voting Collects information from a user poll Server Component
Active Database Provides communication with a database Server Component
continue reading >>>
or jump to a topic:

Introduction
How Files Are Interpreted
Using Scripts to Extend ASP
Components and Objects
Potential Drawbacks
Sample Code


view a printable version of this article


To suggest a topic, please email guides@ahref.com.

 


HOME ||| ABOUT AHREF.COM ||| ADVERTISE ||| FEEDBACK ||| SEARCH THIS SITE ||| CONTRIBUTE

© 1998-1999 ep Productions, Inc. All rights reserved. Terms of use.