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?
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Quick N Dirty Post Exclusion
11 comments
page 124
Using Your Own Url Shortener
4 comments
page 1190
My Experience Of Flexx
4 comments
page 1026
Html 5 Gallery
6 comments
page 1305
Wordpress Chat
3 comments
page 1308
Quick N Dirty Post Exclusion
11 comments
page 124
Post Image The Easy Peasy Way
26 comments
page 1065
Post Image The Easy Peasy Way
26 comments
page 1065
Auto Cycle Fun With Sidebar Tabs
one comment
page 1129
Post Image The Easy Peasy Way
26 comments
page 1065
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
Wordpress Chat
3 comments
page 1308
Using Your Own Url Shortener
4 comments
page 1190
Custom Hooks For Admin Pages
one comment
page 430
Custom Hooks For Admin Pages
one comment
page 430
Wordpress Chat
3 comments
page 1308
Html 5 Gallery
6 comments
page 1305
Html 5 Gallery
6 comments
page 1305
How To Add Sidebars To A Theme
10 comments
page 1053
Post Image The Easy Peasy Way
26 comments
page 1065
Quick N Dirty Admin Login Screen
no comment
page 128
Html 5 Gallery
6 comments
page 1305
My Experience Of Flexx
4 comments
page 1026
3 Ways To Speed Up Your Blog Without A Cache Plugin
one comment
page 1321
Html 5 Gallery
6 comments
page 1305
Wordpress Chat
3 comments
page 1308
Theming Habari Vs Wordpress
13 comments
page 440
1 query every 1231 seconds, updated 1 seconds ago.
(__)
`
Bookmarks about Wp
[...] – 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 [...]