You are previewing Microsoft® Reference Architecture for Commerce Version 2.0.
O'Reilly logo
Microsoft® Reference Architecture for Commerce Version 2.0

Book Description

The Microsoft Reference Architecture for Commerce, Version 2.0 consists code and documentation designed to accelerate development of e-commerce solutions for medium to large businesses.

Table of Contents

  1. Microsoft® Reference Architecture for Commerce, Version 2.0: Developer’s Guide
    1. SPECIAL OFFER: Upgrade this ebook with O’Reilly
    2. A Note Regarding Supplemental Files
    3. I. Getting Started
      1. 1. Introduction to the Reference Architecture
        1. What Is the Reference Architecture?
          1. What’s New in this Version?
        2. What Is the Developer’s Guide?
          1. Who Should Read this Guide?
          2. Document Roadmap
            1. Part 1: Getting Started
            2. Part 2: System Architecture
            3. Part 3: Solution Implementation
            4. Part 4: Appendices
          3. Document Conventions
        3. Support for the Reference Architecture
      2. 2. Installing the Software
        1. Before You Begin
          1. Hardware Requirements
          2. Software Requirements
        2. Installing the Prerequisite Software
          1. Install Microsoft Windows 2000 Server and MSMQ
          2. Install Commerce Server 2000
          3. Install Microsoft XML Parser 3.0 SP 1
          4. Install the Developer Tools (Optional)
            1. Install Visual Studio 6.0
            2. Install the Passport SDK 1.4
          5. After You Install the Prerequisite Software
        3. Installing the Reference Architecture Application
          1. Download the Reference Architecture Application
          2. Create and Configure the Business Desk Folder
          3. Create and Configure the Web Site Folder
          4. Create a New Web Site to Host the Application
          5. Create a New Web Site to Host the Commerce Server 2000 Business Desk
          6. Start the Application Installer Program
          7. Install and Configure the XSL ISAPI Filter
            1. Configure the XSL ISAPI Filter to Work Correctly with Business Desk
          8. Unpack the Commerce Site
          9. Import the Predictor Modeling Data
          10. Configure the Business Desk Web Site
          11. Configure the Pipeline Components
          12. Configure the Queued E-mail Component
          13. Create the Business Desk Console for the Application
        4. Configuring the Commerce Site
          1. Import, Modify, or Delete Catalogs
          2. Configure Tax Rates and Shipping Information
          3. Test the Site
        5. Distributed Deployment Considerations
          1. Testing the Application in a Distributed Environment
        6. Production Environment Considerations
    4. II. System Architecture
      1. 3. Business Requirements and Design Model
        1. Requirements That Affect Design
          1. Ease of Use
          2. Performance Requirements
            1. Acceptable Response Time
            2. Scalability
          3. Anonymous Shopping
          4. User Profiling
          5. Strong Security
          6. Support for Multiple Device Types
          7. Manageability
        2. Reference Architecture Application Business Requirements
          1. Functional Requirements
          2. System Requirements
          3. Production Environment Requirements
          4. Documenting the Business Requirements
        3. The MSF Application Model
          1. Why Use the MSF Application Model?
          2. MSF Application Design Process
        4. Conclusion
      2. 4. Conceptual Design Phase
        1. Reference Architecture Usage Scenarios
          1. Usage Scenario 1: A Customer Logs On to the Site
          2. Usage Scenario 2: A Customer Searches for Products
          3. Usage Scenario 3: A Customer Browses for Products
          4. Usage Scenario 4: A Customer Uses a Shopping Basket
          5. Usage Scenario 5: A Customer Creates a Shopping List
          6. Usage Scenario 6: A Customer Shops from a Shopping List
          7. Usage Scenario 7: A Customer Completes a Purchase
          8. Usage Scenario 8: A Customer Provides Shipping and Payment Information
        2. Conclusion
      3. 5. Logical Design Phase
        1. Creating the Logical Design
          1. Unified Modeling Language
          2. Identifying Objects
          3. Identifying Behaviors
          4. Identifying Attributes
          5. Identifying Relationships
        2. Completed Logical Design
        3. Conclusion
      4. 6. Physical Design Phase
        1. The Research Effort
          1. Identifying Physical Solution Requirements
            1. Globalization
            2. Performance
              1. Total System Throughput
              2. Response Time
            3. Scalability
              1. Scaling Up
              2. Scaling Out
            4. Availability
            5. Manageability
            6. Security
              1. Authentication
              2. Authorization
              3. Encryption
              4. Server Encryption
              5. Transport Encryption
              6. Client Encryption
            7. Accessibility
          2. Identifying Existing Candidate Technologies
            1. The Operating System
            2. Internet Services
            3. Presentation Services
            4. Data Services
            5. Commerce Platform
        2. Analysis and Rationalization
          1. Using Existing Technology
            1. Windows 2000 Server
            2. Microsoft Internet Information Services (IIS)
            3. XSL ISAPI
            4. SQL Server 2000
            5. Commerce Server 2000
            6. Passport Authentication
          2. Meeting the Business Requirements
            1. Globalization
            2. Performance
              1. Minimizing Marshaling
              2. Language Choice
              3. Asynchronous Processing
            3. Scalability
            4. Manageability
            5. Security
              1. Authentication
              2. Authorization
              3. Encryption
            6. Browser Independence
        3. Implementation
          1. Identifying the Components
          2. Creating the Specification
        4. Conclusion
    5. III. Solution Implementation
      1. 7. Implementation Overview
        1. Implementation Features
        2. Recommended Background Knowledge
        3. Technology Overview
          1. XML in the ConsolidatedRetail.com Solution
          2. ASP Use
          3. Commerce Server Components
          4. Stored Procedures in the Data Tier
          5. Client-Side Scripting for Input Checking
        4. Conclusion
      2. 8. Solution Roadmap
        1. PASP Files and the XSL ISAPI Filter
          1. A Simple Example
        2. Web Site Files
          1. Initialization Pages and Include Files
          2. Catalog Browsing Pages
          3. User Authentication and Profile Management Pages
          4. Order Management Pages
        3. Commerce Server Objects
          1. Utility and Configuration Objects
          2. Catalog Objects
          3. User Management Objects
          4. Shopping Basket Objects
        4. The Predictor Resource
        5. Pipelines
          1. Pipeline Components
        6. Custom Business Components
        7. Conclusion
      3. 9. ConsolidatedRetail.com Functionality
        1. Presentation Services
          1. XML Output from the PASP Files in ConsolidatedRetail.com
          2. XML Helper Procedures
          3. XSL Style Sheets in the ConsolidatedRetail.com Site
            1. Templates in UI_layout-IE5.xsl
          4. Rendering Index.pasp
          5. Caching Commonly Used Information
            1. Caching of Catalog Names
              1. Pages Affected
              2. Implementation Details
            2. Caching of Categories
              1. Pages Affected
              2. Implementation Details
            3. Caching of Product Information
              1. Pages Affected
              2. Implementation Details
            4. Caching of Shipping Methods
              1. Pages Affected
              2. Implementation Details
            5. Caching of Search Results
              1. Pages Affected
              2. Implementation Details
        2. User Authentication and Profiling
          1. Registering a User
          2. Authenticating a User
          3. Using Passport Authentication
          4. Retrieving and Updating Profile Information
        3. Product Catalogs
          1. Catalog Access
          2. Browsing the Catalogs
            1. Viewing a Product
            2. Navigating the Product Detail Pages
          3. Searching the Catalogs
          4. Adding a New Catalog
        4. Shopping Basket Management
          1. Adding Products to the Shopping Basket
          2. Viewing the Shopping Cart or Save for Later Basket
            1. PAGBasket Pipeline
            2. Converting the Basket Contents to XML
            3. The Lists Pipeline
            4. The RecordEvent Pipeline
            5. Advertising Pipeline
            6. Discounts Pipeline
        5. Order Processing
          1. Specifying a Shipping Address
          2. Specifying a Shipping Method
          3. Specifying Multiple Shipping Addresses and Methods
          4. Specifying Payment Information
          5. Confirming the Order Details
            1. The PAGTotal Pipeline
            2. Obtaining the User’s E-mail Address
          6. Completing the Order Process
            1. The PAGFinal Pipeline
            2. Sending an Order Confirmation E-mail
            3. QueuedEMailer.CMailer
        6. Conclusion
      4. 10. Debugging and Testing
        1. Debugging the Site
          1. Debugging XML Output from PASP Scripts
        2. Debugging a Custom Site Built on the Reference Architecture
        3. Developing a Test Strategy
          1. Possible Test Areas
          2. Possible Test Types
        4. Functional Testing
          1. Testing Methodology
            1. Stage 1 – Document the Test Goals and Master Plan
            2. Stage 2 – Prepare the Detailed Test Plan
            3. Stage 3 – Review the Detailed Test Plan
            4. Stage 4 – Define the Test Cases
            5. Stage 5 – Test the Application
            6. Stage 6 – Determine if the Build/Test Cycle Is Complete
            7. Stage 7 – Hold Triage Meetings
            8. Stage 8 – Fix and Resolve Bugs
            9. Stage 9 – Generate the Test Report
            10. Stage 10 – Conduct the Go/No Go Meeting
        5. Performance Testing
          1. Response Time
          2. Throughput
          3. Performance Testing Tools and Utilities
          4. Performance Testing Methodology
            1. Preparing for the Analysis
              1. Create a Replica of the Production Environment
              2. Involve the Application Owner
              3. Understand the Technology Behind the Application
              4. Define the Transaction or User Scenarios
              5. Define the Goals
            2. Creating the Stress Script
              1. Create More Than One Script
              2. Avoid Record and Play Back
              3. Verify the Actions of the Stress Tool
            3. Executing the Performance/Stress Test
              1. Smoke Test the Site
              2. Start Gather Performance Data
              3. Reset the IIS Log Before Starting Your Test
              4. Clear the Windows Events System, Security, and Application Logs
              5. Configure and Start the SQL Profiler
              6. Create a Controlled Environment
            4. Analyzing the Results
              1. Stop the Simulation and Halt Data Collection
              2. Review the Windows Event Log
              3. Analyze the Performance Monitor Data
              4. Analyze the SQL Trace File
              5. Verify the Pages Accessed
              6. Measure Throughput for the Site
              7. Use SQL Tables for Throughput Analysis
              8. Verify Throughput Numbers
        6. Conclusion
    6. IV. Appendices
      1. A. XML Output from ConsolidatedRetail.com
        1. Acct.pasp
        2. AddressBook.pasp
        3. AddtoList.pasp
        4. AddtoListResp.pasp
        5. Basket.pasp
        6. Category.pasp
        7. ChangePasswd.pasp
        8. CreditCards.pasp
        9. DeleteAddressBook.pasp
        10. EditAddressBook.pasp
        11. EditCreditCard.pasp
        12. ForgotPasswd.pasp
        13. Index.pasp
        14. ListBase.pasp
        15. ListSearch.pasp
        16. Login.pasp
        17. MultiShipping.pasp
        18. OrderHistory.pasp
        19. OrderHistoryDetail.pasp
        20. OrderSummary.pasp
        21. Payment.pasp
        22. Product.pasp
        23. Registration.pasp
        24. SearchResults.pasp
        25. Shipping.pasp
        26. ShippingMethod.pasp
        27. StepSearch.pasp
        28. ThankYou.pasp
        29. UserProfile.pasp
      2. B. Data Field Validation
        1. Data Fields That Require Validation
        2. How Validation Is Performed
          1. ListSearch.pasp
          2. StepSearch.pasp
          3. Search Text Box
      3. C. Sample Detailed Test Plan
        1. Assumptions and Requirements
        2. Test Scenarios
          1. Registration and Authentication Tests
          2. Access Privileges
          3. Banner Advertisement
      4. D. Sample Detailed Test Cases
    7. Index
    8. SPECIAL OFFER: Upgrade this ebook with O’Reilly