1. Roman Agaev, M.Sc, PMP
Owner, Supra Information Technology ltd.
Common Global Parameters
Author: Roman Agaev
Date: Tuesday, March 27, 2007
- - 1
2. Roman Agaev, M.Sc, PMP
Owner, Supra Information Technology ltd.
Contents
1 Abstract.......................................................................................................................4
2 Analysis.......................................................................................................................4
3 Design.........................................................................................................................5
4 Conclusion...................................................................................................................6
4.1 Usage Examples...............................................................................................6
5 Appendixes..................................................................................................................6
- - 2
3. Figures
Figure 2-1: Global parameters object.............................................................................4
Figure 4-2: Global parameter – SetPrameter, FindParameter, ResetParameter,
GetEntirePicutre.............................................................................................................6
Tables
Table 3-1: System parameters module's layers decomposition......................................5
4. 1Abstract
This essay takes as its purpose analysis and design of custom global parameters
module. The meaning of custom global parameter is data that shared across all
processes within the user session, in addition the information can be written to the
database.
The module provides an ability of data retrieval, its appending, and its flushing.
2Analysis
The global parameters module must give an opportunity of shared data management
among the processes within the user session, when the main purpose of such data is
being a run time parameters.
The following diagram presents object diagram of needed business layer:
Figure 2-1: Global parameters object
The module must include several elements from database, business, and graphic user
interface layers:
•Applet
•View
•BC (Business Component) – contains several methods and based on custom
VBC1
•BS (Business Service) – contains several methods delegated by underlied
business component
1
For further information please refer to "Common VBC paradigm" in Appendixes section of the
document
5. 3Design
The analysis can be handled using a single stand alone module definition. The module
will include several elements from every one of three application tiers:
Graphic User Interface Layer
•View – System Parameters View
•Applet - System Parameters List Applet
Business Layer
•Business Object – System Parameters
•Business Component – System Parameters with methods
SetParameter() – creates new entry
FindParameter() – makes a search across parameters in order to
find out the appropriate parameter that answers on search
specification
ResetParameter() – resets the data of given parameter
GetEntirePicture() – retrieves the entire picture of populated
parameters as hierarchy. The hierarchy can be presented within
the appropriate applet.
•Business Service – Global Parameters BS2 encapsulates delegated
methods of Business Component
The following table demonstrates those elements per layer:
Table 3-1: System parameters module's layers decomposition
Layer Element Type Element Name Element Attributes
Business Business Global Parameters Name
Component
Value
Business Object Global Parameters Global Parameters
Business Service Global Parameters SetParameter
BS FindParameter
ResetParameter
GetEntirePicture
Graphic User Applet Global Parameter
Interface List Applet
2
Cacheable business service
6. Layer Element Type Element Name Element Attributes
View Global Parameter
View
4Conclusion
Current essay provides a new sight over the old problem, how to store cross processes
parameters and effectively use them during the session of system users. The pattern
can be used in many applications like CTI phone book, XSLT etc.
4.1Usage Examples
The following figures demonstrate proposed solution examples:
Figure 4-2: Global parameter – SetPrameter, FindParameter, ResetParameter, GetEntirePicutre
5Appendixes
"Workflow usage best practices" (Roman Agaev)
"Common VBC paradigm" (Roman Agaev)
"Common error handling mechanism" (Roman Agaev)