Skip to content

Instantly share code, notes, and snippets.

@bibby
Created October 11, 2013 00:57
Show Gist options
  • Save bibby/6928064 to your computer and use it in GitHub Desktop.
Save bibby/6928064 to your computer and use it in GitHub Desktop.
dropplets plugin plans

Dropplet plugin plans

Life cycle events

These events occur naturally during the life of a post. Sometimes once, others frequently. The intention is to provide hooks in an event-broadcast style that allow users to intercept them and introduce plugin code between normal operations.

Events being looked at:

  • post add
  • post update
  • post delete (exists yet?)
  • post status change (implies update)
  • post draw
  • excerpt draw/generate
  • meta/header read
  • code block render
  • cache get/set

Plugin opportunities

Here's a short list of possible plugins based on the events above.

  • YAML header replace markdown post meta data with YAML structures
  • Syntax Highlight add linguist or javascript based code coloring
  • Memcache cache layer
  • APC cache layer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment