[TYPO3-core] RFC #11684: Add support for flash messages in the backend

Francois Suter fsu-lists at cobweb.ch
Tue Aug 18 23:42:10 CEST 2009


Hi,

> What i mislike is that i have to instanciate it for each message. 
> Shouldn't it be a singleton instead which collects all the messages?

Each message is different, so class t3lib_FlashMessage cannot be a 
singleton. I think there won't ever be that many messages at any given 
time, so it's an acceptable overhead and it's very clean that way.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list