News Feed
Sections




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

TheWebSqueeze.com:
PHP5 Abstraction for the Rest of Us
May 29, 2009 @ 12:07:27

If you're a PHP developer and haven't made the jump to object-oriented programming yet, you definitely need to check out this extensive tutorial from thewebsqueeze.com. It's packed with plenty of OOP and wants to teach it all to you.

This tutorial aims to remove some of the curly-brace-filled haze that often surrounds OOP and by the end of this lesson you will have created a class, instantiated an object, given inheritance to some children and come to understand why OOP is such a powerful tool to have at your disposal. If you have no idea what any of the above means but are shaking with a desire to find out, read on as we look at Abstraction for the rest of us.

They work from the ground up - defining classes, setting properties with visibility, adding methods and a constructor, extending classes and using static methods/variables. They haven't updated it with the new namespace operator ("\" instead of "::") but other than that, it's a great overview. There's even some type checking and input filtering to round out the code examples.

0 comments voice your opinion now!
beginner tutorial objectoriented oop


blog comments powered by Disqus

Similar Posts

The Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload Thumbnails

VG Tech: Swagger Docs in ZF2 with Examples - Part 1: Setup and Annotations

Lorna Mitchell's Blog: Fetching Namespaced XML Elements With SimpleXML

Vexxblog: How to convert/encode files to FLV using FFMPEG & PHP

David Coallier's Blog: Installing PHP6 (For beginners)


Community Events





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


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

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