Аpplication of functional and relational models in object-oriented programming

Volodymyr Sokolov · Collection Information technology and security · 2017

The paper presents the results of research and practical approbation of formal methods for describing object-oriented programs suitable for automatic generation of programs text to the programming language. As formal models, the functional and relational models are used. The functional model represents the program as a scheme of the connection of functional atomic objects that are capable of direct interaction by forming dynamic connections and automatic computations, which can be represented graphically. In this case, the connection scheme of objects is considered as a scheme of task solving. It is shown that the formalization of the task solution scheme, rather than the entire programming paradigm, makes the process of program creating more suitable for the practice. The requirements for atomic objects are determined as such, which form the elemental basis of the object-oriented program. The relational model represents the object as a virtual relationship, the scheme which is specified by the class that implements the functional dependence of non-key attributes from the key ones by their calculations, which makes it possible to apply relational operations to describe the scheme of task solving. The relational model allows using a language which is similar to the structured query language of databases, to describe the scheme of solving the task and to perform it automatically. It is shown that the functional and relational models are suitable for graphical representation of the task solution scheme and are sufficiently expressive for direct generation of programs. In fact, the developed models allow us to increase the process of creating object-oriented programs to a higher level, focusing on the structure of the program, rather than on its components, and to eliminate the lack of methods for presenting programs. The programming technology of active dynamic connections of objects has been used as a basis for practical implementation.

Read the paper · More papers on PaperTik