Synopses & Reviews
Developers of Active Server Pages often reinvent the wheel. Their background in web design, with its separate HTML page for each viewable web page on a site, leads many ASP developers to create a distinct ASP page each time they think they need one. Often times, these pages are functionally similar. With intelligent planning, an ASP developer stands to save a great deal of time by creating reusable ASP pages.Designing Active Server Pages is tailor-made for these developers.There is currently a plethora of Active Server Pages books. However, the vast majority of these books are either technical references or how-to books for beginners. Designing Active Server Pages is written for the intermediate to advanced user. Furthermore, nearly every other book on ASP focuses on using VBScript, even though ASP supports an array of scripting languages, including JScript and PerlScript. Designing Active Server Pages shows how to start using these other languages.The latest version of the scripting engines (Version 5.1 for VBScript) adds new features not available before the 5.0 release. These features include class support for VBScript, and Regular Expression searching through the use of a COM object. Designing Active Server Pages explains why using classes in VBScript is beneficial, and demonstrates the power of regular expression searching.This book shows how to simplify the process by only requiring one ASP page to handle ALL of the Forms throughout a web site, thus reducing the amount of code one has to write.Topics include:
Designing Active Server Pages
- Using various Microsoft and third-party components to enhance ASP pages
- Creating components using VB and/or VC++
- Sample code for performing routine ASP tasks
- Techniques to allow for reusable database scripts on the database system and on ASP pages
- How to obtain and register third-party components, thus saving massive amounts of time by reusing someone else's code
is for developers who have already mastered the basics of ASP application development and are ready to take the next logical step. It is sure to become an indispensable part of every web developer's library.
Active Server Pages (ASP) is a Microsoft technology for dynamically creating HTML pages on a web server before being sent to the user. By using intelligent design principles, such as the reuse of code and the use of components, an ASP programmer can reduce the amount of unique code needed, resulting in fewer bugs and less development time.
Designing Active Server Pages is for developers who have already mastered the basics of ASP application development and are ready to take the next logical step. It shows how to create powerful, reusable ASP pages. It also covers various Microsoft and third-party components that can enhance the power and versatility of ASP pages. This book is sure to become an indispensable part of every web developer's library.
About the Author
Scott Mitchell is the co-founder of one of the most popular ASP resource destinations on the Internet, http://www.4guysfromrolla.com/. Originally started as a college project, 4Guys quickly blossomed into a community of serious web developers. The site attracts tens of thousands of experienced ASP developers every day, and unlike other communities, it also offers a warm welcome and advice for those new to Active Server Pages. In addition to 4guysfromrolla.com, Scott has extensive experience building real-world web sites using Active Server Pages, including building an intranet tool for Microsoft's Office Group.
Table of Contents
Preface; Who This Book Is For; How This Book Is Organized; ASP Information on the Web; Obtaining the Sample Code; Conventions Used in This Book; How to Contact Us; Acknowledgments; Chapter 1: Introduction; 1.1 What Is Application Design?; 1.2 What's Wrong with ASP Design?; 1.3 Why Hasn't ASP Design Advanced?; 1.4 What Can Be Done to Improve ASP Design?; 1.5 Further Reading; Chapter 2: Choosing a Server-Side Scripting Language; 2.1 The Popularity of VBScript; 2.2 Specifying the Scripting Language; 2.3 Creating ASP Pages with JScript; 2.4 Creating ASP Pages with PerlScript; 2.5 Creating ASP Pages with Python; 2.6 Further Reading; Chapter 3: Exception Handling; 3.1 A Bit of Terminology; 3.2 Detecting When Exceptions Occur; 3.3 Responding to Exceptions; 3.4 Creating Custom HTTP Error Pages; 3.5 Further Reading; Chapter 4: Regular Expressions, Classes, and Dynamic Evaluation and Execution; 4.1 Using the RegExp Object; 4.2 Using Object-Oriented Programming with VBScript; 4.3 Using Dynamic Evaluation and Execution; 4.4 Further Reading; Chapter 5: Form Reuse; 5.1 The Importance of Code Reuse; 5.2 A Primer on Form Use; 5.3 Form Validation; 5.4 Creating Reusable Server-Side Form Validation Routines; 5.5 Developing Reusable Form Creation Routines; 5.6 The Practicality of Reuse; 5.7 Further Reading; Chapter 6: Database Reuse; 6.1 Examining Database Usage; 6.2 The Building Blocks for Creating Reusable Administration Pages; 6.3 Creating Reusable Administration Pages; 6.4 Further Reading; Chapter 7: Using Components; 7.1 COM--A Quick Overview; 7.2 Lesser-Known Microsoft COM Components; 7.3 Enhancing Microsoft's COM Components; 7.4 Building Components; 7.5 Further Reading; Chapter 8: Enhancing Your Web Site with Third-Party Components; 8.1 Executing DOS and Windows Applications on the Web Server with ASPExec; 8.2 Obtaining Detailed Information About Your Users's Browsers; 8.3 Grabbing Information from Other Web Servers; 8.4 Encrypting Information; 8.5 Uploading Files from the Browser to the Web Server; 8.6 Why Reinvent the Wheel?; 8.7 Further Reading; Colophon;