views:

49

answers:

4

I'm looking for information to choose a XML for User Interface Definition to build UI in new project. The project's objective is running in both web and desktop environments and support cross-platform. Therefore I focus on XUL and XForms but I'm not familiar with the XForms. Please give me some advices, what are cons and pros and the future of them. Thank you.

A: 

I would go with MXML (Adobe Flex). It could be both a flash (browser) and air application (desktop).

Zack
A: 

XForms is more and more popular now because there are cross-browser implementations such as XSLTForms and Ubiquity XForms which don't require to install anything.

Alain Couthures
A: 

I would avoid XUL since it's Firefox-only and is going to be dropped for Firefox 4.0.

sdwilsh
Thank for the information. I'm still learning about XForms but it seems to work with web environment only. I've found Apogée, a SWT XForms engine, but still being developed. So which engine can dynamically generate the desktop forms GUI and validate data?
langxangvn
HTML would work too. It works on the web, and on the desktop (by either using local pages, or running it inside xulrunner).
sdwilsh
To be clear, *remote* (web-delivered) XUL support is being dropped, which has basically not been supported for a long time. Firefox is BUILT using XUL, so it most certainly is not being dropped.
pc1oad1etter
A: 

If you wish to retain the "web" portion of your project, and if by that you mean that it runs in any browser, XUL is not an option. You can use it as a Firefox extension, or you can build a stand-alone application (not running in a browser) with XUL, but it is not a technology for building a UI across browsers.

pc1oad1etter