Re: Migration guidelines

From: Date: Sat, 14 Feb 2004 13:21:50 +0000
Subject: Re: Migration guidelines
References: 1  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-530@lists.php.net to get a copy of this message
On 14 Feb 2004 at 13:15, Lukas Smith wrote: > Tobias Schlitt wrote: > > > I guess setting up some migration guidelines would be a good idea. > > In respect to PHP5 code we can preset some new coding standards and > > (hopefully) adjust some of the old ones slidely. Here is, what I > > propose to take care of in those "PHP5 migration and coding > > guidelines" and how the should be realized. > > > > Everything in this mail is naturally IMHO. > > > > The regulation of PHP5 migration aspects is an essential task for > > QA. Since not all o PEAR codingstandards (CS) will be necessary and > > some of them have to be changed for that migration, I propose to > > build up a new version of the CS and to give developers a guideline > > they should follow while migrating their code. This guide should > > contain new, PHP5 related CS, a common standard definition of the > > usage of PHP's new features. > > just noticed that I have replied to this mail. > i dont think that we need to regulate any of this. > personally i would like to have more method naming conventions but i > dont see a realistic chance of making this a reality. Well Lukas, not too long ago (Thu, 12 Feb 2004 13:00:36 +0100) in my email on pear-dev I also suggested to introduce something like a section "dev guidelines" or similar on the website. This could at least have "suggestions" for specific cases and package categories what common functions should be named like. E.g. I was lately thinking about writing an ISO filesystem-driver someday and I had a look at the files under "Filesystems". However, I think that the API for getting dircontents, retrieving a file or even opening / closing a resource (you only want to parse an ISO-file once, not for each file you retrieve) is not yet very consistent. This work could also be done by the help of package-maintainers from those categories. Regards, Stefan

« previous php.pear.qa (#530) next »