News Feed
Jobs Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way Blog:
Why are interfaces widely ignored in the PHP world...
May 17, 2010 @ 16:09:23

In a new post to the blog today Christian looks at interfaces in PHP and why they seem to be ignored in a lot of the development work being done.

Every once in a while I stumble upon interfaces or somebody mentions them to me. Whenever this happens I realise that the use of Interfaces as an OOP key feature in PHP is next to none at all. But why is that?

They note that, while interfaces are used all over projects in other languages, it seems like PHP development has steered away from their use. They define normal interfaces and abstract interfaces for those that don't know and talk about the differences between them. He also includes a brief code sample with description of its use and a bit about interfaces and frameworks.

1 comment voice your opinion now!
interface ignore symfony abstract

blog comments powered by Disqus

Similar Posts

Liip Blog: Symfony documentation in French is online!

PHPImpact Blog: TDD with Symfony: The first test always fails

Dave Dash's Blog: Using sfDoctrine to match allowed email domains

Symfony Blog: New symfony book: "A Gentle Introduction to symfony 1.4"

Symfony Blog: BugHuntDay Report

Community Events

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

language opinion install podcast unittest package framework application release introduction facebook component performance support hhvm security symfony2 database composer hack

All content copyright, 2014 :: - Powered by the Solar PHP Framework