Difference between revisions of "Plugin Development"

From GeeklogWiki
Jump to: navigation, search
(link to Plugin Toolkit)
(fixed Comment Functions link + some cosmetics & typos)
Line 1: Line 1:
 
Plugin Development
 
Plugin Development
  
*[[Plugin_Development#Overview|Overview]]
+
* [[Plugin_Development#Overview|Overview]]
*[[Functions for writing Plugins]]  
+
* [[Functions for writing Plugins]]  
**[[Moderation Functions]]  
+
** [[Moderation Functions]]  
**[[Admin and User Menu Functions]]  
+
** [[Admin and User Menu Functions]]  
**[[Search Functions]]  
+
** [[Search Functions]]  
**[[Comment Functions]]  
+
** [[Integrating the Comment Engine|Comment Functions]]  
**[[Stats Function]]  
+
** [[Stats Function]]  
**[[Uninstall Function]]  
+
** [[Uninstall Function]]  
**[[User Functions]]  
+
** [[User Functions]]  
**[[Profile Functions]]  
+
** [[Profile Functions]]  
**[[Misc. Functions]]  
+
** [[Misc. Functions]]  
*[[Implementing your Admin Interface]]  
+
* [[Implementing your Admin Interface]]  
*[[Preparing your Geeklog Plugin Distribut]]ion  
+
* [[Preparing your Geeklog Plugin Distribut]]ion  
*[[How To Install A Geeklog Plugin]]  
+
* [[How To Install A Geeklog Plugin]]  
*[[Deliver Your Plugin!]]  
+
* [[Deliver Your Plugin!]]  
*[[Description of the Geeklog Plugin API]]  
+
* [[Description of the Geeklog Plugin API]]  
**[[Moderation API]]  
+
** [[Moderation API]]  
**[[Admin and User API]]  
+
** [[Admin and User API]]  
**[[Search API]]  
+
** [[Search API]]  
**[[Stats API]]  
+
** [[Stats API]]  
 
* [[Plugin Toolkit]]
 
* [[Plugin Toolkit]]
  
Line 26: Line 26:
 
== Overview ==
 
== 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).  
+
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 separation 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:  
 
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.  
+
* 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 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 your plugin to be searched via the Geeklog search page.  
*Allow stats for your plugin to show up on the site statistics 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 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 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.
+
* Allow you full flexibility on what your plugin does. Geeklog does not dictate your plugins power.
 +
 
  
 
[[Category:Plugin Development]]
 
[[Category:Plugin Development]]

Revision as of 07:48, 6 May 2009

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 separation 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.