[TYPO3-core] Document hooks? (was: New hooks in TCEmain -> moveRecord)

Robert Lemke robert at typo3.org
Wed Nov 16 11:22:36 CET 2005


Hi Michael,

Am Mittwoch, 16. November 2005 10:05 schrieb Michael Stucki:

 > > Do we document hooks? If so, where?
 >
 > Not yet. Still the number of hooks is small enough that it's not too late
 > for such a manager.
 >
 > On my request, Matthias Kall has written an extension for managing them on
 > typo3.org. I never had time to look at it :-( but just had a very quick
 > look at it now.
 >
 > It looks to me like the extension works out-of-the box, but probably you
 > might want to embed this into the TER somehow?
 >
 > What do you think, should we install this on .org?

Hmm, without looking at the extension I'm still undecided if it makes sense to 
document hooks at all.

My cons against documenting hooks:

   - If you know where you want to hook in you easily find the hook
   - You can search the core for "hook" and find all hooks
   - If you just use a hook you find in the documentation you might break
     something because you haven't studied the exact implications of the
     surrounding code (fx. in TCEmain there are some dangerous places)

What do you think?     

robert
-- 
Robert Lemke
TYPO3 Association - Research & Development
Member of the board
http://association.typo3.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051116/e5c5c7c3/attachment.pgp 


More information about the TYPO3-team-core mailing list