[TYPO3-dev] Data Exchange between two plugins within the same extension
Widmann, Manfred
mpunktw at gmx.net
Thu Jan 24 08:39:54 CET 2008
"bernd wilke" <xoonsji02 at sneakemail.com> schrieb im Newsbeitrag
news:mailman.1.1201108951.22312.typo3-dev at lists.netfielders.de...
> on Wed, 23 Jan 2008 18:05:22 +0100, Ansgar Brauner wrote:
>
>> Hi everybody,
>>
>> I'm developing an extension and i would like to split different views
>> into different plugins. The Problem is that i dont know how to exchange
>> data between these plugins correctly.
>
> why this split?
>
> maybe you can manage all in one single plugin and you won't have to
> bother about changing prefixes
>
> something like:
>
> function main (...) {
> [...]
> if ($mode == 1) {
> $this->displayView1(...);
> } else {
> $this->displayView2(...);
> }
> }
>
> and you may have two separates files for defining these functions
>
>
> Bernd
>
> --
> http://www.pi-phi.de/t3v4/cheatsheet.html
I can understand Ansgar, as smaller functions are in general easier to
develop!
More information about the TYPO3-dev
mailing list