[TYPO3-core] RFC: Load javascript libraries
Benjamin Mack
mack at xnos.org
Tue Sep 18 19:19:26 CEST 2007
Hey Dmitry,
Dmitry Dulepov [typo3] wrote:
> I look to this patch for some time already. While I like the idea as
> such, I do not like much hard-coding dependencies in the code. And I
> do not know how to make it better :( May be someone else have the
> idea.
I know, I don't think it's THE way to go, but I really think we should
have a BE interface for including the libraries introduced. There are
already 3 of my projects waiting to be submitted to this list where I
use prototype and I'd like to use a function like that, otherwise it's a
strpos($JScode, 'prototype.js') === false, which is a pain in the butt.
It just should be a nice wrapper so people don't have to write their own
workaround for this.
As the contrib/ directory expands we should, of course, come up with a
better solution. But for 4.2 I think it's necessary to introduce this
function. I'm still waiting for some more responses (or better: better
solutions!).
greetings,
benni.
-SDG-
More information about the TYPO3-team-core
mailing list