RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-27 Thread Zeev Suraski
At 02:27 27/11/2002, Stig S. Bakken wrote: Let's try being realistic, and focus on the quick wins first, such as good error codes. Go Stig. Zeev -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
On 27 Nov 2002 01:27:18 +0100 "Stig S. Bakken" <[EMAIL PROTECTED]> wrote: > If someone wants help on php-general and their error message is in Urdu, > then too bad. Companies like IBM and Oracle has solved this problem by > introducing more complex error codes (such as "0123-456 File not > foun

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 05:04, John Coggeshall wrote: > >I had wanted to avoid this whole thread, but decided to read this one > >message, and ouch. While I'm all for internationalization in general, > >I'm realy not all for using xml wherever possible just because it can > >be. There are existi

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Stig S. Bakken
On Tue, 2002-11-26 at 04:21, Shane Caraveo wrote: > > I am completely +1 to the concept of taking error codes out of the PHP > > core and replacing them with an XML document, period. > > > I had wanted to avoid this whole thread, but decided to read this one > message, and ouch. While I'm all

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Edin Kadribasic
On Tue, 26 Nov 2002, Sascha Schumann wrote: > > This is not FUD. He brought up the issue of M$ practises. And I didn't > > hear you answer the question about why is "parse error" more difficult to > > understand than "register_shutdown_function"? > > You need to learn a bit about writing good

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Sascha Schumann
> This is not FUD. He brought up the issue of M$ practises. And I didn't > hear you answer the question about why is "parse error" more difficult to > understand than "register_shutdown_function"? You need to learn a bit about writing good compilers. It is easy to write a compiler; it is

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Edin Kadribasic
On Tue, 26 Nov 2002, Sascha Schumann wrote: > > Billy tried localizing programming languages as well. Remember Excel > > 95? It ended up in complete disaster and was removed in the next > > office version. > > The language won't chance. Stop the FUD. This is not FUD. He brought up the issue

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Sascha Schumann
> Billy tried localizing programming languages as well. Remember Excel > 95? It ended up in complete disaster and was removed in the next > office version. The language won't chance. Stop the FUD. - Sascha -- PHP Development Mailing List To unsubscribe, visit: http

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Andrey Hristov
> > I've seen a big poster in my local Fullbright foundation represantive. > > It says something like : "One of every four people on the earth knows some > > English". > > > Why does Billy localize M$ windows then? And, most importantly, what > would he sell without doing it? Remember, his us

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
[EMAIL PROTECTED] (Marcus Börger) wrote... : > At 10:14 26.11.2002, Derick Rethans wrote: > >On Tue, 26 Nov 2002, John Coggeshall wrote: > > > > > > > > Maxim (and anyone else who is interested) > > > > > > Shall we try to get a patch for this working then? I'm thinking perhaps > > > starting off

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Edin Kadribasic
> > I've seen a big poster in my local Fullbright foundation represantive. > > It says something like : "One of every four people on the earth knows some > > English". > > Why does Billy localize M$ windows then? And, most importantly, what > would he sell without doing it? Remember, his users kno

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
"Andrey Hristov" <[EMAIL PROTECTED]> wrote... : > I've seen a big poster in my local Fullbright foundation represantive. > It says something like : "One of every four people on the earth knows some > English". Why does Billy localize M$ windows then? And, most importantly, what would he sell wi

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
Sent: Monday, November 25, 2002 11:29 PM > >To: Shane Caraveo > >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Maxim Maletsky'; > >'PHP Developers Mailing List' > >Subject: Re: [PHP-DEV] Error Codes, Langs, etc > > > > > >> cats or gettex

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
Again, XML was my throw to this thread. I intuitively thought of XML because it would help connecting the PHP error reporting to the official documentaion. Don't you think it would be helpful? Of course there are work-arounds for that too. -- Maxim Maletsky [EMAIL PROTECTED] "John Coggeshall

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
Well, yes, if it is not XML it can still work. A thought here is - to connect built-in errors to the documentation, which is where XML would help. -- Maxim Maletsky [EMAIL PROTECTED] Shane Caraveo <[EMAIL PROTECTED]> wrote... : > > I am completely +1 to the concept of taking error codes out

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Maxim Maletsky
"John Coggeshall" <[EMAIL PROTECTED]> wrote... : > > Wow.. > > Alrighty... I've read through all of this stuff -- everyone seems to > have quite a strong opinion on this one :) Since I kinda brought it up > with Maxim, let me provide a concept of implementation and defend it... > I'd of cour

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Marcus Börger
At 10:14 26.11.2002, Derick Rethans wrote: On Tue, 26 Nov 2002, John Coggeshall wrote: > > Maxim (and anyone else who is interested) > > Shall we try to get a patch for this working then? I'm thinking perhaps > starting off with an XML file defining the error messages, which is > converted to a c

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Andrey Hristov
I've seen a big poster in my local Fullbright foundation represantive. It says something like : "One of every four people on the earth knows some English". Andrey -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Derick Rethans
On Tue, 26 Nov 2002, John Coggeshall wrote: > > Maxim (and anyone else who is interested) > > Shall we try to get a patch for this working then? I'm thinking perhaps > starting off with an XML file defining the error messages, which is > converted to a cdb for actual use. Waste of time Derick

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-26 Thread Derick Rethans
On Mon, 25 Nov 2002, John Coggeshall wrote: > I am completely +1 to the concept of taking error codes out of the PHP > core and replacing them with an XML document, period. I say this > regardless of language considerations -- I just think for everyone > involved having a XML document which contro

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Sascha Schumann
> Why? The error messages are for the developer, not the masses. But Imagine someone using his web-hoster's environment for debugging purposes. This affects the masses. > generaly I agree with using something else. More the point is that > stuff exists, techniques exist, no need to re

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Shane Caraveo
Sascha Schumann wrote: >cats or gettext comes to mind. Neither are usable, though, because PHP would need to support multiple concurrent message catalogues on a per-thread base. gettext/catgets associate exactly one language with each process through the use of environment varia

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread John Coggeshall
ha Schumann [mailto:[EMAIL PROTECTED]] >Sent: Monday, November 25, 2002 11:29 PM >To: Shane Caraveo >Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; 'Maxim Maletsky'; >'PHP Developers Mailing List' >Subject: Re: [PHP-DEV] Error Codes, Langs, etc > > >>

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Sascha Schumann
> cats or gettext comes to mind. Neither are usable, though, because PHP would need to support multiple concurrent message catalogues on a per-thread base. gettext/catgets associate exactly one language with each process through the use of environment variables, so that they ca

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Shane Caraveo
John Coggeshall wrote: >I am definitely -1 for this idea. XML is a buzzword, it is >good in some cases >not so good in others, definitely not a one size fits all >solution. In PHP's >case it would add decency on an XML parser, make life of >developers adding, >modifying, removing error messages d

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread John Coggeshall
>I had wanted to avoid this whole thread, but decided to read this one >message, and ouch. While I'm all for internationalization in general, >I'm realy not all for using xml wherever possible just because it can >be. There are existing techniques and libraries designed for >this, find >one

RE: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread John Coggeshall
>I am definitely -1 for this idea. XML is a buzzword, it is >good in some cases >not so good in others, definitely not a one size fits all >solution. In PHP's >case it would add decency on an XML parser, make life of >developers adding, >modifying, removing error messages difficult and just l

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Sascha Schumann
On Mon, 25 Nov 2002, Shane Caraveo wrote: > > I am completely +1 to the concept of taking error codes out of the PHP > > core and replacing them with an XML document, period. > > > I had wanted to avoid this whole thread, but decided to read this one > message, and ouch. While I'm all for interna

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Ilia A.
On November 25, 2002 09:52 pm, John Coggeshall wrote: > I am completely +1 to the concept of taking error codes out of the PHP > core and replacing them with an XML document, period. I say this > regardless of language considerations -- I just think for everyone > involved having a XML document whi

Re: [PHP-DEV] Error Codes, Langs, etc

2002-11-25 Thread Shane Caraveo
I am completely +1 to the concept of taking error codes out of the PHP core and replacing them with an XML document, period. I had wanted to avoid this whole thread, but decided to read this one message, and ouch. While I'm all for internationalization in general, I'm realy not all for using