[wp-hackers] Re: wp-hackers Digest, Vol 43, Issue 38

Stephen Rider wp-hackers at striderweb.com
Sun Aug 24 13:51:08 GMT 2008


On Aug 24, 2008, at 1:09 AM, buzzup Ram wrote:

> strider_core() is your core class and you seperate it out into a .php
> file.Now this is being reused by all your plugins, as you mentioned.
>
> Then why do you want to maintain duplicate copies of this file.You  
> have the
> core files in its own directory and include this directory in every  
> plugin
> that you intent to code.
>
> The idea of maintaining duplicate copies and versions suck.You don't
> maintain duplicate versions of a reusable class in object oriented
> programming.

Because of updates.  I wanted everything required for a plugin to be  
in that plugin's folder.

In the end though, I may do it as you suggest.  Unless I make "Strider  
Core" a plugin in its own right, that dooms any chance of using WP- 
Extend for auto-updates.

Stephen


More information about the wp-hackers mailing list