Re: Trying to catch up

From: Date: Mon, 16 Oct 2000 21:06:18 +0000
Subject: Re: Trying to catch up
Groups: php.pear 
Request: Send a blank email to php-pear+get-391@lists.php.net to get a copy of this message
Quoting Wolfram Kriesing <wolfram@kriesing.de>: > ----writing logfiles from an application, error.log, etc. > to keep track of my application, it's errors, etc. > the problems might be to coordinate the multiple > access if a hundreds of entries shall be made at once, > because the application is highly frequented > may be this class should work together with some > exception/error class Please take a look at the attached tarball containg the Log class hierarchy we're currently using in the development version of Horde and see how close it is to what you need, and how extensible it is to what you need. > ----multilingual support, kind of like the LOCALES > as known from java, although my main focus actually > was intended to provide a class which automates > translation, like i have a function called > $translate->get(SOME_TEXT_CONSTANT); > which then gets the text in the current language, which > can be set before by using > $translate->language = 'ISO constants for language' > anyway i still think it makes sense to use a kind of > class as provided by java (and extend it IF necessary) gettext provides translation, and I'd hate to see us write a class to handle this when it does the job very well already... > i would like to discuss here > - what other classes are suggested I'm going to submit a set of Mail classes as soon as I clean them up and comment them, etc. Maybe I'll submit the code in a few minutes just to get it out there... > - if we should stick to some other concept as the java concept? > or some other language or library, as once was said here > may be CPAN I think java is the wrong model for the class library since in java _everything_ is a class, and not so in PHP. Java is good for design issues, and CPAN is also a good model. I also think that either we need to encourage a rather flat class tree, or we need namespaces. -chuck -- Charles Hagenbuch, <chuck@horde.org> Many states consider gambling so immoral that they not only prohibit private gambling organizations, they thoughtfully provide their own.

« previous php.pear (#391) next »