[TYPO3-dev] Better use pibase while everyone use extbase?
Jigal van Hemert
jigal.van.hemert at typo3.org
Sun Oct 5 15:57:33 CEST 2014
Hi,
On 4-10-2014 14:15, Daniel Siepmann wrote:
> why should I use extbase to develop extensions? Everyone says it's future
> proof.
The answer: "it depends".
PiBase requires more work from you as developer in areas of getting the
data, displaying the data, preventing security issues and so on.
If you need more freedom than extbase offers you pibase could be your
weapon of choice.
In extbase it's easy to find the records you need from the repository,
pass them to the fluid template and take care of the display methods
there with viewhelpers.
In pibase you have to loop through the records in the PHP code and use
TypoScript for extra display options. If you apply stdWrap to all data
and have the possibility to define extra markers in TS the template
designer has some degree of flexibility.
In extbase it's easier to store information in the database. Updating
the repository takes care of all the issues.
Every system has its pros and cons. If the pros outweigh the cons for
you, you found the system that suits you.
--
Jigal van Hemert
TYPO3 CMS Active Contributor
TYPO3 .... inspiring people to share!
Get involved: typo3.org
More information about the TYPO3-dev
mailing list