[TYPO3-ect] New Extension JS-Manager

Franz Koch typo.removeformessage at fx-graefix.de
Mon Nov 5 21:52:43 CET 2007


Hi,

> after some discussion with Steffen Kamper about a general way for
> including external js-libraries, here are my thoughts about it:
> 
> The extension will be called "jsmanager". The extension on its own can
> do nothing :-)
> 
> Every js-library have to be added to the ter with its own extension
> (e.g. jquery, extjs)
> 
> Each extension have to implement an interface of jsmanager and have to
> register itself to jsmanager.
> 
> After this, on each page, where you need it, you can include a
> ts-template for jsmanager, within this there is some predefined ts-code.
> jsmanager can now check each condition (saying which jslib to include
> and calls a predefined (interface) method of the adequate class in the
> specific js-lib-extension. the class in each js-lib-extension is
> responsible for defining all the necessary script-, css-tags and
> returning them to jsmanager.
> After processing the config, jsmanager does the inclusing in the page-hader.
> 
> Additionally there will be perhaps a programming-interface to call the
> jsmanager-functions directly within an extension.
> 
> The last step will be a backend-module, which lists all registered
> js-libs and the possible config-options.

nice. Might be a good sysext.

> Any comments?

Why is it not finished yet - what are you waiting for ;) Just kidding.

--
Greetings,
Franz


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