Font Size: a A A

Research And Implementation Of Workflow Engine In MVVM Front-end Framework

Posted on:2021-05-31Degree:MasterType:Thesis
Country:ChinaCandidate:Z H ZhangFull Text:PDF
GTID:2428330602471889Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development of Internet technology,all kinds of businesses tend to work online,and the front-end developers need to deal with more business processes,while the traditional frontend framework focuses on code reuse,page rendering efficiency improvement,etc.In terms of complex and changeable business processes,it is often necessary to modify a large amount of code to improve the logic of business process,and business processes are poorly maintainable.To solve these problems,this paper develops a lightweight workflow engine based on the MVVM front-end framework No Dom JS and the advantages of processing business process by workflow engine,which can manage business process in front-end development and improve development efficiency.Firstly,the paper analyzes the research background of the project and the research status of workflow engine and front-end framework,deeply studies the existing workflow engine architecture and related workflow technology,and introduces No Dom JS.According to the relevant theories and design theories of the workflow engine,the requirements analysis,design principles,architecture design of the workflow engine,and the design and implementation of the data management layer,process scheduling management layer,and page rendering layer were completed.Secondly,according to the related theory and design theory of workflow engine,the requirement analysis,design principle and architecture design of workflow engine are completed.Aiming at the problem that the existing process model cannot be applied in the Java Script environment,a JSON format process modeling method is designed according to ensure the validity of process model representation and storage,and reduce the workload of workflow engine processing process model.At the same time,the existing workflow engine does not deal with the similarity of the process model,and a process similarity method based on the model structure and event log is proposed,which can avoid creating the existing process repeatedly by calculating the similarity of the process.This algorithm is applied to the workflow engine.A lightweight workflow engine is designed and developed based on Java Script.The engine is divided into data management layer,process scheduling management layer and page rendering layer.The functions of each layer are introduced.In order to integrate better with No Dom JS,the modules of the front-end framework are reconstructed to ensure the correct execution of business logic in the front-end modules.The design idea is close to No Dom JS,reducing the learning cost of developers using the workflow engine.Finally,the comprehensive testing of the workflow engine and the application of the workflow engine combined with the front-end framework are completed.Test the engine with code quality inspection tools and automated testing tools.The test results show that the workflow engine is complete and can meet the development of business processes in the application,and solves the problem of a lot of code refactoring due to changes in business logic.
Keywords/Search Tags:Business process, Workflow engine, Front-end framework, Business process modeling, Business process similarity
PDF Full Text Request
Related items