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 Message Brokering with RabbitMQ

SitePoint PHP Blog: What to Expect from Yii 2.0 Localize Your Web Application for Any Country With the Google Translate API Better Understanding PHP's Garbage Collection Programming With Yii2: Blameable Behaviors

Community Events

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

library opinion api configure conference language symfony2 interview podcast community series php7 install application release performance introduction laravel example framework

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