Developing ASP Components
Home > Computing and Information Technology > Digital Lifestyle and online world: consumer and user guides > Internet guides and online services > Developing ASP Components
Developing ASP Components

Developing ASP Components

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Microsoft's Active Server Pages (ASP) technology has become very popular with Web developers. However, the techniques for developing custom ASP components, not to mention the inevitable snags and pitfalls, are not well documented. What's more, the successful ASP component developer must be a jack-of-all-trades, with some knowledge of COM and COM+, threading models, and the ASP object model, as well as a mastery of one or more language tools and development environments. That's where this text comes in. Its first section explores the topics everyone needs to know to develop effective ASP components: configuring the ASP development environment; ASP components and the Component Object Model (COM); ASP components and threading models; ASP components and Component Services, which provide a variety of services to ASP components; the objects, properties, methods, and events available in the ASP object model; an integrating ASP components and scripted Active Server Pages; ASP components are language independent, and developers increasingly tend to use more than a single language tool. Thus the remainder of the book focuses on ASP component development using one of two major development tools- Microsoft Visual Basic and Microsoft Visual C++ (with the ActiveX Template Library) - along with a number of other languages, such as Perl and Delphi. Each section focuses on the issues that concern the ASP component developer using that particular development environment. These issues include: accessing ASP's intrinsic objects; accessing data using ADO; creating n-tier web applications with VB; and handling persistence using MFC along with Visual C++/ATL; It's this strong focus on two major development environments, along with a thorough grounding in essential ASP topics, that should make "Developing ASP Components, 2nd Edition" a valuable resource for the ASP application and component developer.

Table of Contents:
Preface 1. Writing ASP Components The Role ASP Components Play Why Use ASP Components? COM+ Services and ASP Components Accessing Data with ASP Components Windows 2000 Technologies Accessible from ASP Components A Rose by Any Other Name: Programming Language Choice What About ASP.NET? 2. Setting Up the ASP Development Environment Configuring the IIS Environment Remote Administration of IIS Using ADSI to Administer IIS Programmatically IIS Admin Object Overview The IIS Base Admin Objects 3. ASP Components and COM Overview of COM for ASP Component Developers How COM Is Implemented Notable COM Interfaces COM Datatypes 4. ASP Components, Threads, and Contexts What Are Threads? Threads and Apartments The Threading Models What Are COM+ Contexts? 5. COM+ Services and ASP Components and Applications Developing Component-Based Systems The COM+ Interfaces Porting MTS Packages to COM+ Applications Activating COM+ Applications COM+ Services 6. ASP Interaction: Scripting and ASP Components Scripting Language Support Within ASP Instantiating Components COM+ Datatypes and Script/Component Interaction Passing Arrays as Parameters Error Handling Between Component and Script 7. Creating a Simple Visual Basic ASP Component Creating an In-Process or Out-Of-Process Component Component Instancing Component Execution and Threads Creating an ASP Project Creating Component Methods Generating, Registering, Installing, and Testing the Component Adding Support for COM+ Services Converting MTS Components for Use with COM+ Accessing the ASP Built-in Objects Error Handling Debugging Performance Issues 8. Creating ASP/ADO Components Accessing ADO from a VB Component Creating a Simple ADO Component The ADO Model File and Directory Access with ADO Streams and the Record Object Persisting Data 9. Creating an ASP Middle Tier with ADO How Separate Should the Layers Be? Creating ADO Data Wrappers Defining Business Objects Other Data Integrity Issues 10. Server-Side XML Through VB ASP Components XML Basics Formatting XML Working with XML in ASP Applications XML and ADO: Saving Recordsets as XML 11. Take a Message: Accessing CDO from ASP Components A Brief Overview of CDO The CDO Object Model Send This URL to a Friend Working with the Message Body Retrieving and Reading Messages 12. Working with Active Directory from ASP Applications A Brief Overview of Active Directory in Windows 2000 Setting Up an Isolated Active Directory Environment A Refresher on ADSI Binding to Active Directory Objects Using the Active Directory Services Viewer Manipulating Containers Searching Active Directory with ADO ASP Example: Add and Manage Users Through the Web 13. Working with MSMQ Components MSMQ/ASP Basics Working with Queues Working with MSMQ Messages Using Transactions Journaling A Brief Word on Message Security 14. Creating C++ ASP Components ATL or MFC Using ATL AppWizard to Generate the Basic ASP Component Project Adding an ATL Object Code Changes Based on Adding a New Object Adding Methods to the Interface Adding Support for COM+ Services Converting MTS Components for Use with COM+ Accessing the ASP Built-in Objects Error Handling 15. Adding Data Access to C++ Components with ADO ADO Access in Visual C++ The ADO Object Model The Connection Object The Recordset Object The IADORecordBinding Interface The Command Object Stream and Record Objects 16. The CDO Interfaces from C++ Components Accessing CDO Interfaces in C++ Creating and Sending a Message Retrieving and Reading Messages 17. Accessing Active Directory from C++ Components Binding to Active Directory Objects ADSI Helper Functions Filtering Collections Creating and Removing Active Directory Objects Using ADSI Searching Active Directory with IDirectorySearch 18. Accessing MSMQ from C++ ASP Components Adding Support for MSMQ to the C++ Project Working with Queues Searching for a Specific Queue Working with MSMQ Messages Using Transactions 19. Persistence with ASP Components Using ATL and MFC Combining MFC and ATL File Access from ASP Components Creating a Serializable Class Persistence Through Object Serialization 20. ASP Components Created with Java Creating Java Components Invoking a COM Object in a Java Component Working with COM+ Services The ASP Built-in Object and Helper Interfaces Accessing ADO from Java Components 21. Creating ASP Components with Delphi Using the COM Wizards to Create ASP Components Manually Adding Support for COM+/ASP Working with the ASP Objects Working with ADO Working with Windows 2000 Functionality: CDO 22. Perl-Based Components Using ActiveState's PDK Setting Up PDK Building a Basic Perl Component Accessing the ASP Built-in Objects Working with Data Working with the Win2K Environment 23. Creating Scripting Language Components The Windows Script Components Architecture Elements of a WSC File Script Components and ADO The WSC Wizard Creating Script Components with JScript Accessing Windows 2000 Functionality A. ASP Built-in Object Quick Reference B. The Weaver Database Index


Best Sellers


Product Details
  • ISBN-13: 9781565927506
  • Publisher: O'Reilly Media
  • Publisher Imprint: O'Reilly Media
  • Language: English
  • Returnable: N
  • ISBN-10: 1565927508
  • Publisher Date: 01 May 2001
  • Binding: Book
  • No of Pages: 811


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Developing ASP Components
O'Reilly Media -
Developing ASP Components
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Developing ASP Components

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!