You are here: Re: Form validation « PHP Programming Language « IT news, forums, messages
Re: Form validation

Posted by Jerim79 on 11/13/06 15:08

Geoff Berrow wrote:
> Message-ID: <1163196797.736817.324440@m7g2000cwm.googlegroups.com> from
> Jerim79 contained the following:
>
> >The question I have is, is this an "acceptable" way to handle error
> >messages. Being quite new to PHP I don't know what to make of this
> >method.
>
>
> That's very subjective. It may not be terribly elegant but it also may
> be that this solution makes it clear to see what is going on.
>
> In judging 'acceptability' factors to consider are:
>
> Is the code secure, independent of user configuration?
> Does the code use significantly more resources than it should?
> Is the code easy to follow, maintain and update?
> Is the solution good and clear from the user's point of view?
>
>
>
> --
> Geoff Berrow (put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDs http://www.ckdog.co.uk/rfdmaker/

How can you determine the resources that the code will use? Is there a
measurable way to determine which code is more "efficient" in terms of
resources?

You ask if the code is easy to follow, maintain and update? I would say
that yes, it is, since even a beginner like myself figured out what the
code was doing. However, certainly in any language there may be faster,
harder to understand shortcuts to any solution that a beginner may not
be aware of. Should we always strive to use a simpler method that
everyone can figure out, or should we look to use the most advanced
techniques that may be more efficient but alienate younger, less
experienced programmers?

 

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

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