[TYPO3-dev] new extension: vx_xajax_shoutbox

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Tue Jul 18 16:11:33 CEST 2006


Hi Ernesto,

Ernesto Baschny [cron IT] wrote:
> 
> If you are using eID you don't have to worry about TYPO3 caching at all.
> 

There was no caching problem. Only my surprise of the absence of a caching
problem. :-)

> If you use the approach of handling your ajax responder in a PAGE object
> with a different typeNum (say 91), you can just disable caching in this
> page object altogether. Something like that:
> 
> ajax = PAGE
> ajax.typeNum = 91
> ajax.no_cache = 1
> ajax.10 < plugin.tx_yourplugin_pi
> ajax.10.isAjax = 1
> 
> You just have a problem if you are handling your ajax response in the
> same PAGE/pid/plugin environment as your regular script (which is either
> an USER or an USER_INT. But I wouldn't recommend that anyway.
> 

That is an alternative. I still prefer the method of xajax_tutor to this:

* It doesn't require an extra plugin
* It doesn't require extra setup
* It needs very few alterations of the existing code
* It has an automatic fallback to classic behaviour if you disable JS

The last point counts much for me.

For performance the eID method is probably best. But you have to do it all
without the assistance of the typical TYPO3 environment. Right?

Regards

Elmar















More information about the TYPO3-dev mailing list