[wp-hackers] Plugin dependency checking
Shane A. Froebel
shane at bugssite.org
Tue Jun 16 16:25:28 GMT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I put the class file on trac if anyone wants to take a look at it.
http://core.trac.wordpress.org/ticket/10190
Your Friend,
Shane
scribu wrote:
> Ok, now I get what you were trying to say with "Interfaces".
>
> Yes, not using interfaces would would limit what could be done with
> their children, but on the other hand, interfaces would limit what
> child plugins could do themselves. It's a tradeoff.
>
> It's the same tradeoff that would happen if normal plugins would have
> to have an interface that the core would have to check.
>
> On 6/16/09, Mike Schinkel <mikeschinkel at newclarity.net> wrote:
>> "scribu" <scribu at gmail.com> wrote:
>>> One or more child plugins can use functionality provided by one
>>> parent plugin. Parent plugins are not aware of the additional
>>> functionality that each child plugin provides. That's the basic
>>> model.
>> As with discussion with Steven on the list, let me urge not to have the
>> child name its parent but instead have the child name the "interface" that
>> its parents can consume. Steven called is "offers" and "uses"; most any
>> terms will work but coupling children directly to parents will really limit
>> what can be done with their children and IMO would be a mistake.
>>
>> -Mike Schinkel
>> Custom Wordpress Plugins
>> http://mikeschinkel.com/custom-wordpress-plugins
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQIcBAEBAgAGBQJKN8d4AAoJEChMcQvNqPqmT2sP/RPW7qSoVhv0aixFNl6DnPlN
RMvYLdDxLKG/Lh0Tjr/d4GZ39lth6K5AC9sXUgH4tIbRWJE4XSzl1PemjywuEm07
I8LIgLXuMcuB+iDAb3NiuMr32Vjfn1J3SgycOdfTPtbxpqxZchMaR31tLsYYFihk
+6o0QAfhIsvB9w9EsK2XSRUyI/sZ/CIZNbNyN2qIZ589Odw2r7XqyDCUtv+nbXCd
IxhHo24/gspjrLmLIuTzPcf2V0uVVGsydpJDBs7c0htnzYaY/JzzjrWqut9BERTV
8oom1rChv6cOTHIMXcCgpenlsc/5uENXvgK6a8onPdl38lSmCr5aMpq30jT+rhSD
u66KiXk6EQC2DWs4QXyeJYI9Lr39avEr/J1udLHR87KTIczuNgdmdL9+9lmvt+LI
Goil1c65oJNoMLTy74KD1OTO6c7ngBP3VyLfF1SxiYJcCLBTT3DGtW3yT7e6Q0GW
wxdRzmDy4Nihz6ZLukTC67bZpO0UB7JzlquOMgLQoeltfVg264w4Y6TB7KJEsz98
p0cc3Vo5x0tmhJFZuZ8OtEjZby9QDMrgHnoDg6C7F/C1NdHnQtve/4j4zz8w+6gE
9YaGwvX9DOgL3AUIJ5udIUaeYm+oRjkBRrTLoF+MYiUOp5JHTK/Ze9CkEEpXL4jL
FieqtBSiDIDm1NkLHV7G
=4dGN
-----END PGP SIGNATURE-----
More information about the wp-hackers
mailing list