====== Recognize the work ====== Main point of this step is to split program requirements into set of specific jobs computer do. How the main purpose of a program is fulfilled? ====== How to use the list ====== Work types described as recognition template, we call "stencil". For every point in this template you need to write down or copy from Requirement Specification if you have it. Copy only things required by specific work type description. ====== Algorithm ====== Transformation of structured data into another structured data. ===== Important about the Object 1 ===== Requirements talk about some structured data: object is a sequence or something composite, that can be broken down to atomic parts, that already described and make sense from work standpoint. **Write or copy**: specification or requirements about input data. ===== Important about Object 2 ===== Structured data too. Alternative variant: answer about Object 1. **Write or copy**: specification or requirements about output data. ===== Work to do ===== Transform structured data of Object 1 to structured data or answer. ===== Required side effect ===== Is there any additional effect required besides producing output? ===== Dynamic marker ===== Does previous runs affect output of the program or not? ====== Weather station ====== Making decisions from readings from some sensor or simply transfer them to another program. ===== Stencil ===== ==== Important about Object 1 ==== Measurable metrics of phenomenon. Write what phenomenon, what metrics, how they are specified in sensor. ==== Important about Object 2 ==== List of corresponding actions or requirements for another program on readings. ==== Work to do ==== Transfer: translate readings to required format. Reaction: when readings are come to specific value, perform required action. ==== Required side effect ==== Is there additional effect beside producing the output? ==== Dynamic marker ==== Does history of measurements affects the output? ====== Sculptor ====== Mostly non-ordered actions with some medium. ===== Stencil ===== ==== Important about Object 1 ==== Object is User. Set of operations and required restrictions of order of operations. ==== Important about Object 2 ==== Object 2 is Medium. Set of attributes, included parts and applicable operations with restrictions of order of operations. ==== Work to do ==== Translate operations into changes in medium's attributes. ==== Required side effect ==== Is there any state outside the state of the medium, that can be changed by performing operations? ==== Dynamic marker ==== If medium can be edited from several user sessions, is there any state for user and medium process that must be restored, when user returned to editing? ====== Prosthetic ====== Transfer actions between differently specified source and target executor. Basically, it's variation of Algorithm for ordered actions. ===== Stencil ===== ==== Important about Object 1 ==== Specified order of operations. ==== Important about Object 2 ==== Specified order of operations. ==== Work to do ==== Formulate operations, required by sorce, in series of operations performed by target executor. ==== Required side effect ==== Is there any additional effect required, besides direct action transfer? ==== Dynamic marker ==== ====== Display ====== State goes graphical. ===== Stencil ===== ==== Important about Object 1 ==== Specification of attributes and state that must be drawn ==== Important about Object 2 ==== Set of actions and attributes, that allows drawing. Widget requirements, or drawing API specification. ==== Work to do ==== Read the state of required object and draw it. ==== Required side effect ==== Does drawing cause or rely on additional state, that does not relate to drew object itself? ==== Dynamic marker ==== Does drawing requires persisting its state between runs of the program? ====== Controller ====== Call device to perform actions ===== Stencil ===== ==== Important about Object 1 ==== Device, that allows to perform actions. What actions? Are there any restrictions to order? ==== Important about Object 2 ==== There is no Object 2. ==== Work to do ==== Perform actions, based on specified conditions, or create and interface for external calls of this program. ==== Required side effect ==== Is there any changes or actions that required beside calling the controllable device ==== Dynamic marker ==== Does state of controllable device persist or must persist between runs of the program?