Create Plugins¶
How to create plugins with the Extbase framework and Fluid templating engine is handled in depth in the chapter t3extbasebook:configuring-the-plugin in the "Extbase / Fluid book".
There are basically two ways to create plugins in TYPO3:
- With the Extbase framework using
configurePlugin()
in the fileext_localconf.php
andregisterPlugin()
in the fileConfiguration/TCA/Overrides/tt_content.php
- Create a plugin using
AbstractPlugin
without Extbase.
Generally speaking, if you already use Extbase, it is good practice to create your plugins using the Extbase framework. This also involves:
- creating controller actions
- create a domain model and repository (if your plugin requires records that are persisted in the database)
- create a view using Fluid templates