ASP Internals / Edition 1

ASP Internals / Edition 1

by Jon Flanders
     
 

Microsoft's Active Server Pages (ASP) is the standard technology for creating dynamic Web pages, but ASP alone does not allow Web developers to create scalable Web applications. Microsoft's Component Object Model (COM) is the key that can turn good ASP applications into powerful, multi-tiered, scalable applications that are e-commerce-ready. ASP Internals<See more details below

Overview

Microsoft's Active Server Pages (ASP) is the standard technology for creating dynamic Web pages, but ASP alone does not allow Web developers to create scalable Web applications. Microsoft's Component Object Model (COM) is the key that can turn good ASP applications into powerful, multi-tiered, scalable applications that are e-commerce-ready. ASP Internals examines the inner workings of ASP and shows readers how it interfaces with COM, enabling them to develop outstanding Web applications.

Because the source code for ASP is not openly available, author Jon Flanders has created an ASP clone, Active COM Pages (ACP). In revealing its source code, he provides a view under the hood of ASP so developers can finally see and understand how it works and how they can most effectively work with it.

ASP Internals covers each aspect of the ASP runtime. It demonstrates ASP integration with COM+ transactional services. And, most important, it shows readers how COM objects are created and interact with ASP. Other important topics include:

  • How ASP is translated to and from the HTTP protocol
  • ASP, IIS, and ISAPI, including threads, security, and the Web Application Manager
  • Active Scripting, with an explanation of how to add named objects to running scripts
  • ASP's IResponse and IRequest interfaces and how they interact with HTTP through ISAPI
  • ASP state management at the session and application levels, and related performance issues
  • How ASP and the Scripting Engine integrate with COM
  • ASP integration with COM+ transactional services
  • ASP's built-in internationalization features, including a look atUnicode

Numerous code examples, written in VBScript, demonstrate best practices for performing vital programming tasks.

Written for Web developers who are familiar with ASP and COM, ASP Internals shows readers how to make the best of both technologies in the creation of dynamic, high-quality, database-driven Web applications.

Read More

Product Details

ISBN-13:
9780201616187
Publisher:
Pearson Education
Publication date:
11/13/2000
Series:
Developmentor Series
Pages:
160
Product dimensions:
7.35(w) x 9.20(h) x 0.54(d)

Meet the Author

Jon Flanders is a software engineer and instructor at DevelopMentor specializing in ASP and COM. Previously he worked as an architect and consultant on various large-scale, ASP-based applications. He is a frequent lecturer and writer on ASP and COM.

Table of Contents

Foreword.
Preface.
1. Introduction.
ASP Basics.
The HTTP Protocol.
Conclusion.

2. IIS and ISAPI.
IIS in General.
Threads.
Security.
ISAPI Filters.
The Web Application Manager.
ASP as an ISAPI Extension.
Thread Pools.
ASP, HTTP, and State.
ISAPI Filters Part II.
Conclusion.

3. Active Scripting.
Loading a Script.
Host Interfaces.
Errors.
Parsing Scripts.
Conclusion.

4. Wrapping http.
IResponse Interface.
IRequestDictionary Interface.
IRequest Interface.
Cookies.
IStream Interface.
Conclusion.

5. State Management.
Session State — ISessionObject Interface.
Values Methods.
Control Methods.
Conversion Methods.
Application State — IApplicationObject Interface.
Global.asa.
State Synchronization.
Conclusion.

6. IServer and Components.
IServer Interface.
Script Methods.
Helper Methods.
Object Creation.
Context.
Context Flow.
Garbage Collection.
Object Tag.
Components in ASP.
Apartments.
Apartments, Context, and Performance.
Apartment Interaction with the Session and Application Objects.
Apartments and Security.
Interaction with ASP.
Conclusion.

7. Transactions.
Declarative Transactions.
How ASP Makes Pages Transactional.
Conclusion.

8. Internationalization.
Unicode.
Sending Alternate Entities — CodePages.
LocaleID.
ASP Session Object LCID and CodePage Properties.
Conclusion.

Appendix ASP to ISAPI to http.
Index.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >