where to find "template" interfaces?
Posted
by fayer
on Stack Overflow
See other posts from Stack Overflow
or by fayer
Published on 2010-05-03T09:02:38Z
Indexed on
2010/05/03
9:08 UTC
Read the original article
Hit count: 189
programming
|php
i wonder where one can find template interfaces.
eg. i am creating these classes that implements iLog:
DatabaseLog
ScreenLog
FileLog
i wonder what methods should a typical Log class have?
is there a set of interfaces you could just implement/learn from rather than reinvent the wheel and have to think about the method names.
eg. Interfaces:
iLog
iDatabase
iErrorMessage
etc.
Thanks
© Stack Overflow or respective owner