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: Completing a Web Site Template using Inheritance in PHP 5

Nexen.net: April 2006 PHP Usage Stats

PHPBuilder.com: Dynamic XML with PHP

Zend Developer Zone: PHP Built in Input filtering

Stubbles Blog: My wishlist for PHP 6, pt1: The 'object' type hint


Community Events





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


laravel update introduction symfony language opinion release library voicesoftheelephpant tool framework version package series community composer security interview podcast install

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