(Article contents proof-read and formatted) |
(Article contents proof-read) |
||
| Line 1: | Line 1: | ||
| − | CKFinder functionality can be extended with server-side plugins. Although the full source code of the CKFinder server connector is available and can be | + | CKFinder functionality can be extended with server-side plugins. Although the full source code of the CKFinder server connector is available and can be modified in any way desired, a much better way of enhancing the CKFinder connector is to create a plugin. |
The main advantages of plugins are: | The main advantages of plugins are: | ||
* Upgrades are much easier. | * Upgrades are much easier. | ||
| − | * The plugin code is in a single place. | + | * The plugin code is stored in a single place. |
| − | * Plugins can be easily | + | * Plugins can be easily disabled when they are not needed anymore. |
Common use cases: | Common use cases: | ||
| − | * Adding a new server side command (i.e. <code>fileditor</code> and <code>imageresize</code> plugin). | + | * Adding a new server-side command (i.e. <code>fileditor</code> and <code>imageresize</code> plugin). |
| − | * Working with uploaded | + | * Working with uploaded files (i.e. <code>watermark</code> plugin). |
| − | * Extending | + | * Extending information returned by the <code>Init</code> command (i.e. <code>imageresize</code> plugin). |
Latest revision as of 07:09, 18 May 2011
CKFinder functionality can be extended with server-side plugins. Although the full source code of the CKFinder server connector is available and can be modified in any way desired, a much better way of enhancing the CKFinder connector is to create a plugin.
The main advantages of plugins are:
- Upgrades are much easier.
- The plugin code is stored in a single place.
- Plugins can be easily disabled when they are not needed anymore.
Common use cases:
- Adding a new server-side command (i.e.
fileditorandimageresizeplugin). - Working with uploaded files (i.e.
watermarkplugin). - Extending information returned by the
Initcommand (i.e.imageresizeplugin).