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

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Apr 3 12:59:20 CEST 2006


Hi,

I'd like to know what the extensions experts would suggest in the
following (probably common) situation.

What I need:

Provide several different new "tables" that hold information that needs
to be displayed in the frontend somehow. All tables are related and
probably even linked to each other (e.g. "articles", "books",
"shelves"), but all have different "list", "single" and other views,
search-requirements, etc.

My questions:

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?

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")?

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.

My question also comes from the fact that the Kickstarter is generating
"pi1", "pi2" etc FE-plugins.

Cheers,
Ernesto



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