Amazon.com
Designing Active Server Pages provides an important tool for often-overworked ASP programmers: a set of techniques for making the wisest use of the technology in a production environment. Targeting an audience of readers who already are seasoned in ASP, author Scott Mitchell explores techniques for producing "reusable and robust ASP applications."
Presentation and example compose the approach here, with concise tables of information and descriptions that make the book a fast read. Mitchell explores the benefits of the VBScript 5.0 scripting engine, and illustrates how to exploit the new RegExp object fully and build object-oriented code by using VBScript classes--another welcome addition to the coding platform. ASP programmers will find techniques for which they've been longing, such as centralized error-handling pages and reusable database administration forms.
Creation of and best practices for implementing COM components, useful standard components (like the Content Linker and AdRotator), and third-party components (such as ASPEncrypt and SA-FileUp) are discussed. Designing Active Server Pages doesn't stop with mere descriptions of these components, but also provides solutions for common needs, such as uploading files to binary fields in Microsoft SQL Server and sending encrypted e-mail.
With its advanced techniques and practical perspective, this book is perfect for those who look to stay on the cutting edge of ASP programming. --Stephen W. Plain
Topics covered:
- Choosing a server-side scripting language
- Exception handling
- Regular expressions
- Building reusable forms
- Reusable database administration pages
- COM overview
- Lesser-known Microsoft COM components
- Important third-party COM components
Présentation de l'éditeur
Active Server Pages (ASP) is one of the most popular and accessible methods for developing dynamic web pages. As the number of web pages grows and expands into entire web applications, performing such routine tasks as maintaining the pages, upgrading the scripts, and diagnosing and correcting bugs becomes a nightmare.
Designing Active Server Pages shows ASP developers how to reuse code by looking for common functionality and by separating the presentation element of web pages from script. With a focus on techniques and features available in ASP 3.0 and VBScript 5.0+, topics include:
Including scripting blocks or code libraries using the #include server-side directive or the Server.Transfer method
Developing and using classes by using the ClassEnd Class construct added to VBScript 5.0
Maximizing ASP's language independence by using another scripting language (like JScript, Perl, or Python)
Creating simple COM components to encapsulate common functionality by using the Microsoft Script Component Wizard
Taking advantage of existing third-party components to perform specialized operations
Along with discussing the techniques for maximizing code reuse, Designing Active Server Pages provides concrete code examples that put these techniques into practice. Chapters indicate how to reuse code for HTML forms and for database access and maintenance, which are the two areas in which ASP programmers typically find themselves reinventing the wheel. Designing Active Server Pages is an indispensable resource for the ASP programmer who wants to make the transition from writing scripts one page at a time to developing powerful, modular, maintainable ASP pages.