Synopses & Reviews
ASP in a Nutshell provides the high-quality reference documentation that web application developers really need to create effective Active Server Pages. It focuses on how features are used in a real application and highlights little-known or undocumented features.This book also includes an overview of the interaction between the latest release of Internet Information Server (version 5) and ASP 3.0, with an introduction to the IIS object model and the objects it comprises. The examples shown in this section and throughout the book are illustrated in VBScript.The main components of this book are:
- Active Server Pages Introduction. Brief overview of the ASP application paradigm with examples in VBScript. Also included is an introduction to Microsoft's Internet Information Server 5.0, the IIS object model, and the objects that it comprises.
- Object Reference. Each object is discussed in the following manner: descriptions, properties, collections, methods, events, accessory files/required DLLs, and remarks, including real-world uses, tips and tricks, and author's experience (where applicable). The objects--Application, Response, Request, Server, Session, ObjectContext, and ASPError, as well as ASP Directives, Global.ASA, and Server-Side Includes--all follow this paradigm.
- Component Reference. This section follows the same paradigm found in Object Reference. The discussion covers all of the additional components included with IIS, such as ActiveX Data Objects, the Ad Rotator, the Browser capabilities component, the File System Object, and more.
- Appendixes. Gives examples in one or two objects and components using Perl, REXX, and Python in ASP.
Like other books in the "In a Nutshell" series this book offers the facts, including critical background information, in a no-nonsense manner that users will refer to again and again. It is a detailed reference that enables even experienced web developers to advance their ASP applications to new levels.
The techniques for developing custom ASP components, along with the snags and pitfalls one encounters while developing them, are not well documented. In addition, to develop successful ASP components, programmers must be jackes-of-all-trades, with some knowledge of COM, threading models, and the ASP object model, as well as master one or more language tools and development environments. That's where Developing ASP Components, 2nd Edition, comes in with everything programmers need to know to develop effective ASP Components.
A reference that web application developers should find useful in helping to create effective Active Server Pages. It focuses on how features are used in a real application and highlights little-known or undocumented features.
About the Author
Weissinger is the Director for Enterprise Solutions at a start-up company in Atlanta.
Table of Contents
Preface; Who Is This Book for?; How to Use This Book; How This Book Is Structured; Conventions Used in This Book; Comments and Questions; Acknowledgments for the Second Edition; Acknowledgments from the First Edition; Part I: Introduction to Active Server Pages; Chapter 1: Active Server Pages:An Introduction; 1.1 The Static Internet; 1.2 The Dynamic Internet Part I: CGI Applications; 1.3 The Dynamic Internet Part II: ISAPI; 1.4 Active Server Pages and Active Server Pages 2.0; 1.5 ASP: A Demonstration; 1.6 The ASP Object Model; Chapter 2: Active Server Pages:Server-Side Scripting; 2.1 Client-Side Scripting; 2.2 Server-Side Scripting; 2.3 ASP Functions; 2.4 Scripting Languages; Chapter 3: Extending Active Server Pages; Part II: Object Reference; Chapter 4: Application Object; 4.1 Comments/Troubleshooting; 4.2 Collections Reference; 4.3 Contents Collection Methods; 4.4 Methods Reference; 4.5 Events Reference; Chapter 5: ASPError Object; 5.1 Comments/Troubleshooting; 5.2 Properties Reference; 5.3 ASPError Example; Chapter 6: ObjectContext Object; 6.1 Comments/Troubleshooting; 6.2 Methods Reference; 6.3 Events Reference; Chapter 7: Request Object; 7.1 How HTTP Works; 7.2 The ASP Request Object; 7.3 Comments/Troubleshooting; 7.4 Properties Reference; 7.5 Collections Reference; 7.6 Methods Reference; Chapter 8: Response Object; 8.1 Comments/Troubleshooting; 8.2 Properties Reference; 8.3 Collections Reference; 8.4 Methods Reference; Chapter 9: Server Object; 9.1 Comments/Troubleshooting; 9.2 Properties Reference; 9.3 Methods Reference; Chapter 10: Session Object; 10.1 Comments/Troubleshooting; 10.2 Properties Reference; 10.3 Collections Reference; 10.4 Methods Reference; 10.5 Events Reference; Chapter 11: Preprocessing Directives, Server-Side Includes, and GLOBAL.ASA; 11.1 Preprocessing Directives; 11.2 Preprocessing Directives Reference; 11.3 Server-Side Includes; 11.4 GLOBAL.ASA; 11.5 GLOBAL.ASA Reference; Part III: Installable Component Reference; Chapter 12: ActiveX Data Objects 2.6; 12.1 Accessory Files/Required DLL Files; 12.2 Instantiating Active Data Objects; 12.3 Comments/Troubleshooting; 12.4 Object Model; 12.5 Properties Reference; 12.6 Collections Reference; 12.7 Methods Reference; Chapter 13: Ad Rotator Component; 13.1 Accessory Files/Required DLL Files; 13.2 Instantiating the Ad Rotator; 13.3 Comments/Troubleshooting; 13.4 Properties Reference; 13.5 Methods Reference; 13.6 Ad Rotator Example; Chapter 14: Browser Capabilities Component; 14.1 Accessory Files/Required DLL Files; 14.2 Instantiating the Browser Capabilities Component; 14.3 Comments/Troubleshooting; 14.4 Properties Reference; 14.5 Retrieving Browser Information from Cookies; Chapter 15: Collaboration Data Objects for Windows NT Server; 15.1 Accessory Files/Required DLL Files; 15.2 Instantiating Collaboration Data Objects; 15.3 Comments/Troubleshooting; 15.4 The CDO Object Model; 15.5 NewMail Object Properties Reference; 15.6 Methods Reference; Chapter 16: Content Linking Component; 16.1 Accessory Files/Required DLL Files; 16.2 Instantiating a Content Linking Object; 16.3 Comments/Troubleshooting; 16.4 Methods Reference; 16.5 Content Linking Component Example; Chapter 17: Content Rotator Component; 17.1 Accessory Files/Required DLL Files; 17.2 Instantiating the Content Rotator Component; 17.3 Comments/Troubleshooting; 17.4 Methods Reference; Chapter 18: Counters Component; 18.1 Accessory Files/Required DLL Files; 18.2 Instantiating the Counters Component; 18.3 Comments/Troubleshooting; 18.4 Methods Reference; Chapter 19: File Access Component; 19.1 Accessory Files/Required DLL Files; 19.2 Instantiating Installable Components; 19.3 Comments/Troubleshooting; 19.4 Object Model; 19.5 Properties Reference; 19.6 Methods Reference; Chapter 20: Logging Utility Component; 20.1 Accessory Files/Required DLL Files; 20.2 Instantiating the Logging Utility Component; 20.3 Comments/Troubleshooting; 20.4 Properties Reference; 20.5 Methods Reference; 20.6 Logging Utility Component Example; Chapter 21: MyInfo Component; 21.1 Accessory Files/Required DLL Files; 21.2 Comments/Troubleshooting; 21.3 Properties Reference; Chapter 22: Page Counter Component; 22.1 Accessory Files/Required DLL Files; 22.2 Instantiating the Page Counter Component; 22.3 Comments/Troubleshooting; 22.4 Methods Reference; Chapter 23: Permission Checker Component; 23.1 Accessory Files/Required DLL Files; 23.2 Instantiating the Permission Checker; 23.3 Comments/Troubleshooting; 23.4 Methods Reference; Chapter 24: Tools Component; 24.1 Accessory Files/Required DLL Files; 24.2 Instantiating the Tools Component; 24.3 Comments/Troubleshooting; 24.4 Methods Reference; Part IV: Appendixes; Appendix A: ASP Intrinsic Objects Member Summary; Appendix B: Converting CGI/WinCGI Applications into ASP Applications; B.1 The CGI Application; B.2 The Perl CGI Script; B.3 The Visual Basic CGI Application; B.4 The Active Server Pages; B.5 Converting Environment Variables; Appendix C: ASP on Alternative Platforms; C.1 Chili!ASP from Chili!Soft; C.2 Instant ASP (iASP) from Halcyon Software; C.3 OpenASP from the ActiveScripting Organization; Appendix D: Configuration of ASP Applications on IIS; D.1 Microsoft Management Console and the Metabase; Colophon;