[TYPO3-dev] Data exchange between USER/USER_INT
Ernesto Baschny [cron IT]
ernst at cron-it.de
Mon Dec 3 20:48:15 CET 2007
Hi,
Steffen Kamper wrote: on 03.12.2007 14:16:
>> Steffen Kamper schrieb:
>>> You're idea is good and imho the only way to get the data. Session is the
>>> wrong way because multiple windows. So the central way is the
>>> TSFE-Object.
>>> But in this case the USER_INT has to be on the same page, what happens if
>>> you are on a different page, is the data in TSFE accessible ?
>> Yes, this works only if both objects are on the same page. If plugins
>> are on differen pages or if one object is generating data for the whole
>> site (e.g. a plugin that shows the wheather and is visible on every page
>> of a website), an own caching is required.
> i would vote for a general cache solution so any extension (USER) can write
> data to. Then it's not limited in any way.
> e.g. new table cache_extensiondata where data is written to
>
> vg Steffen
An USER caching some data doesn't seems needed to me (as its output will
already be cached. You mean an USER_INT caching data, right?
We already have this method in TYPO3 (since ever?), you just need to use
it: Table is cache_hash, t3lib_page::getHash and t3lib_page::storeHash
is the API to access it.
Cheers,
Ernesto
More information about the TYPO3-dev
mailing list