Plugin Development

From GeeklogWiki
Revision as of 10:51, 15 March 2009 by Dirk (talk | contribs) (link to Plugin Toolkit)

Jump to: navigation, search

Plugin Development


Overview

Geeklog is becoming more and more popular each day and we, the Geeklog developers, are amazed at some of the great hacks people have made to extend their Geeklog installation to fit their own needs. At the same time, the Geeklog development team is continually adding new features that make Geeklog even better. We have realized the need for Geeklog to support two threads of development: core geeklog code and plugin-code. By building in the infrastructure needed to extend Geeklog's functionality through plugins we can make a clean seperation between the Geeklog codebase and plugin code so that we can concentrate on making Geeklog's core code better while others can develop plugins so that Geeklog fits their needs. With that said, Geeklog now has a Plugin application program interface (API).

At the highest level, the Geeklog Plugin API is generic code that is called in strategic places in the Geeklog codebase that allow function of plugins to be called. This will allow your plugin the following features:

  • Ability for your plugin to be submission-based so that users can submit objects to your plug-in. You can then visit the command and control center in Geeklog to moderate the submissions for your plugin.
  • Allow your plugin to show up in the Admin block and User block on each Geeklog page.
  • Allow your plugin to be searched via the Geeklog search page.
  • Allow stats for your plugin to show up on the site statistics page.
  • Allow your plugin the ability to use Geeklog's comment engine.
  • Allow you to use the power of Geeklog's code library (lib-common.php) in your own plugin code.
  • Allow you full flexibility on what your plugin does. Geeklog does not dictate your plugins power.