On Fri, Jun 30, 2006 at 09:21:29AM -0500, Tom 'spot' Callaway wrote:
On Fri, 2006-06-30 at 14:53 +0100, Paul Howarth wrote:
> Tom 'spot' Callaway wrote:
> > On Fri, 2006-06-30 at 10:52 +0100, Joe Orton wrote:
> >
> >> On "Other Packages": an application written in PHP or such like
should
> >> not have a php- prefix at all. A Smarty package should be called
> >> "smarty" (following the "upper-case is evil" rule of
packaging).
> >
> > Indeed, this is correct. The php-* (and php-pecl/pear) namespace are
> > reserved for items that add new functionality/modules to PHP, not for
> > applications written in PHP.
>
> Smarty is not an application in itself; it's a library of PHP code used
> in other applications. As such it adds functionality to PHP...
Then (in the case of smarty), it does need to be in the php namespace. I
think if its not a pecl/pear, but it adds functionality to PHP, then it
should be php-%{name}.
Smarty does not "add functionality to PHP" any more than libxml "adds
functionality to C". If Smarty was installed somewhere the default
include_path would pick up you could make a case; but it's not. It's
just a library of PHP code.
joe