News Feed
Sections




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

PHPMaster.com:
Lesser-Known "Features" of PHP's OO Model
July 22, 2013 @ 12:21:22

On PHPMaster.com there's a new tutorial from Lorna Mitchell about some of the lesser known OOP features that are built in to the PHP language. She talks about things like interface inheritance, private properties and autoloading and type hints.

The vast majority of today's applications written in PHP are object-oriented, and in general the core OOP concepts are pretty well understood by PHP developers. This article pushes the boundary of your understanding and shows you some tricks, or potential pitfalls depending on your perspective, of OOP in PHP.

Besides the ones mentioned above, she also looks at abstract classes and their use as well as the use of "finally" to handle the cleanup after exceptions.

0 comments voice your opinion now!
features oop model language private inheritance typehint finally

Link: http://phpmaster.com/lesser-known-features-of-phps-oo-model

blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: A Look at Hack, the PHP Replacement in HHVM

Errumm.co.uk: My first experience in building a FaceBook Application in PHP

Nikita Popov: How to add new (syntactic) features to PHP

RefreshinglyBlue Blog: PHP vs Ruby - Practical Language Differences

Think Vitamin Blog: Getting Started with OOP & PHP5: Part 2


Community Events





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


framework laravel interview opinion introduction version library composer release symfony conference artisanfiles series community list voicesoftheelephpant podcast language security tool

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