You are previewing Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days.
O'Reilly logo
Sams Teach Yourself Microsoft® Windows® DNA Programming in 21 Days

Book Description

Sams Teach Yourself Windows DNA 2000 Programming in 21 Days enables you to create your own distributed applications quickly and easily. Using his classroom-proven methods, expert author Michael Rockwell demystifies the process of creating distributed applications and actually shows you step by step how to put all of the pieces of Windows DNA 2000 together to form robust, scalable solutions. You will benefit from Michael's easy to understand lessons that include: designing Windows DNA 2000 solutions, building the data tier, creating stored procedures, building business logic into your application, creating middle-tier components with COM+, working with transactions, developing with XML, creating thin clients with HTML/DHTML, building rich 32 bit clients, and integrating Office 2000 into your solutions.

Table of Contents

  1. Copyright
  2. Foreword
  3. About the Authors
  4. About the Contributors
  5. About the Technical Editor
  6. Acknowledgments
  7. Tell Us What You Think!
  8. Introduction
  9. At a Glance
    1. Understanding Windows DNA
      1. Defining Windows DNA
      2. Evolution in Application Design
      3. Exploring a Classic Three-Tier Architecture
      4. The Microsoft Commitment
      5. Focusing on Solutions, Not Infrastructure
      6. Investigating the Windows DNA Building Blocks
      7. Introduction to the Three-Tiered Windows DNA Model
      8. Multitiered Design Principles
      9. Exploring Components: The New Promise of Software Reusability
      10. Windows DNA and the Team Environment
      11. Summary
      12. Q&A
      13. Workshop
      14. Quiz
    2. Building a Windows DNA Application
      1. The Three Tiers Revisited
      2. Presentation Tier
      3. Client-Side Presentation
      4. Active Server Pages (ASPs)
      5. Data Tier
      6. Begin with Scalability in Mind
      7. Typical DNA Configurations
      8. The Future of DNA
      9. Summary
      10. Q&A
      11. Workshop
    3. Architecting a Windows DNA Solution
      1. Performing Analysis
      2. Mapping the Solution to the DNA Architecture
      3. Development Frameworks
      4. Summary
      5. Q&A
      6. Workshop
    4. Exploring Database Fundamentals
      1. The Basics of Database Architecture
      2. Exploring SQL Basics
      3. Developing Table Relationships
      4. Summary
      5. Q&A
      6. Workshop
    5. Putting Business Logic in the Data Tier
      1. Ensuring Data Integrity
      2. Stored Procedures
      3. Where Do You Implement Business Rules?
      4. Summary
      5. Q&A
      6. Workshop
    6. ActiveX Data Objects (ADO)
      1. Creating a Data Source Name (DSN)
      2. Exploring DSN-Less Connections
      3. Comparing OLE DB and ODBC
      4. Exploring the ADO Object Model
      5. Using the Recordset Object
      6. Using the Connection Object
      7. Exploring the Command Object
      8. Calling Stored Procedures
      9. Exploring Other Data Stores
      10. Record and Stream Objects
      11. Summary
      12. Q&A
      13. Workshop
    7. Database Transactions and the Distributed Transaction Coordinator
      1. Exploring Transactions
      2. Applying Transaction Rules
      3. Working with Database Transactions
      4. Applying Transactions to the SmallTownBank Application
      5. Distributed Transactions
      6. Microsoft Distributed Transaction Coordinator
      7. Increasing Transaction Performance
      8. Microsoft Transaction Server
      9. Summary
      10. Q&A
      11. Workshop
  10. At a Glance
    1. Introduction to COM and MTS
      1. Component Object Model (COM)
      2. Microsoft Transaction Server (MTS)
      3. Putting COM Components into an MTS Package
      4. Using Role-Based Security
      5. Summary
      6. Q&A
      7. Workshop
    2. Building COM Components in VB
      1. Getting Started with COM
      2. Importing Your Visual Modeler Components
      3. Using SourceSafe
      4. Developing Your Project
      5. Utilizing the Class Builder Add-In
      6. Reverse-Engineering Your Code Back into Visual Modeler
      7. Creating a Test Harness
      8. Testing Your Components
      9. Storing Your Finished Code in Microsoft Repository
      10. Summary
      11. Q&A
      12. Workshop
    3. Adding Transactional Support
      1. Adding Transactional Support to Your Components
      2. Working with State and Components
      3. Creating a Package and Installing Components into Transaction Server
      4. Monitoring Your Components as They Transact
      5. Raising Errors
      6. Handling Updates
      7. Considering Design
      8. Summary
      9. Q&A
      10. Workshop
    4. Interacting with the Database—ADO Revisited
      1. Best Practices for Working with Data
      2. Bringing Data into Your Data Tier Component
      3. Sending Data to Requesting Components
      4. Receiving Data Back from Another Component
      5. Sending Data Back to the Data Store
      6. Exploring Transactional Properties
      7. Handling Errors
      8. Summary
      9. Q&A
      10. Workshop
    5. The Power of XML
      1. Microsoft's Push to Be a Leader in XML
      2. Introducing Hierarchical Data Structures
      3. Exploring XML Syntax
      4. Exploring XML Elements
      5. XML Schemas and Namespaces
      6. Using the XML Document Object Model
      7. Working with XML
      8. Summary
      9. Q&A
      10. Workshop
    6. The Future: COM+
      1. Activating Objects with Just-in-Time Activation
      2. Reusing Objects via Resource Pooling
      3. Queued Components
      4. Events
      5. Using Automatic Transactions
      6. Threading: Neutral Apartments
      7. Constructor Strings
      8. Configuring COM+ Application
      9. Summary
      10. Q&A
      11. Workshop
    7. Best Practices and Other Services
      1. Asynchronous Communications—Working with Message Queues
      2. Interacting with Legacy Systems—COM TI
      3. Integrating Legacy Systems with Host Integration Server
      4. Getting to Know BizTalk Server 2000
      5. Introducing the BizTalk Server 2000 JumpStart Kit
      6. The JumpStart Kit Architecture
      7. Exploring the Simple Object Application Protocol (SOAP)
      8. Exploring Application Center 2000 Server
      9. Visual Studio.NET
      10. Web Applications
      11. A Better Visual Basic
      12. Summary
      13. Q&A
      14. Workshop
  11. At a Glance
    1. A Rich Native Windows Client
      1. Building a Rich Client
      2. Using WinSock to Connect to Business Objects
      3. Using DCOM to Connect to Business Objects
      4. Using Remote Data Services (RDS) to Connect to Business Objects
      5. Advantages and Disadvantages of RDS
      6. LAB: Connecting via RDS
      7. Using the Windows Internet Components to Connect to Business Objects
      8. Advantages and Disadvantages of a Native Windows Client
      9. Summary
      10. Q&A
      11. Workshop
    2. Using ActiveX Controls to Move Business Logic from the Server to the Client
      1. What Are ActiveX Controls?
      2. Deciding When to Use ActiveX Controls
      3. Using Visual Basic to Build ActiveX Controls
      4. Deploying Your Controls to the Internet
      5. Summary
      6. Q&A
      7. Workshop
    3. Using DHTML for the Presentation Tier
      1. Distributing the Presentation Layer
      2. Up and Running with JavaScript
      3. Benefiting from DHTML
      4. Scripting Compatibility Issues—Netscape Versus Internet Explorer
      5. Client-Side Versus Server-Side Scripting
      6. Interacting with DOM
      7. Allowing Events to Work for You
      8. Interacting with ActiveX Controls
      9. Summary
      10. Q&A
      11. Workshop
    4. Active Server Pages
      1. Introducing Server-Side Scripting
      2. Creating Active Server Pages (ASPs)
      3. Exploring Built-In Objects
      4. Using Includes Files
      5. Using Scripting Objects and Server Components
      6. Summary
      7. Q&A
      8. Workshop
    5. Thin HTML—Reach Clients
      1. HTML–The Basics
      2. Checking Browser Compatibility in ASP
      3. HTML—A Static Presentation Layer
      4. Summary
      5. Q&A
      6. Workshop
    6. Office 2000 and Web Components
      1. Office Web Components
      2. Using the Controls in a Solution
      3. Summary
      4. Q&A
      5. Workshop
    7. Implementing Digital Dashboards in Windows DNA Applications
      1. Digital Dashboards and Outlook 2000—An Information Management Container
      2. Building a Digital Dashboard
      3. Integrating Your Content with Outlook 2000
      4. Viewing Your Content with the Full Version of Internet Explorer
      5. Adding Functionality to Your Dashboard
      6. Summary
      7. Q&A
      8. Workshop
  12. Answers to the Quiz and Exercise Questions
    1. Day 1
    2. Day 2
    3. Day 3
    4. Day 4
    5. Day 5
    6. Day 6
    7. Day 7
    8. Day 8
    9. Day 9
    10. Day 10
    11. Day 11
    12. Day 12
    13. Day 13
    14. Day 14
    15. Day 15
    16. Day 16
    17. Day 17
    18. Day 18
    19. Day 20
    20. Day 21
  13. Index