Re: [PATCH] Redirect on Error
| From: | Maxim Maletsky | Date: | Tue, 26 Nov 2002 11:01:35 +0000 |
| Subject: | Re: [PATCH] Redirect on Error | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91697@lists.php.net to get a copy of this message | ||
I apologize for shouting, didn't mean to be offensive. What I want to
say is that error messages are string and should, IMHO, be reference
instead of hardcoded in the C code.
--
Maxim Maletsky
maxim@php.net
Derick Rethans <derick@php.net> wrote... :
> On Tue, 26 Nov 2002, Maxim Maletsky wrote:
>
> > "Ilia A." <ilia@prohost.org> wrote... :
> >
> > > If my co-workers and I cannot communicate in the same language we will
> > > probably go our separate ways within a week. Afterall, how can we work
> > > together if we don't have a common language between us.
> > > By the way, could you please advise by how much I will need to increase the
> > > power of my server(s) to maintain the same level of performance?
> >
> > nah... not really. I, at work, have my OS, keyboard and everything else
> > set in en-us, while everyone else in Italian. Of course - this is the
> > Ministry of Economy and Finance of Italy :)
> >
> > This is not the point yet. A team sets the language in php.ini, who
> > needs it different can alter it.
>
>
> > > Let's consider the
> > > process, a developer decides to add sanity check with a warning. They write
> > > the code and now need to modify an XML file with an error message, reference
> > > the XML entry from their code. Commit all this to CVS and hope they did not
> > > messup.
> >
> > Yup.
>
> I don't think so.
>
> >
> > > Also, how and when XML parsing will be merged inserted into C code? Won't you
> > > be adding an XML parser decency to PHP?
> >
> > This is something to have discussed. I am definitely not the best guy to
> > know what is better for this case. My only point is this:
> >
> > ERROR STRINGS **OUT** OF THE C CODE!
>
> NO WAY. And don't shout on the mailinglist.
>
> Derick
>
> --
>
> -------------------------------------------------------------------------
> Derick Rethans
> http://derickrethans.nl/
> PHP Magazine - PHP Magazine for Professionals
> http://php-mag.net/
> -------------------------------------------------------------------------
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>