[TYPO3-core] RFC: Load javascript libraries

Ingmar Schlecht ingmar at typo3.org
Fri Oct 12 23:19:27 CEST 2007


I would go without the basename() trick because libaries might be in a 
different directory but have the same basename like mootools/effects.js 
and scriptaculous/effects.js.

+1 based on reading the patch for the patch if you remove basename().

cheers
Ingmar


Benjamin Mack schrieb:
> Hey Ingo,
> 
> I totally agree. Let's get this into the BE.
> 
> Attached is my revised patch (with the basename feature), still waiting 
> for two +1s.
> 
> greetings,
> benni.
> -SDG-
> 
> www.xnos.de // www.xnos.org
> 
> 
> Ingo Renner wrote:
>> Hi all,
>>
>>
>> just to interupt this little discussion...
>>
>> I think the solution is quite easy in this case:
>>
>> We take only care of the BE, if someone wants to write BE modules he 
>> needs to use or methods to load the JS libs. We could still have the 
>> full path as parameter and check whether a lib is loaded already 
>> through the basenames.
>>
>> For the FE we can simply hand this over to the ECT so they can take 
>> care of it. In fact there are already nice extensions like 
>> scriptaculous, extjs and so on...
>> The ECT also provides a pear manager, they could provide something 
>> similiar for javascript, too I guess.
>>
>> all the best
>> Ingo
>>
>>
>> _______________________________________________
>> TYPO3-team-core mailing list
>> TYPO3-team-core at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-team-core


More information about the TYPO3-team-core mailing list