[TYPO3-ect] xaJax 0.2.4
R. van Twisk
typo3 at rvt.dds.nl
Mon Jul 10 14:12:35 CEST 2006
Elmar Hinz wrote:
> 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.
>
Indeed...prototype is just a nifty library with nifty javascript
functions :)
> 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.
>
I was talking about this situation indeed. Does xajax have a API to tell
it to include itself on the page.
Bust just once, even if different plugins request it....? (I Have you to
take a quick peek into it).
Ries
> Regards
>
> Elmar
> _______________________________________________
> TYPO3-team-extension-coordination mailing list
> TYPO3-team-extension-coordination at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-extension-coordination
>
--
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web: http://www.livetravelguides.com
More information about the TYPO3-team-extension-coordination
mailing list