Re: XFORM -> QuickForm?

From: Date: Fri, 13 Feb 2004 13:17:12 +0000
Subject: Re: XFORM -> QuickForm?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-10677@lists.php.net to get a copy of this message
<aidan@virtualexplorer.com.au> wrote : > I'm not sure if anyone is familiar with XFORMS (w3 spec), but it'd be pretty > awesome to design a form in XFORM and implement it with QuickForm - what do > people think? Indeed, it would be awesome :) But the amount of work required to convert an XForm document to an HTML form is not worth the price. During the conversion, you will loose most of what makes Xforms interesting: events, repeat elements, xml schema validation. More interesting would be to create our own XML schema, based on Xforms why not, that would get rid of everything that makes Xforms too complex and not really usable in my eyes. There are already been some reflexion work done on this topic but no code so far, only ideas and XML examples. We gathered them in a wiki which I can give you the url if you are interested to work on it. So far, the main directions have been to make two documents, an XML model document, used for the datasource definition, and an XML view document, used for form building/rendering. Those document would be parsed by XML_Transformer into QuickForm pages and elements. At the moment, Alexey and I are working on a repeat element, that would allow to repeat a group of elements in a form. It is still vaporware, just like the builder, because it is quite complex and we don't have much time. Feel free to share your ideas if you already thought about the topic. Bertrand Mansion Mamasam

« previous php.pear.general (#10677) next »