Re: What's the best way to make a dynamic plugin architecture?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 28, 2012 at 1:16 AM, Larry Garfield <larry@xxxxxxxxxxxxxxxx> wrote:
> On 8/27/12 6:11 PM, Matijn Woudt wrote:
>
>>> You should never be calling require() yourself.  Just follow the PSR-0
>>> naming standard and use an autoloader, then you don't have to even think
>>> about it.  There are many existing autoloaders you can use, including
>>> Composer's, Symfony2's, and probably Zend has one as well.
>>>
>>
>> I believe there's one in PHP by default now called SPLClassLoader or
>> something like that..
>>
>> - Matijn
>
>
> There was a proposal for one, but it was never added.  You still need a
> user-space class loader for PSR-0, but they're readily available.
>
>
> --Larry Garfield
>

Ah thanks for the info. I heard about it way back and assumed it was
implemented by now ;)

- Matijn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux