Disponible:*
Bibliothèque | Type de document | Numéro de cote topographique | Nombre d'enregistrements enfants | Emplacement | Statut | Réservations du document |
---|---|---|---|---|---|---|
Recherche en cours... Science | Book | TK5105.8885 .A26 M58 2000 | 1 | Stacks | Recherche en cours... Inconnu | Recherche en cours... Indisponible |
Relié avec ces titres
Commandé
Résumé
Résumé
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: 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 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 is sure to become an indispensable part of every web developer's library.
Table des matières
Preface | p. vii |
1. Introduction | p. 1 |
What Is Application Design? | p. 1 |
What's Wrong with ASP Design? | p. 3 |
Why Hasn't ASP Design Advanced? | p. 4 |
What Can Be Done to Improve ASP Design? | p. 5 |
Further Reading | p. 18 |
2. Choosing a Server-Side Scripting Language | p. 19 |
The Popularity of VBScript | p. 19 |
Specifying the Scripting Language | p. 20 |
Creating ASP Pages with JScript | p. 25 |
Creating ASP Pages with PerlScript | p. 31 |
Creating ASP Pages with Python | p. 37 |
Further Reading | p. 37 |
3. Exception Handling | p. 39 |
A Bit of Terminology | p. 40 |
Detecting When Exceptions Occur | p. 42 |
Responding to Exceptions | p. 65 |
Creating Custom HTTP Error Pages | p. 73 |
Further Reading | p. 77 |
4. Regular Expressions, Classes, and Dynamic Evaluation and Execution | p. 78 |
Using the RegExp Object | p. 79 |
Using Object-Oriented Programming with VBScript | p. 85 |
Using Dynamic Evaluation and Execution | p. 99 |
Further Reading | p. 103 |
5. Form Reuse | p. 104 |
The Importance of Code Reuse | p. 104 |
A Primer on Form Use | p. 106 |
Form Validation | p. 111 |
Creating Reusable Server-Side Form Validation Routines | p. 116 |
Developing Reusable Form Creation Routines | p. 124 |
The Practicality of Reuse | p. 136 |
Further Reading | p. 137 |
6. Database Reuse | p. 138 |
Examining Database Usage | p. 138 |
The Building Blocks for Creating Reusable Administration Pages | p. 140 |
Creating Reusable Administration Pages | p. 149 |
Further Reading | p. 246 |
7. Using Components | p. 247 |
COM--A Quick Overview | p. 248 |
Lesser-Known Microsoft COM Components | p. 249 |
Enhancing Microsoft's COM Components | p. 275 |
Building Components | p. 276 |
Further Reading | p. 290 |
8. Enhancing Your Web Site with Third-Party Components | p. 291 |
Executing DOS and Windows Applications on the Web Server with ASPExec | p. 292 |
Obtaining Detailed Information About Your Users's Browsers | p. 296 |
Grabbing Information from Other Web Servers | p. 303 |
Encrypting Information | p. 309 |
Uploading Files from the Browser to the Web Server | p. 324 |
Why Reinvent the Wheel? | p. 335 |
Further Reading | p. 337 |
Index | p. 339 |