July 23, 2008
The time has come for a new update to the my plugin generator; there are new things for 2.6 that need to be included. But at the same time I have been considering changeing the way the plugins work a little bit.
Right now the plugin generator creates code that is all contained within a single class. There are good reasons for this but I would like to abstract some of the code away so that it doesn’t need to be dealt with.
What I am considering is creating a small class library to accompany the plugin template that contains a lot of the code that interacts with WordPress.
To give you an idea of how this would work, instead of creating a function to load and save the plugin settings you would create a new settings class and pass it the name of the settings file. The rest would be dealt with within the class.
Now this is fine when it comes to writing my own plugins, but I honestly have no idea about the level of knowledge and experience that the users of the tool have. Nor do I know how much of the code is amended after it is generated.
So here is my question for anyone that has used my plugin generator, or might use it: Would you be comfortable with this? with a plugin template that comes with a class library?
Wordpress Chat
one comment
page 1308
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Silence Is Golden
3 comments
page 213
Questions About Habari For Wordpress Users
6 comments
page 424
Theming Habari Vs Wordpress
13 comments
page 440
My Experience Of Flexx
4 comments
page 1026
Plugin Update Fun With Photo Data 2
one comment
page 815
Post Image The Easy Peasy Way
26 comments
page 1065
Categories Vs Tags Either Neither Or Both
12 comments
page 7
Gaining Benefits From Plugins
8 comments
page 1167
Beware Wp Cache
8 comments
page 1310
Six Million Ways To Die Choose One
14 comments
page 1128
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
one comment
page 1308
Post Image The Easy Peasy Way
26 comments
page 1065
Wordpress Chat
one comment
page 1308
Beware Wp Cache
8 comments
page 1310
Wp Polls Reviewed
one comment
page 58
Fun With Photo Data
12 comments
page 330
Html 5 Gallery
6 comments
page 1305
Wp Polls Reviewed
one comment
page 58
Fun With Sidebar Tabs Styling
2 comments
page 336
Poll Daddy Reviewed
2 comments
page 42
Using Your Own Url Shortener
4 comments
page 1190
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Fun With Plugins
27 comments
page 14
Wordpress 25 Exif Fields
12 comments
page 230
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Beware Wp Cache
8 comments
page 1310
Html 5 Gallery
6 comments
page 1305
Quick N Dirty Replacement Text
no comment
page 122
Theming Habari Vs Wordpress
13 comments
page 440
Beware Wp Cache
8 comments
page 1310
Fun With Sidebar Tabs Styling
2 comments
page 336
updated 1 seconds ago
[...] – bookmarked by 5 members originally found by mattwalker on 2009-02-24 Plugin Architecture http://www.wp-fun.co.uk/2008/07/23/plugin-architecture/ – bookmarked by 1 members originally found [...]