Re: Re: 1 file / 1 class == 2 headers

From: Date: Sun, 31 Jul 2005 14:58:22 +0000
Subject: Re: Re: 1 file / 1 class == 2 headers
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-2834@lists.php.net to get a copy of this message
Hey Paul, Paul Jones wrote:
Hi Bertrand -- I don't mean to be dumb, but I don't understand what you're getting at here.
I made the 50+ CS headers so I could bundle in tikiwiki. (for license and ... copyright ... (quite absent, a LGPL without copyright has no meaning) I don't have any critic against the many classes. My question relates to 1 file / 1 class an 2 headers. We (tikiwiki) succeed (or will) to pass in there ... that's not easy. à+ -- bertrand "toggg" Gugger > > > On Jul 31, 2005, at 8:53 AM, bertrand Gugger wrote: > >> Hi QAs ! >> Why 1 class = 1 file, why 2 headers ? >> 1 CLASS == 1 FILE ! Let scripts do ... the 2 headers :) >> >> As I multiplied headers for Text_Wiki ... >> where we have very little classes but ... (in work) >> (5 parsers + 6 renderers) * (43 rules, potentially) >> >> er ... 473 files possibly ? >> >> I don't want to do 956 headers , neither 473 ... >> >> I did not do Text_Wiki, but it has all my agreement. >> The multiplication of rules cannot be handled in this structure. >> (yes I would use arrays) >> >> That's not necessary here, to have a class each correspondance >> ... but we need to be able to redefine as precisely we want ... >> and come for certain correspondances to *1* class. >> >> We could need (for now) a few 100 headers, >> >> Is the 1 class / 1 file so necesseray ? >> Couldn't we agree of a finer separator ? >> (yes _autoload is important for weak scripting) >> a "_" in class name is a DIRECTORY_SEPARATOR in path ... ok >> '-' usable ? >> >> à+ >> -- >> bertrand "toggg" Gugger >> > > > > > > -- > > Paul M. Jones <http://paul-m-jones.com> > > Solar: Simple Object Library and Application Repository > for PHP5. <http://solarphp.com> > > Savant: The simple, elegant, and powerful alternative to > Smarty for templates in PHP. <http://phpsavant.com> >

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