[FLOW3-general] Interface in FLOW3

Dawid Pacholczyk dpacholczyk at gmail.com
Mon Mar 14 09:45:02 CET 2011


W dniu 2011-03-14 09:06, Robert Lemke pisze:
> 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
>

Great to read that :)

Thank you for answer and for FLOW3 :)

Best regards,
Dawid Pacholczyk


More information about the FLOW3-general mailing list