Re: Forum hacks
| From: | Luc Saint-Elie | Date: | Tue, 16 Oct 2001 15:49:15 +0000 |
| Subject: | Re: Forum hacks | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-2315@lists.php.net to get a copy of this message | ||
En réponse à Joao Prado Maia <jpm@phpbrasil.com>:
Joao,
There is probably a misunderstanding because its exactly what we where
discussing about :
Avoiding any HTML ! !
The question of the messages is more complex because PEAR::BD returns error
messages that are not linked to the specific web site but are programmatic or
technical errors.
In a user class youll have error that doesnt come from a program (or a
database ) error but form the web site strategy (for example you may want to
have a website where Garbage Can is not a allowed user name.... And Im not a
PEAR error management specialist but I suppose that "the user name Garbage Can
is invalid please choose another one is not part of the standard set of error
values ;-))
Bu perhaps am I wrong....
So it is a little bit complex probably (not sure) to be completely generic
without "human text" message
I gave my version of Tim Perdue Script as an example of which kind of
functionality can be found in a « user management » script (by the way this is
a set of functions not a class ..) its a real life one that is certainly not a
programmer deam, but it works very well.
Of course the way it will be implemented is not T. Perdues ;- )
But there are some very good ideas in his script....
Did you read the list of functionally I posted ? if you have any idea ,
criticism or addition they are welcome
I do agree about comparing this to BD.
And by the way, youre very welcome aboard ;-)
Luc