[TYPO3-mvc] collecting (state) info in FLUID

Xavier Perseguers typo3 at perseguers.ch
Thu Feb 4 13:20:30 CET 2010


Hi Masi,

> Another question that arose from the widget ideas is how can I collect extra information to be used
> in and possibly outside ouf FLUID.
>
> I'm thinking of JS code that needs to be added before or after the generated HTML snippets. Of
> course I can add as many SCRIPT tags I want to, but just one (or two) will make a shorter and
> possibly faster page. Where to put the data and where to render it? Perhaps with a dumb view hellper
> that simply renders the collected JS code? But at least in the BE I would want to use the JS APIs to
> do that.
>
> But equally important is the fact that I need to load some JS libs to do anything useful. And maybe
> I need some init code in the HTML header. How would I set that?

Did you had a look at mvc_extjs?

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en


More information about the TYPO3-project-typo3v4mvc mailing list