[TYPO3-ect] Multiple Plugins in one Extensions? Yes or No?

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Mon Apr 3 13:44:46 CEST 2006


Ernesto Baschny [cron IT] schrieb:
> 1) How many extensions?
> 
> a) Should I create one extension with one plugin for each type of table
> and set them as "requirements"?  or
> b) Should I create just one extension will all the tables and views?
> 

If it's clearly one project, one extension. If you often need to update
with the extension mangar you quickly spend hours with moving around
multiple extensions. Consider FTP.

> 2) How many plugins?
> 
> If I chose 1)b), should I create just one plugin ("pi") and "switch" the
> correct view depending on the parameters or should I create one plugin
> for each "table" ("pi1", "pi2", "pi3")?

Don't use pi1, pi2 etc. for multiple plugins. You will get lost in numbers.
Give more speaking names instead. Like that of the table it handles, i.e.
books.

> 
> a) Having multiple plugins seem to be counter-productive, as each one
> will have different piBase's, different locallang's, plugin.tx_*_piX
> TypoScript settings etc. But it has the advantage that I can select from
> different plugins to be added in my content elements.
> 
> b) Having just one plugin seems to be the "way to go" and then using
> FlexForms to choose the view that the user wants to be shown at any
> given position.
> 

With a clear naming concept for the controller you can go the way of one
plugin. Without you risk some chaos with multiple tables multiplied with
multiple views.

Regards

Elmar




More information about the TYPO3-team-extension-coordination mailing list