[wp-hackers] Must Use plugin example?

Micky Hulse mickyhulse.lists at gmail.com
Wed May 15 23:18:12 UTC 2013


Thanks to everyone who replied. Thanks to your help, this is my first
WP plugin (shameless plug):

<https://github.com/mhulse/wp-deck>

It's a really stupid plugin, and could use a lot of improvements
(please be kind if you have feedback), but it's been a great learning
experience for me (I'm slowly getting my wrapped around the
ins/outs/idiosyncrasies of WP and its API).

I have to admit, I'm not used to using static methods all over the
place ... Doesn't feel completely optimal.

Once I have some more free time, I'm going to circle back around and
re-work the code to use some of the patterns/code mentioned here:

http://wordpress.stackexchange.com/questions/26186/should-all-plugins-be-encapsulated-in-a-class

... and here:

http://stackoverflow.com/questions/8688738/wordpress-plugin-how-do-i-avoid-tight-coupling

... and the link Christian sent, which linked to:

http://bbpress.trac.wordpress.org/browser/trunk/bbpress.php

... which looks very nice in terms of the pattern used.

Anyway, thanks again ya'll! Much appreciated.

Cheers,
Micky


More information about the wp-hackers mailing list