[TYPO3-ect] xaJax 0.2.4

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Mon Jul 10 07:57:50 CEST 2006


R. van Twisk wrote:
> Hey Elmar,
> 
> do you think it might be a good idea to also add a prototype library as
> an extension?
> This is a good idea to prevent different extension adding the same
> javalib over and over again
> and to eliminate adding the same lib to the same page. TYPO3 can't
> really prevent that situation
> yet and if we add extensions for popular libs then this might be a good
> thing.
> 
> Ries
> 

Hi Ries,

it might be a good idea to add Prototype, simply because it does different
things.

To prevent extensions using the same function names there is a very clean
way by prefixing the function names with the extension keys xaJax does
support prefixing. => xajax_tutor.

You still have this problem, if you put 2 plugins of the same type into one
page. In that case you need a different soulution. You could prefix a
random number or a counter, to make them different.

Regards

Elmar



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