News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

KillerPHP Blog:
PHP Interfaces when and why you should use them instead of classes?
August 28, 2006 @ 07:35:56

On the KillerPHP blog today, there's this new post that asks the question of when the choice should be made to use interfaces and why they should be used instead of classes in your code. It's an article/podcast, so for the full effect, grab the audio here.

The post itself are really just notes to support the content in the podcast, but they provide plenty of information by themselves. They talk about what interfaces are, include examples of both them and a class (showing how they differ) and an example of a class using and interface (dog implementing animal).

There are also a few other notes there at the bottom mentioning the purpose of interfaces, which one to choose when, and two miscellaneous notes about how interfaces can help both you and your code.

0 comments voice your opinion now!
interface class mp3 podcast explain example purpose choice interface class mp3 podcast explain example purpose choice


blog comments powered by Disqus

Similar Posts

DevShed: Using Timers to Benchmark PHP Applications

php|architect Podcast: Bake'n'Shake (Ep. 2009-07)

PHPClasses.org: Lately in PHP, Episode 26 - Accelerating PHP 5.4 with updated PHP cache extensions

Mike Bernat's Blog: The Problem with Wordpress and Drupal

PHPClasses.org: Lately in PHP podcast episode 20 - MicroPHP vs Complicated PHP


Community Events

Don't see your event here?
Let us know!


library podcast php7 framework language opinion laravel5 voicesoftheelephpant release interview extension laravel wordpress introduction api version unittest series community example

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework