cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [ PHPGenerator ] Inital draft of PHPGenerator docs on Wiki
Date Tue, 12 Nov 2002 08:25:30 GMT
On Tue, 12 Nov 2002 19:13, Nicola Ken Barozzi wrote:
> Tony Collen wrote:
> > http://outerthought.net/wiki/Wiki.jsp?page=PHPGenerator
>
> [...]
>
> > On a side note (to -dev), why is it "PhpGenerator" and not
> > "PHPGenerator"?  We have HTTPGenerator and SWFGenerator, so perhaps the
> > file should be renamed to PHPGenerator for consistency's sake?
>
> Changing a name of a class just for consistency brings us a small
> advantage (consistency) and a big damage (broken classes and refs
> depending on it).
>
> In this case it may be not a problem as for classes depending on it, but
> I woulodn't like to be the sitemap guy that goes round fixing all the
> declarations in the sitemaps ;-)

Change the name and have the old class still around but deprecated. Make it 
print out all sorts of ugly warning messages (upgrade me! upgrade me!) but 
other than that delegate to the new generator

-- 
Cheers,

Peter Donald
*-----------------------------------------------------*
* "Faced with the choice between changing one's mind, *
* and proving that there is no need to do so - almost *
* everyone gets busy on the proof."                   *
*              - John Kenneth Galbraith               *
*-----------------------------------------------------*


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message