Blair Williams: Pimp Your WordPress Plugin

Published

April 24, 2010

Most WordPress Plugins are little more than small utilities but there are a growing number of them that can dramatically augment the way WordPress behaves or give WordPress advanced new features.

Blair Williams demonstrates an effective way to develop your own platform-modifying plugin (PMP) using a Model View Controller (MVC) approach with some additional tips and tricks learned from coding and supporting two different PMPs.

Rate this:

Event

WordCamp Orange County 13

Speakers

Blair Williams 2

Tags

development 75
MVC 1
Plugins 75

Language

English 748

5 Responses to “Blair Williams: Pimp Your WordPress Plugin”

  1. Blair Williams

    The slides that go along with this presentation can be downloaded from my blog here:

    http://blairwilliams.com/pimp

  2. R'phael Spindel

    Great talk!

    A very light weight PHP MVC framework advocated by PHP creator’s Rasmus’ which is very much along the lines of the style of quick lightweight MVC you talked about here, as well as workable within WordPress architecture without the conflict issues of extra included libraries is “The no-framework PHP MVC framework” (yes, basically includes), but described very well here:
    http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html

    (also.. CRUD = Create *Read* Update Delete)

  3. R'phael Spindel

    Viewers may also want to take a look at Tina MVC for WordPress
    http://www.seeit.org/tina-mvc-for-wordpress/

  4. R'phael Spindel

    @Blair, at 38:00, you talk about creating a mock test suite for WordPress. There has been a fair amount of work done in that area by John Bintz, in two projects called MockPress and a plug-in called Post Fixtures.

    MockPress:
    http://github.com/johnbintz/mockpress

    WordPress Post Fixtures:
    http://wordpress.org/extend/plugins/post-fixtures/

  5. Blair Willaims

    R’phael — that is some really interesting information — I’ll definitely take a look at the Tina MVC framework. I have to wonder though if you’d run into versioning issues between plugins if 1 plugin needed version x of Tina and another installed plugin needed version y… That is one reason why I like the self-contained, no-conflict MVC — but I’m definitely going to play around with Tina MVC — it’s a great concept.

    I was unaware of these WP testing frameworks — I’m soooooo excited to start looking at them. That has been one pretty major issue I’ve seen so far with WP Plugin development and if these guys have workable solutions for this it would be awesome…

Leave a Reply

Follow

Get every new post delivered to your Inbox.

Join 2,238 other followers