The popularity of Microsoft's Active Server Pages (ASP) technology is growing rapidly. Part of the reason is ASP's flexibility: the output of ASP scripts is most commonly HTML, which is included in the text stream returned to the client, making it a convenient way of creating browser-independent web content. But an additional reason--and one that will become more and more important over time, as webapplications replace web pages--is its extensibility. And the most effective way to extend ASP is to develop custom ASP components.However, the techniques for developing custom ASP components, along with the snags and pitfalls of developing custom components, are not well documented. In addition, to successfully develop ASP components one must be a jack-of-all-trades: programming requires some knowledge of COM, of threading models, and of the ASP object model, as well as a mastery of one or more language tools and development environments.That's where Developing ASP Components comes in. The first section of the book explores the topics all developers need to know to develop components for ASP effectively:
The configuration of the ASP development environment
ASP components and the Component Object Model (COM)
ASP components and threading models
ASP components and the Microsoft Transaction Server, which can be used to provide a variety of services to ASP components
The objects, properties, methods, and events available in the ASP object model
Because more and more developers find themselves using more than a single language tool, the remaining three sections of the book each focus on ASP component development using any of the three major development tools: Microsoft Visual Basic, Microsoft Visual C++ and the ActiveX Template Library (ATL), and Microsoft J++. Each section carefully focuses on the issues that concern the ASP component developer who is using that particular development environment. These include:
Accessing ASP's intrinsic objects
Accessing data using either OLE DB (in the case of C++) or ADO (in the case of VB and J++)
Creating n-tier web applications with VB
Handling persistence using MFC along with Visual C++/ATL
Accessing native code (the Windows libraries, which are written in C) from J++
This thorough coverage of the background information needed for developing ASP components, as well as its focus on the component development in each of three major development environments, makes Developing ASP Components the definitive resource for the ASP application and component developer.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Developing ASP Components is an asp, which is a term applied to various venomous snakes, including the depicted asp viper (Vipera aspis) of Europe as well as the Egyptian cobra (Naja haje), thought to have been the means of Cleopatra's suicide.Needing to eat at least 50-60 percent of their body weight in food per week, European asp vipers hunt by lying in wait for approaching prey. After grabbing and biting a small rodent or other prey, they release it and wait several minutes for it to stop moving; the generally sluggish viper rarely chases prey. Vipers know their home territory very well, which allows quick escape from their asp-kicking natural enemies, serpent eagles and hedgehogs. This trick hasn't helped them escape from their greatest threat, the expansion of human civilization, which frequently wipes out large sections of their territory.The chemical composition of asp viper venom can vary from one population to the next, hampering initial antivenin development until 1896, but few viper bite fatalities occur in Europe today. Ellie Fountain Maden was the production editor and copyeditor forDeveloping ASP Components; Sheryl Avruch was the production manager; Mary Anne Weeks Mayo, Maureen Dempsey, and Jeffrey Liggett provided quality control. Abby Myers and Sarah Jane Shangraw proofread the book. Robert Romano created the illustrations using Adobe Photoshop 4 and Macromedia FreeHand 7. Mike Sierra provided FrameMaker technical support. Lynn Hutchinski wrote the index.Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The image is a 19th-century engraving from the Dover Pictorial Archive. The cover layout was produced by Kathleen Wilson using QuarkXPress 3.3 and the ITC Garamond font. Whenever possible, our books use RepKover, a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.The inside layout was designed by Nancy Priest and implemented in FrameMaker 5.5 by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. This colophon was written by Nancy Kotary.
Excellent!! This book lays everything out very clear. It provided me with the best single source of information on what I had to know to create the best performing ASP components I could. I am a VB developer and found the information to be extremely useful both for the VB information, the J++ information, and IIS itself. This book is a must for those starting to write COM components and for experienced developers, too. My personal opinion is that if you are developing ASP components in VB or J++ without this book you are doing yourself a disservice. The book also covers developing components with C++ but I only use VB and J++ so I skipped that part of the book. Best book I bought this year.
The author really understands the diverse nature of developing a good n-tier component (Windows DNA) system using ASP, IIS, and MTS. She does an excellent job of presenting
how to develop components using Visual C++, Visual Basic, and Visual J++. There are no other books on the market that have attempted this! This book is up to date and a very practical introduction to developing ASP Components. Great job, Shelley, for giving us a great resource!