我突然想到,我工作的很大一部分实际上只是一遍又一遍地构建相同的东西。
这些是基本复杂的多页表单,例如按揭申请、保险等
是否有针对此类事情的通用/使用良好的模型?我不在乎使用什么语言/技术。我在理想情况下认为 XML/语言中立。
最佳答案
您还可以使用 http://www.springsource.org/spring-web-flow :
Spring Web Flow is a Spring MVC extension that allows implementing the "flows" of a web application. A flow encapsulates a sequence of steps that guide a user through the execution of some business task. It spans multiple HTTP requests, has state, deals with transactional data, is reusable, and may be dynamic and long-running in nature.
它也完美集成在 Groovy & Grails 中(Webflow Doc)。 Groovy 是 Java 的类似脚本的扩展,而 Grails 是使用 Spring、Hibernate 等其他东西的网络框架。
关于html - 如何使用条件分支为复杂的多页表单建模?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10853422/