Re: RE: Form.php - why returnStart ?
| From: | (Mikhail Zabaluev) | Date: | Sat, 27 Jan 2001 00:19:31 +0000 |
| Subject: | Re: RE: Form.php - why returnStart ? | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1195@lists.php.net to get a copy of this message | ||
Hello Urs,
On Tue, Jan 23, 2001 at 16:18 +0100, Urs Gehrig wrote:
>
> dear bertrand
>
> > Reading the code of that class, I couldn't figure out why there were start
> > and returnStart functions ? I may be mistaken but I think these two
> ... my intetions with the return*() functions in the HTML_Form class was to
> use them together with templates, where you do not want to print out the
> form fields directly as html, but want to return a string variable.
>
> > functions could be put in just one ? Or maybe I am wrong and then
> ... this should allow most flexible use for many different applications.
>
> > In the code, this supposes I have created a table and I want my header
> > beside my text field (which is how it is most of the time) but if
> ... that's probably, where you begin to limit the class to some certain
> applications. i have never been so flexible and fast designing forms as
> with this class ;)
You could be even more fast if you could build forms from XML descriptions
like I do. Also, mixing output functionality with core representation of a
form sucks IMHO. There should be configurable and extensible
faces/frontends/etc.
--
Stay tuned,
MhZ mailto:mookid@sigent.ru
-----------
"I'm not afraid of dying, I just don't want to be there when it happens."
-- Woody Allen