Difference between revisions of "Plugin Toolkit"
(moved links around and added some more ...) |
m (added direct link to Universal Plugin ToolKit) |
||
Line 1: | Line 1: | ||
− | The Geeklog Plugin Toolkit is set to eventually replace the aging Universal Plugin. It will contain of a set of tools to assist plugin developers in creating and maintaining their plugins. | + | The Geeklog Plugin Toolkit is set to eventually replace the aging [[Universal Plugin ToolKit|Universal Plugin]]. It will contain of a set of tools to assist plugin developers in creating and maintaining their plugins. |
For now, there is only one tool available: The Plugin Generator. | For now, there is only one tool available: The Plugin Generator. |
Revision as of 11:37, 2 May 2009
The Geeklog Plugin Toolkit is set to eventually replace the aging Universal Plugin. It will contain of a set of tools to assist plugin developers in creating and maintaining their plugins.
For now, there is only one tool available: The Plugin Generator.
Plugin Generator
The Plugin Generator has to be called from the command line. For this, you need the CLI version of PHP.
cd plugin-toolkit php plgen.php
Follow the on-screen instructions. Default values are given in square brackets and can be used by pressing enter. If you want to change a value, simply enter it and then press enter.
A plugin directory, using the name you entered, will be created in the current directory. This is a fully usable plugin, although it doesn't exactly do much yet. It does, however, perform install and uninstall and includes generic public and admin pages. Filling in the functionality is your job ...
Note: Currently, the created plugin requires Geeklog 1.6, which at the time of this writing has not been released yet. You can download the current development version by following these instructions.
Links
- Download from geeklog.net
- Mercurial repository for the Plugin Toolkit
- The Plugin Toolkit is a separate project in the bugtracker. Select "Plugin Toolkit" from the "Project:" dropdown.
- Plugin Developer Handbook
- also see Programmers/Developers Documentation for plugin API changes and additions