Form designer on-line is designed and implemented by principle analysis on the implementing dynamic form .Form designer uses Bootstrap framework. Dynamic Form designer realize form storage function through making various data items assemble into speciifc string, then database storages the corresponding data items. Reading ifeld from database ,making it assemble into speciifc string and reading the string ,reducing it to form style. That is the simple replacement type template engine.%通过分析动态表单的实现原理,采用Bootstrap前端框架设计并实现了在线表单设计器。动态表单设计器是将用户待填写表单中的各种数据项组成特定格式的字符串,再将字符串存储到数据库相应的字段中以实现表单结构信息保存的功能。从数据库中读取字段,再拼接成指定格式的字符串,并对其读取解析还原成表单的样式,即简单的置换型模板引擎。
展开▼