[TYPO3-core] RFC: Feature Request #9078: Integrate hook in page module to render preview of records with own CType

Ingo Renner ingo at typo3.org
Mon Sep 1 19:19:17 CEST 2008


Oliver Hader wrote:

Hi all,

> The advantage of the interface/getUserObj method is, that there is a 
> well defined description how the hook must be implemented. This also 
> means that hooks and their parameters could be documented automatically 
> and that an error handling could do something if a hook does not 
> implement the interface.

which IMHO is ok. The extension that uses a hook could/should just set 
it's compatibility with TYPO3 to the known-to-be-working versions.

If the interface then chages, the developer needs to adjust his 
extension and can then raise the compatibility version.

This has advantages for both users and developers:
* developer do (should) not get inquiries about not working versions - 
it's declared to be not compatible already
* the user also knows that it's not going to work


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list