摘要 |
<p>A method and device for constructing a web application. The method for constructing a web application comprises: obtaining construction configuration information, the construction configuration information comprising module information of an application and construction task information of each module; loading a task chain for each module of the application according to the construction configuration information, and constructing the task chain for each module; and executing each task chain successively, and executing each task in a current task chain successively. By means of the technical solutions in embodiments of the present invention, a construction process of a web application can be conveniently and rapidly completed, and after a new module is added to a web application, the construction process can be conveniently added in an incremental manner based on a constructed task without reconstruction, thereby lowering the implementation complexity and improving the development efficiency.</p> |