With the rapid development of the computer network,people put forward more and more requirements about the interfaces of systems.In processes of the WEB project development,because the requirement of users’pages is variable,this greatly increases the complexity and flexibility of the project development for developers,and because the reusability of the writing which is about the page access control is poor,so developers urgently need a kind way which is very standard and is easier to modify to develop software.In order to shorten time about developing the WEB application system,improving develop efficiency,reducing the number of writing the duplicate code,a series of user interface design and automatic generation arises at the historic moment.The main idea of the design is separating the design of the interface from the design of function,and is automatically generating the code of the interface through the interface description model.Among these design,because the design based on the model has high ion layers about description of the interface,reuses the design of the interface,and has other superiority,it is highlighted and become a research hotspot.For the problems about writing duplication of code and be difficult to modify that encounter in the process of the project development,from the user’s perspective,based on the FMP models,this paper put forward a kind of automatic code generation technology based on the interaction of the user demand.Firstly this introduce research background and research status of the technology about automatic generation of the user interface,discuss basic concept,the technology of interface generation and its description method which are related to the research.Then this paper focuses on the design process of interface generation model based on the interaction about the user,this model is composed of requirement model,interaction model and display model,separately introduce the design process of the three pare in detail.Next this paper states the technology which is used to realize the automatic generation interface and the corresponding code generation algorithm.Finally,this paper adds page judgment mechanisms to the generated page,and in the end realizes the object that converts the model to the code of interface,realizes the automatic generation of code under the ASP.NET environment.This paper emphasis on the state of the research about the Web interface model design method and the corresponding code automatic generation method.Experiments show that because of combining with the needs of user,the method that is described in this paper has strong flexibility during the development process of Web user interface,and improve the efficiency and reusability of page automatic generation. |