News Feed
Sections




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

DevShed:
User-defined Interfaces in PHP 5 - Introduction to Core Concepts
December 21, 2005 @ 07:16:28

From DevShed today, there's a new tutorial concerning interfaces in PHP5 and how to define some of your own.

In this tutorial, I'll introduce the use of user-defined interfaces in PHP5, covering the basics of its theory along with the implementation of different examples, aimed specifically at demonstrating its functionality in real applications.

Before we get started, a few items with be required. You should have at least a basic familiarity with the PHP5 syntax, along with an intermediate knowledge of concepts related to object-oriented programming. Therefore, having defined the objectives of the article, let's move on to learning about user-defined interfaces in PHP5.

They still define what the interfaces are before they get started, but shortly there after they jump right in creating some other interfaces: DeSerializer, PostSaver, and MySQLCache. They tie them together in the end to make a functional example...

1 comment voice your opinion now!
user-defined interface php5 core concepts user-defined interface php5 core concepts


blog comments powered by Disqus

Similar Posts

DevShed: Retrieving Information on Several Objects with Destructors in PHP 5

Chris Hartjes' Blog: What's In Chris' Brain, July 2008 Edition

DevShed: Introduction to Using SQLite with PHP 5

KillerPHP Blog: PHP Interfaces: when and why you should use them instead of classes?

DevShed: Defining Some Custom PHP Functions with Yahoo Web Services


Community Events

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


community framework voicesoftheelephpant api interview podcast laravel extension threedevsandamaybe library opinion release development language wordpress introduction laravel5 feature unittest series

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