News Feed
Sections




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

Think Vitamin Blog:
Getting Started with OOP & PHP5 Part 2
April 02, 2010 @ 13:57:00

On the Think Vitamin blog the second part of Lorna Mitchell's look at using object oriented programming methods in PHP5-based applications. In this second article in the series, she gets into some more advanced techniques hinted at in the first article.

This time around we'll look at some more advanced concepts and some more practical examples of building code, covering use of constructors and how to add access modifiers in to control how calling code can operate on your objects. We'll also show off how to create static methods and properties and, perhaps more importantly, illustrate applications of these features.

The tutorial is filled with code examples of things like static methods, properties, cloning objects and using the "instanceof" operator to check what kind of object you've been given.

0 comments voice your opinion now!
oop php5 tutorial advanced


blog comments powered by Disqus

Similar Posts

Roadsend.com: SiteManager Library Being Ported to PHP5

IBM developerWorks: Ajax and XML: Ajax for chat

Cats Who Code: Sending SMS with PHP and TextMagic: An A to Z guide

IBM developerWorks: What's new in PHP V5.2, Part 5: Tracking file upload progress

Konrad Podgórski: A better way to work with assets in Symfony 2


Community Events

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


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

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