Page 1 of 1

The effective implementations of Xforms

Posted: Fri Apr 25, 2008 4:18 pm
by kendall
Hey guys...As a programmer I find it sometimes a task when using and creating forms... i have heard of xforms since i started learning about xml but i never got any kind of buzz from the php community on its use and effectiveness....SO i ask...

How many of you guys use XForms as a new means of PHP/ Form creation? Is Xforms effective? In what way? what significant roles does it play with PHP?

I am trying to get into the whole XML thing and XForms seems like a nice tool for simple applications where I develop and create multiple forms and triggers. Can anyone recommend a "starting" point if i want to learn about implementing Xforms in my development approaches? Thats of course it is a feasable approach to "application" development...you know CMS....admin interfaces...

Kendall

Re: The effective implementations of Xforms

Posted: Sat Apr 26, 2008 1:47 am
by Kieran Huggins
http://www.w3schools.com/xforms/default.asp
it's all I can recommend, since xforms is still poorly supported.

Re: The effective implementations of Xforms

Posted: Sun Apr 27, 2008 5:48 pm
by Ambush Commander
So, XForms isn't supported by most browsers (firefox has an extension, but obviously you can't rely on that). That gives you two options:

1. Emulate XForms functionality using a Js library
2. Transform XForms into regular forms server-side and serve that. You'll still need js.

Most people have found it isn't worth the trouble, although I really like some of the widgets XForms provides.