News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way
Object Orientated Programming - The beginning
October 14, 2009 @ 07:58:42

New from there's the first part of a tutorial series looking at working with object-oriented programming in PHP:

It is essentially a different way of constructing your applications. Instead of having loose procedures and functions that are meant to serve one purpose, Object Orientated Programming enables you to put data and functions in one container. This container is referred to as an object. An object enables you to model your application as closely as possible to the real world.

They introduce the object - what it is, some of its properties - and include some example code to show how it works. Their sample defines a class and shows how to call methods and set properties on it. They also touch on some of the OOP basics like constructors and inheritance,

0 comments voice your opinion now!
oop object introduction tutorial

blog comments powered by Disqus

Similar Posts

IBM developerWorks: Ajax and XML: Ajax for chat

Federico Cargnelutti's Blog: Format a time interval with the requested granularity

Lorna Mitchell: Beanstalk, Pheanstalk and Priorities Using the CURL Library on PHP

ServerGrove Blog: Symfony2 components overview: Stopwatch

Community Events

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

library introduction framework symfony2 api list example community voicesoftheelephpant version conference series podcast php7 release laravel interview performance opinion extension

All content copyright, 2015 :: - Powered by the Solar PHP Framework