Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

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:

QuestionAs plug inAs core feature
Can translate5 be used without this feature?YesNo
Does only a few clients need this feature?YesNo
Does the feature provide events where other features can hook in?NoYes
Is the implementation technically clearly dividable from the core code?YesNo

 

 

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.

  • No labels