Method for agile development of front-end page codes
The invention discloses a method for agile development of front-end page codes, which comprises the following steps: S1, firstly, designing common components, and constructing a front-end page component database with different component elements; s2, filling contents according to a preset template a...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method for agile development of front-end page codes, which comprises the following steps: S1, firstly, designing common components, and constructing a front-end page component database with different component elements; s2, filling contents according to a preset template and different businesses; s3, uploading a template, analyzing according to a file analysis rule, and generating template data; s4, the service real-time data automatically generates page JSON data according to the template; and S5, calling different JSON data according to the calling request, and splicing the JSON data to a page. According to the method, a dynamic page splicing mode is adopted, page writing is completed according to the template, and the technical problems of low code generation efficiency and large workload are solved.
本发明公开了一种前端页面代码敏捷开发的方法,包括以下步骤:S1、首先对常见的组件进行设计,构建带有不同组件元素的前端页面组件数据库;S2、根据预设的模板、根据不同业务填充内容;S3、上传模板,根据文件解析规则解析,生成模板数据;S4、业务实时数据根据模板自动生成页面JSON数据;S5、根据调用请求调取不同的JSON数据拼接到页面。本发明采用动态拼接页面的方式,根 |
---|