Re: Log4P Project Class Names
| From: | Will Fitch | Date: | Mon, 30 Jul 2007 18:57:17 +0000 |
| Subject: | Re: Log4P Project Class Names | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31327@lists.php.net to get a copy of this message | ||
Thanks, Marcus. I finally found this documentation on PECL by using Google
site:pecl.php.net.
I appreciate the insight.
On 7/30/07, Marcus Boerger <helly@php.net> wrote:
>
> Hello Will,
>
>
> our CODING_STANDARDS says: Classes should be given descriptive
> names...Each word should start with a capital letter...without
> underscores...The class name should be prefixed with the 'parent set' (e.g.
> the name of the extension)).
>
>
> -> Log4PLogger or Log4pLogger
>
>
> marcus
>
>
> Thursday, July 26, 2007, 1:20:46 AM, you wrote:
>
>
> >
>
> Hello All,
>
>
>
> I am continuing my Log4J implementation for PHP. There are some naming
> conventions which I am concerned will cause existing userspace class issues.
> If you are familiar with Log4J, the following example class names won't be
> new to you:
>
>
>
> Agent
>
> Logger
>
> Appender
>
> Constants
>
> FileAppender
>
>
>
> And the list goes on. I have attached a text file with all 1.4specifications of log4j. I
> considered log4p_* as a prefix for all class
> names, but I am concerned for Java developers moving to PHP who are familiar
> with the standard already in place.
>
>
>
> If you have any insight into this issue, I would appreciate feedback.
>
>
>
> Thanks,
>
>
>
> Will Fitch
>
> Zend Certified
> Engineer<http://www.zend.com/store/education/certification/authenticate.php?ClientCandidateID=ZEND001989&RegistrationID=211155268>
>
>
>
>
>
> Best regards,
>
> Marcus
>
--
Will Fitch
Zend Certified Engineer
931.205.8427