[TYPO3-ect] New Extension JS-Manager
Steffen Kamper
steffen at sk-typo3.de
Thu Nov 8 10:24:37 CET 2007
"Joerg Schoppet" <joerg at schoppet.de> schrieb im Newsbeitrag
news:mailman.1.1194272401.30192.typo3-team-extension-coordination at lists.netfielders.de...
> 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.
>
>
> Any comments?
>
> Regards
>
> Joerg Schoppet
Hi Joerg,
i will start helping next week, atm i'm little packed.
vg Steffen
More information about the TYPO3-team-extension-coordination
mailing list