Re: New form-class to PEAR

From: Date: Tue, 04 Sep 2001 21:13:59 +0000
Subject: Re: New form-class to PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1805@lists.php.net to get a copy of this message
Jonas > I have taken a view at the table-class and I'm very excited. > Then I looked at the form-class and got very disappointed. In my oppinion it > is completely wrong written. i think you´re rigth... the Form Class is not fine... > Especially 2 things: > - the form-class takes a lot of arguments, and not arrays, which reduce the > developers freedom to give a form and it's elements the attributes he wants > to. > - the form doesn't have a toHTML() function. > > Because of all this, I dicided to write a new class, but because i didn't > expect to replace the old one (because of backwards incompability) I'd named > it 'arrForm'. i wonder why you didn´t use other classes for the other HTML elements (texts, URLs, textbox, buttons)... Using other classes, the system will have a good OO Design... and will be a more powerful solution !! > I have placed it at http://delfs.dk/arrForm.phps > Because I'm very new at developing for PEAR I would like some respons, and > some guide to how I add this to the CVS etc. i don´t know anything about it... and i´m really interested in the answer to your question !! 8-) jaime

« previous php.pear.dev (#1805) next »