[TYPO3-core] RFC #12154: Improve flashmessages API

Rupert Germann rupi at gmx.li
Fri Oct 9 10:39:20 CEST 2009


FYI: committed to trunk rev 6125

changed documentation uploaded to:
http://wiki.typo3.org/index.php/Pending_Documentation#doc_core_api
http://wiki.typo3.org/index.php/File:Flash_messages_v2.odt


greets
rupert


Rupert Germann schrieb:
> Hi,
> 
> this is a SVN patch request (second try ;-) ).
> 
> Type: clean-up/improvement
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=12154
> 
> Branches: Trunk
> 
> Problem:
> The current handling of the message queue for flashmessages happens in 
> template.php and is quite unflexible.
> Storing the messages in the user session is very performance intensive 
> and it is not needed in all cases.
> 
> Solution:
> the patch adds a new class which handles the message queue 
> (t3lib_MessageQueue). All message-handling functions from template.php 
> are moved to t3lib_MessageQueue.
> the patch also extends the flashmessages object by a parameter which 
> configures whether the message is stored in the session (these messages 
> will survive redirects) or store them in the messagequeue object (default).
> 
> 
> greets
> rupert
> 


More information about the TYPO3-team-core mailing list