I am planning the development of a joomla system plugin and I need an advice on how to implement it.
This plugin will be triggered in 4 or 5 events, like onBeforeRender, onAfterRender ...
For a better readability and maintenance which is the best approach: - call with include in each event a file with the according task or - include in the main plugin all the code
Appreciate your guidance.