|
Posted by Jerry Stuckle on 02/25/07 14:18
Andrew Taylor wrote:
> I've been struggling for a long time with HTML_Quickform from PEAR. The
> concept is ideal, but, the implementation is (IMHO) a bit of a kludge.
>
> As a developer I want a quick and easy way to generate/validate/process
> forms without hand hacking HTML, however, I also want it to be easy to
> do! The HTML_Quickform method seems to require more work than it should
> and whenever you start getting really complicated forms, the hassle
> starts to outweigh the benefits.
>
> I know XForm is currently lacking client-side support, but, with the
> implemtation of decent XML parsing functions on PHP5 I'm suprised by the
> lack of uptake in this area. XForm would be an ideal way of managing the
> process, extremely lightweight XML that can be processed on the
> server-side and sent as standard HTML to the client. Once the
> client-side support picks up then you can just present the original XML
> and no-need to re-code your app.
>
> Are there some projects that perhaps I haven't found? I noticed they're
> working on HTML_Quickform2 to make up PHP5 compatibility, surely a
> better solution would be to push forward with Xforms? Or is it more
> policital, I know XForms have been around a while, is there something
> stopping them getting the support they need.
>
> Any comments?
>
> Andrew
>
Andrew,
I just find it easier to write the HTML code. It isn't that hard, and
it goes pretty quickly. And I have yet to find any form generation
software which gives me the control I need over them (also, I use a lot
of CSS).
Code to do validation doesn't help at all, either - since I use a lot of
classes and do the validation at the class level.
I've tried a couple of generators in the past, and found they take me
almost twice as long to get the same effect as just doing it myself.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|