You are here: Re: PHP Web Controls « PHP Programming Language « IT news, forums, messages
Re: PHP Web Controls

Posted by Toby A Inkster on 05/02/07 20:54

Areric wrote:

> I was wondering, in general, do people ever follow a similar pattern
> when writing PHP4+ code?

Sometimes, sometimes not. They can be useful for projects when you need to
write a lot of forms. For just a small, one-off form though, they're often
more trouble that they're worth.

There are a few pre-written form libraries here:
http://pear.php.net/packages.php?catpid=10&catname=HTML

And I've written one here:
http://demiblog.org/etc/forms

It's good for tab-based forms -- see the comments form on my website. It's
far from complete -- the most significant missing feature is the ability
to feed back error messages from server-side validation. It has a few nice
features though, like client-side validation backed up by revalidation on
the server.

This is somewhat more complete:
http://tobyinkster.co.uk/blog/2005/11/12/form-functions/

It's more suited towards long surveys.

--
Toby A Inkster BSc (Hons) ARCS
http://tobyinkster.co.uk/
Geek of ~ HTML/SQL/Perl/PHP/Python/Apache/Linux

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация