ASP
  Home arrow ASP arrow Page 7 - Sample Chapter: Beginning Active Server Pa...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP

Sample Chapter: Beginning Active Server Pages 3.0
By: Joe O'Donnell
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2002-05-23

    Table of Contents:
  • Sample Chapter: Beginning Active Server Pages 3.0
  • Objects, Properties, Methods and Events
  • Return Values
  • Programming with Objects
  • Retrieving a Property
  • What is the Active Server Pages Object Model?
  • Using the Object Model as a Road Map
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Sample Chapter: Beginning Active Server Pages 3.0 - Using the Object Model as a Road Map


    (Page 7 of 8 )

    While being able to create a page dynamically is a nice feature, the real power of Active Server Pages comes from its ability to create web-based applications. These applications allow the user to perform tasks that go beyond simply requesting pages. The logic and structure to create these applications are laid out in the object model.

    We can use the object model as a road map that lays out:
    • Where information should be stored in our applications
    • How information specific to a single user can be tracked
    • How to set up client pages to send the appropriate information to the server for it to dynamically build a page
    • How to dynamically build a page, using all of the features that ASP provides, and then send that page back to the client
    In the next few chapters, we will be walking through this landscape in detail and build up the expertise needed to put together an application using Active Server Pages.

    Summary
    In this chapter, we have introduced the concept of objects. For our purposes, an object is a programmatic tool that enables us to access a physical item, or a set of associated data. An object is described by its interfaces. These interfaces are broken into three categories:
    • Properties – a property's value holds data that describes an attribute of the object.
    • Methods are used to have the object perform some task for us.
    • Events let the object notify us that something has happened and can also be raised to make something happen and can contain code that we write that can be executed.
    In learning how to develop with objects, we have seen how to:
    • Set and retrieve information from the object's properties
    • Call the methods of an object
    With the concepts of objects well in hand, we introduced the Active Server Pages object model. These seven objects encapsulate the functionality offered by the ASP server.
    • The Server object provides basic functionality across the web server.
    • The Application and Session objects provide the application functionality that is not present in a basic web server.
    • The Request and Response objects are used to interpret the information sent by the client and then construct the HTML page that will be sent back in response.
    • The ObjectContext object, which is used to control transactions within a web page.
    • The Error object that handles any ASP-generated errors
    By understanding the relationships of these objects to one another, we can start to build true applications by using the power of Active Server Pages. The next few chapters will begin to show us how.

    More ASP Articles
    More By Joe O'Donnell


     

    ASP ARTICLES

    - Central Scoreboard with Flash and ASP
    - Calorie Counter Using WAP and ASP
    - Creating PGP-Encrypted E-Mails Using ASP
    - Be My Guest in ASP
    - Session Replacement in ASP
    - Securing ASP Data Access Credentials Using t...
    - The Not So Ordinary Address Book
    - Adding and Displaying Data Easily via ASP an...
    - Sending Email From a Form in ASP
    - Adding Member Services in ASP
    - Removing Unconfirmed Members
    - Trapping HTTP 500.100 - Internal Server Error
    - So Many Rows, So Little Time! - Case Study
    - XDO: An XML Engine Class for Classic ASP
    - Credit Card Fraud Prevention Using ASP and C...







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway