Hi,
Douglas Humphris said >
> > There is an open source specification very similar to XFORMS,
> XUL which is a UI markup language (eXtensible User interface
> Language or something like that)
XUL is very different to xForms
xForm defines a form abstractly from the interface. So for example
<choices>
<item>
<label xml:lang="fr">Cash</label>
<value>cash</value>
</item>
<item>
<label xml:lang="fr">Carte bancaire</label>
<value>credit</value>
</item>
</choices>
<choice> in this example, has no implicit UI element associated with it. In
a web browser, currently, it may be rendered as
a <select ..>
<option value="credit">Carte bancaire</option>
but on a voice based phone interface to this form might be rendered as
"For Carte - bancaire press 01"
"For Cash - press 02 "
xForms really doesn't care how <xform:choices> is rendered.
on the other hand -
XUL is language for defining how things look, ie its the User Interface bit
of the XPFE / XPCOM cross platform toolkit.
Mozilla is written in XUL itself, so us the mail client etc..
XUL is bound to XPCOM/XPFE using JavaScript. You can use CSS to change the
style of the XUL User Interface.
XPCOM is a x-platform COM type language; you can write xpCOM objects in C++
or python, perl, which you then
can call from your XUL front-end using JavaScript. And it will work on any
platform that supports Mozilla.
So the are very different things.. but both quite cool.
Regards
Justin MacCarthy
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]