A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

OOP Basics in PHP 5

1.2k views · started by Artificial ·
#1
OOP Basics in PHP 5
Introduction
PHP is a remarkable language, and Object Oriented Programming (OOP) is a remarkable concept. With object oriented design at the heart of PHP 5 and 6, developers can’t afford not to use it; it is a fundamental skill in increasing demand. This tutorial will introduce the basics of OOP in PHP5, and will show some of the major improvements from previous versions. We are just going over the basics, and will save the more advanced features for a future post.

OOP Basics in PHP 5
#2
Thanks for this arti ;D
(even though i know about this stuff already :P )
#3
Cool. Now I know how classes work.
I never bothered to learn to use them since I keep putting off every major project I've considered in the last several months.
Anyway, thanks
#4
OOP is overrated. People use OOP for things that certainly do not require it, thus making the overall program more bulky and slower to parse. I've only needed OOP maybe twice ever, so I can't say I understand the OOP craze.
#5
OOP Is very useful :D

Like, when im editing and adding some functionality to the Multibot Framework.

It helps.

Even if you dont use it.. Great thing to know.
#6
GAMEchief wrote:
OOP is overrated. People use OOP for things that certainly do not require it, thus making the overall program more bulky and slower to parse. I've only needed OOP maybe twice ever, so I can't say I understand the OOP craze.


Either way, the fact that I had 0 understanding seemed like a flaw in my PHP education.
#7
GAMEchief wrote:
OOP is overrated. People use OOP for things that certainly do not require it, thus making the overall program more bulky and slower to parse. I've only needed OOP maybe twice ever, so I can't say I understand the OOP craze.


I guess it's mostly needed for large projects. Definitely not necessary in small scale applications.