[TYPO3-core] RFC: Put JavaScript files into separate directory

Dmitry Dulepov [typo3] dmitry at typo3.org
Thu Sep 27 09:18:21 CEST 2007


Hi

Oliver Hader wrote:
> what do you think about moving the JavaScript files to a separate
> directory in ./typo3/ and ./t3lib/, like e.g. ./typo3/jslib/ and
> ../t3lib/jslib/? This new directories could also have the name 'jsfunc',
> instead of 'jslib'...
> 
> The candidates would be:
> ../typo3/jsfunc.tbe_editor.js
> ../typo3/md5.js (+ renaming to jslib.md5.js or jsfunc.md5.js)
> ../typo3/tab.js (+ renaming)
> ../typo3/tree.js (+ renaming)
> ../t3lib/jsfunc.evalfield.js
> ../t3lib/jsfunc.inline.js
> ../t3lib/jsfunc.menu.js
> ../t3lib/jsfunc.updateform.js
> ../t3lib/jsfunc.validateform.js
> 
> What do you think?

+1 (with 'js' as directory name) + _.htaccess that enables client caching for these files (examples already in the core).

-- 
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs


More information about the TYPO3-team-core mailing list