HTML_QuickForm2 Current Status and Use

From: Date: Wed, 07 Nov 2007 20:22:35 +0000
Subject: HTML_QuickForm2 Current Status and Use
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28165@lists.php.net to get a copy of this message
I asked the lead of HTML_QuickForm2 for advice and one suggested i post to pear-general so here it is: On 11/7/07, Alexey Borzov wrote: > > Hi, > > First of all, it is a good idea to ask such questions in pear-general, > since you > are definitely not the only person interested in answers. > > Dennis Fogg wrote: > > I'm building a form-builder module for my php5 web app and trying to > > figure out if i should build it from scratch or use HTML_QuickForm2. > > > > I'm wondering if i can get your opinion and advice on it. > > Specifically: > > > > -is the HTML_QuickForm2 api compatible with HTML_QuickForm? ie: can i > > run my old HTML_QuickForm code using HTML_QuickForm2? > > That would solve the documentation problem! > > No. The APIs are different. > > > -any docs or examples of use for HTML_QuickForm2 ? > > For the original HTML_QuickForm, i used: > > http://midnighthax.com/quickform.php > > I am not aware of any third-party docs. You can consult the API docs built > by > phpDocumentor here: http://quickform.mamasam.com/docs/ and look > at the > usage > examples installed alongside the package. > > > -is HTML_QuickForm2 api (parts that have been exposed) stable and not > > likely to change much from now to v1.0? > > Can't promise anything at this point... We may still change the API, > especially > if it will make adding new features easier. The package is at alpha for a > reason, you know. > > > -any advice one way or the other? > > Well, if you are comfortable with the bleeding edge, you can definitely > start > using HTML_QuickForm2 now. Bear in mind that you *may* need to change your > scripts if the API changes. Also please understand that there won't be > end-user > docs until at least beta. And, last but not least, there is still a huge > part of > functionality missing in QuickForm2. It will be a lot more usable when we > do > renderers, but it'll take a couple more months. And: Le 7 nov. 07 à 11:08, Dennis Fogg a écrit : > PS: I also looked at the unit tests to see if i could find some > complete examples of using HTML_QuickForm2 but could not > find anything there. If you have pointers to good examples, that > would be > great! There are only two examples at the moment: http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm2/docs/examples/ >> I'm wondering if I can get your opinion on using HTML_QuickForm2 >> in it's >> current state. It's still alpha code so the API might change although we are happy with what we have so far, so what's in at he moment won't change much in the future I think. >> I'm building a form-builder module for my php5 web app and trying to >> figure out if i should build it from scratch or use HTML_QuickForm2. Building a webform package is long and a pain in the back :) >> -is the HTML_QuickForm2 api compatible with HTML_QuickForm? ie: >> can i >> run my old HTML_QuickForm code using HTML_QuickForm2? >> That would solve the documentation problem! APIs are not compatible because QF2 API is much better and consistent IMO. >> -any advice one way or the other? Writing your own is going to take you quite some time. Waiting for ours is also going to take quite some time since we are all busy at the moment with professional projects. There is a wiki with lots of information about QF2: http://quickform.mamasam.com/wiki/ And here is the roadmap: http://quickform.mamasam.com/wiki/milestones Best regards, -- Bertrand Mansion Mamasam Work : http://www.mamasam.com Blog : http://golgote.freeflux.net

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