250 likes | 609 Views
Analysis Patterns. Analysis Patterns, Martin Fowler Data Modeling Patterns, David Hay Java Modeling in Color with UML, Peter Coad The Data Model Resource Book (two volumes), Len Silverston. Patterns. Small Coding patterns: Smalltalk Best Practice Patterns Refactorings Medium
E N D
Analysis Patterns Analysis Patterns, Martin Fowler Data Modeling Patterns, David Hay Java Modeling in Color with UML, Peter Coad The Data Model Resource Book (two volumes), Len Silverston
Patterns • Small • Coding patterns: Smalltalk Best Practice Patterns • Refactorings • Medium • Design patterns • Big • Frameworks • Architectural patterns
Patterns • Reusable solution to a problem in a context. • Knowledge of experts. • Balance of forces.
Analysis Patterns • Organizational structure Hay, Fowler • Accountability Fowler • Quantities Hay, Fowler • Contracts Hay, Fowler • Accounting Hay, Fowler • Products and Inventories Hay • Material Requirements Planning Hay
Transactions Transactions can effect many accounts. * * Entry amount Account Transaction date
Party • Many roles that are usually played by people are sometimes played by organizational units, too. Party Address Person Organization
Organizational Hierarchies • Organizations usually have a hierarchical structure. Party Address parent Organization Person subsidiary Division Region Sales Office Operating Unit
Organizational Structure • Problem: An organization can be in several hierarchies, and the structure can change over time. OrganizationStructureType OrganizationStructure time interval parent * Organization * subsidiary Division Region Sales Office Operating Unit
Quantity Quantity amount: Number units: Unit +, -, *, /
Conversion Ratio * Conversion Ratio ratio: Number Unit *
Measurement weight Quantity Person height
Measurement Phenomenon Type * * * Person Measurement Quantity
Observation Phenomenon Type * Person Observation * Measurement CategoryObs. * Quantity Category
Action Action time * Party * Location
Proposed and Implemented Actions Action Proposed Action Implemented Action
Completed, Abandoned, Suspended Actions Status * Action Completed Abandoned Suspended Time Period *
Plan dependent Proposed Action * * consequences Plan
Resource Allocation Action Resource Type Proposed Action Implemented Action Resource Allocation quantity books uses * *
Why I like “Analysis Patterns” • Invaluable if you are learning business programming • Lots of choices
Summary • Lots of different kinds of patterns. • Patterns in problem domain, as well as solution domain. • Analysis patterns are as important as design patterns.