本文介绍了有人在他们的 Web 应用程序中使用 XForms 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

几年前,我们开始使用来自 W3C 的 XForms 用于 Web 应用程序这需要数百个自定义表单.

A few years ago we started playing around with XForms from the W3C for a web app which required hundreds of custom forms.

由于目前主流浏览器本身不支持它们,您现在在项目中使用哪些解析器/工具?

As they aren't currently supported natively by the major browsers, what parsers/tools are you using on your projects today?

我对插件并不真正感兴趣 - 这需要是模拟 XForms 的服务器端.

I'm not really interested in plugins - this needs to be something server side that emulates XForms.

推荐答案

我们使用 XForms 为基于 SOAP 的 Web 服务创建用户界面.目前我们使用 Chiba XForms 引擎 (http://chiba.sourceforge.net/),但是 Orbeon(http://www.orbeon.com/)实际上看起来更成熟.两者都是服务器端引擎,可将 XForms 即时转换为 HTML.验证是在 AJAX 的帮助下在服务器端执行的.这对服务器提出了很高的要求,因此在创建流量大的站点时,我不会押注这些引擎.替代方案在 XForms 维基百科页面上有详细记录:http://en.wikipedia.org/wiki/XForms.

We use XForms for creating user interfaces for SOAP-based web services. Currently we settled with Chiba XForms engine (http://chiba.sourceforge.net/), but Orbeon (http://www.orbeon.com/) actually seems more mature. Both are server-side engines, which convert XForms into HTML on the fly. The validation is performed on server side with the help of AJAX. This puts quite high demands on the server, so I wouldn't bet on those engines when creating sites with heavy traffic. Alternatives are well documented on XForms Wikipedia page: http://en.wikipedia.org/wiki/XForms.

这篇关于有人在他们的 Web 应用程序中使用 XForms 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!