ASP Internals / Edition 1

ASP Internals / Edition 1

by Jon Flanders
     
 

ISBN-10: 0201616181

ISBN-13: 9780201616187

Pub. Date: 11/13/2000

Publisher: Pearson Education

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<

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.

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)

Table of Contents

Foreword ix
Preface xi
Introduction
1(8)
ASP Basics
1(3)
The HTTP Protocol
4(3)
Conclusion
7(2)
IIS and ISAPI
9(26)
IIS in General
9(16)
Threads
12(1)
Security
12(3)
ISAPI Filters
15(6)
The Web Application Manager
21(4)
ASP as an ISAPI Extension
25(8)
Thread Pools
25(2)
ASP, HTTP, and State
27(6)
ISAPI Filters Part II
33(1)
Conclusion
34(1)
Active Scripting
35(10)
Loading a Script
35(2)
Host Interfaces
37(4)
Errors
41(1)
Parsing Scripts
42(1)
Conclusion
43(2)
Wrapping HTTP
45(16)
IResponse Interface
45(8)
IRequestDictionary Interface
53(1)
IRequest Interface
54(3)
Cookies
57(1)
IStream Interface
57(2)
Conclusion
59(2)
State Management
61(14)
Session State---ISessionObject Interface
61(6)
Values Methods
61(5)
Control Methods
66(1)
Conversion Methods
66(1)
Application State---IApplicationObject Interface
67(1)
global.asa
67(2)
State Synchronization
69(5)
Conclusion
74(1)
IServer and Components
75(26)
IServer Interface
75(5)
Script Methods
75(3)
Helper Methods
78(2)
Object Creation
80(3)
Context
80(1)
Context Flow
81(2)
Garbage Collection
83(1)
Object Tag
83(2)
Components in ASP
85(7)
Apartments
85(2)
Apartments, Context, and Performance
87(1)
Apartment Interaction with the Session and Application Objects
87(5)
Apartments and Security
92(1)
Interaction with ASP
92(7)
Conclusion
99(2)
Transactions
101(10)
Declarative Transactions
101(3)
How ASP Makes Pages Transactional
104(6)
Conclusion
110(1)
Internationalization
111(14)
Unicode
111(1)
Sending Alternate Entities---CodePages
112(4)
LocalelD
116(2)
ASP Session Object LCID and CodePage Properties
118(5)
Conclusion
123(2)
Appendix ASP to ISAPI to HTTP 125(4)
Index 129

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >