Using controller in plug-ins
To use controller in a plug-in, you have to place them beneath the Controller-directory of the Zend-Module of translate5, the plug-in is written for.
As an example you can have a look at the Testplugin/TestController.php at
/application/modules/editor/Controllers/Plugins/Testplugin/TestController.php
Decision helper for new features
New features can be implemented as core feature or as plug-in.
The following questions shall help in a non dogmatic manner to find the best way of implementation:
Question | As plug in | As core feature |
---|---|---|
Can translate5 be used without this feature? | Yes | No |
Does only a few clients need this feature? | Yes | No |
Does the feature provide events where other features can hook in? | No | Yes |
Is the implementation technically clearly dividable from the core code? | Yes | No |
More content has to be added. Until then please visit our source code repository and look for the plug-in documentation in the docs-folder of Zf_Extended.
An overview over already existing plug-ins you can find here.