Re: PHPTAL package name

From: Date: Sat, 28 Nov 2009 11:17:29 +0000
Subject: Re: PHPTAL package name
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-53071@lists.php.net to get a copy of this message
On Fri, Nov 27, 2009 at 11:01 AM, Kornel Lesinski <kornel@aardvarkmedia.co.uk> wrote: > On 26 Nov 2009, at 18:23, till wrote: > >> you are correct, changing the packagre name requires changing the >> class names and possibly the file structure in your VCS >> (HTML/Template/PHPTAL.php, etc.). >> >> I don't know about the upgrade procedure for your existing users, but >> my guess is that if they use a pear-install already, the "new" package >> name would hint at a totally new package for the user. E.g. if they >> did pear install PHPTAL before, they now need to do pear install >> HTML_Template_PHPTAL. > > That's not good. That means not only reinstall, but also changes in users' > code. > >> Let me know if this answers your question. > > > I'd like to know if "PHPTAL" is acceptable as package name? > Afaik, no. But feel free to go on IRC to ask. IMHO, the change is not so huge: require_once 'HTML/Template/PHPTAL.php'; $phptal = new HTML_Template_PHPTAL('my_template_file.xhtml'); Till Till

« previous php.pear.dev (#53071) next »