| With the development of computer and information technology,more and more enterprises and schools will manage information through the web application.In the traditional program development,the front-end work is only a small part.But with the progress of browser and the increase of user demand,there are more and more requests for front-end in development.The traditional front-end development model has been unable to adapt to the complexity of applications,making the developed system difficult to use and difficult to maintain.This article proposes the use of front-end framework to assist in the development of front-end development.The front frame design includes two parts:UI framework and template framework.The UI framework is based on the latest front-end technology,which combines and encapsulates front-end styles,page layouts and common component plug-ins,so that developers can build pages.The template framework uses the design idea of MVVM to implement the decoupling of the page presentation layer and the data layer,helping the front end developers to build the data driven pages.The use of the framework enables front-end developers to quickly and efficiently build front-end pages with beautiful style,complete functionality and good compatibility.At the same time,the developers appear before and after the end of collaborative development problems in using the framework before and after the end of separation to develop ways to improve the development efficiency,the developer can focus on the page display,realize the background of developers to focus on business logic.After the framework is completed,it is delivered to developers.Practice has shown that the front-end framework designed and implemented in this paper can help developers work better and provide support for SME front-end development. |