Getting PHPTAL on PEAR2
| From: | Kornel Lesiński | Date: | Wed, 27 Jan 2010 12:25:13 +0000 |
| Subject: | Getting PHPTAL on PEAR2 | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-53237@lists.php.net to get a copy of this message | ||
I've started porting PHPTAL to PEAR2-namespaced version and I've got some questions:
1. Is "pear2\HTML\Template\PHPTAL" namespace appropriate? I've noticed Savant's PEAR2 package uses pear2\Template (without "HTML" part) namespace. Which namespace prefix is correct?
2. What's the relationship between pear.php.net and pear2.php.net? Is the second one only temporary, or is it going to replace the first one? Is it OK to use pear.php.net for PEAR2-only package? If not, how can I get it on pear2.php.net?
FIY here's snapshot of work done so far:
http://phptal.org/files/PHPTAL-1.2.2-namespaced.tar.gz
It's not finished yet. package.xml hasn't been changed, and I know abstract classes and exceptions don't follow PEAR2 rules yet.
--
regards, Kornel