note 86299 rejected from language.oop5.interfaces by frozenfire
| From: | frozenfire@php.net | Date: | Mon, 02 May 2011 04:45:19 +0000 |
| Subject: | note 86299 rejected from language.oop5.interfaces by frozenfire | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-179325@lists.php.net to get a copy of this message | ||
Note Submitter: Jeffrey
----
Interfaces are also good for connecting your code to periphial devices and/or other software
applications - of which you are not the author of. For example, your digital camera has many
functions built-it, and when connected to your computer, the software running locally uses the
camera's "interface" to communicate with it.
When you look at interfaces from this point of view, the program you write is like
"extending" the actual device or applications internal software, but without the original
source code or classes.