.NET
  Home arrow .NET arrow Page 6 - An Overview of the Simplified Application ...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

An Overview of the Simplified Application Framework
By: Apress Publishing
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 6
    2005-02-16

    Table of Contents:
  • An Overview of the Simplified Application Framework
  • SAF Foundation Components
  • The Configuration Service
  • The MessageQueue Service
  • The Cryptography Service
  • The DocumentLayer Service
  • Testing Projects for SAF

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    An Overview of the Simplified Application Framework - The DocumentLayer Service


    (Page 6 of 7 )

    The SAF.DocumentLayer service provides developers with an easy way to create individual document process layers that are decoupled from one another, yet work together to process incoming documents as well as outgoing documents. Using the SAF.DocumentLayer service, developers can easily define in a configuration file how a particular document should be processed through each layer. As new processing layers are introduced into the system, developers can also inject the new processes into the existing layers through the configuration setting changes without touching the existing application code.

    The core of the SAF.DocumentLayer is the decorator design pattern, which gives you the ability to apply services to an object in a layer-by-layer fashion. We will take a closer look at this framework component in Chapter 14.

    The Workflow Service

    As a business document is passing through a B2B application, many business components will participate in processing the document. You have to manage the coordination among these business components to ensure that the document is processed in the correct order. As the number of these business components increases, such coordination logic will become more complicated, because more components need to be wired to each other to make everything work. Both the components and the sequence of components involved in processing a business document can change dramatically as the underlying business rules for processing the documents change.

    The SAF.Workflow service reduces the complexity of such processes by decoupling the business logic for processing the document from the coordination logic that controls the sequence of the process flow. If a rule changes or a new rule is added for the way multiple components collaborate with each other, we only have to change the coordination logic of the workflow. On the other hand, if a rule changes on how one particular component should process the document, we then only have to change that particular component.

    SAF.Workflow is based on the visitor design pattern to separate the workflow’s business logic and coordination logic, and make it easy to introduce the new coordination logic and business component into the workflow. We will look in detail at SAF.Workflow and its implementation in Chapter 15.
      

    This chapter is from Developing Application Frameworks in .NET by Xin Chen (Apress, 2004, ISBN: 1590592883). Check it out at your favorite bookstore today. Buy this book now.

    More .NET Articles
    More By Apress Publishing


     

    .NET ARTICLES

    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF
    - Grouping and Aggregating When Querying LINQ ...
    - Commands, Input and the WPF
    - Keyboard and Ink Input with WPF
    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT