[TYPO3-core] RFC #9520: add a scheme to support singletons with t3lib_div::makeInstance

Dmitry Dulepov dmitry at typo3.org
Thu Oct 9 06:32:03 CEST 2008


Hi!

Firsts, +1.

Ingo Renner wrote:
> please name the interface t3lib_Singleton (uppercase S)

Good point. How do we name such classes actually? We do not have any single policy on it. We have t3lib_TCEMain and t3lib_TCEforms but t3lib_transferData and t3lib_refIndex.

Should we use capital if class name is a single work after prefix? I.e. prefix_Single and prefix_multipleWords? Makes perfect sense, doesn't it?

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/duplicate_content_with_realurl/


More information about the TYPO3-team-core mailing list