[FLOW3-general] Interface in FLOW3
Robert Lemke
robert at typo3.org
Mon Mar 14 09:06:59 CET 2011
Hi Dawid,
Am 13.03.2011 um 14:55 schrieb Dawid Pacholczyk:
> Is it allowed to create na interface in my FLOW3 application ? For example I want to create some standard of creating new controllers (or other object) in the system by other programmers. Can I create Interface use them with out any problem in FLOW3 ?
yes, we actually encourage you to program against interfaces. While it's technically no problem to provide interface for any kind of code, we suggest that you only provide interfaces for globally unique objects (ie. "@scope singleton") or for objects you're going to instantiate through a factory. But I that's not really FLOW3 specific ...
Cheers,
Robert
More information about the FLOW3-general
mailing list