Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Since I am new to wordpress plugin development I have been examining internal structure of many plugin's and I could find most of them doesnt fit any pattern and understanding how they works is pretty much difficult. I was wondering if there is more generalised way of plugin development, possibly with a framework, other than the methods discribed in official documentation.

share|improve this question
    
Have you read my article about OCP? I'm already at the point where I say that there's no framework that will always work out. –  kaiser Jul 10 '13 at 20:31
add comment

2 Answers

up vote 15 down vote accepted

AFAIK, there's no framework official/standard framework, and there will be as many plugin development styles as there are shades of white in north pole.

I'd say WordPress Coding Standards are a blueprint for a good style.

You'll find lots of good examples and excellent coders here in WPSE. A nice starting point: questions/tagged/plugin-development.

Highlighting:

Nowadays, I use Plugin Class Demo from @toscho as base for many plugins.

Right now, @Pippin is doing a series Introduction to WordPress Plugin Development 101 that may be of interest.

[ update, thanks to @Wyck contribution, a list of helper-plugins/boilerplates/frameworks ]

Plugin scbFramework, by @scribu:

A set of useful classes for faster plugin development.
This is a plugin toolkit that helps developers write plugins faster. It consists of several classes which handle common tasks, such as generating settings pages, creating database tables and more.

WordPress-Gear > PHP Boilerplate > Plugin stuff

  1. Plugin boilerplate by @tommcfarlin
  2. Object Oriented Plugin Template
  3. Settings framework by @gilbitron
  4. scbFramework - Classes for plugin dev
  5. WordPress Settings API - by @tareq_cse
  6. WP MVC - MVC framework to create plugins
share|improve this answer
1  
I would also mention wordpress.org/extend/plugins/scb-framework and there are some listed here under PHP Boilerplate: wpgear.org –  Wyck Feb 12 '13 at 0:57
1  
@Wyck, top class stuff, thanks, added. –  brasofilo Feb 12 '13 at 1:57
add comment

I believe Sunrise (http://gndev.info/sunrise/) is the kind of thing you're asking for. It's relatively new, and I haven't used it myself, so I offer no recommendations. However, it looks quite promising. It's available on WordPress plugin directory as a plugin: http://wordpress.org/plugins/sunrise/.

share|improve this answer
    
Sorry, but this is about deployment and not development. –  kaiser Jul 10 '13 at 20:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.