php class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

php class

Post by m2babaey »

Hi
I searched by Google but did not find a good tutorial for php classes. if you know somewhere please let me know
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

m2babaey
Forum Contributor
Posts: 364
Joined: Sun May 20, 2007 9:26 am

Post by m2babaey »

thanks
php.net pages are not usually enough for a beginner like me
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

I have only recently understood the need for classes. Beforehand I spent many hours reading tutorials and books over and over but it never quite clicked as to why OOP was praised so much. It was only untill I was asked to write a class at work and somebody went through and showed me the advantages that I truly understood why anyone would want to write code in OOP.

So I suggest looking at existing classes and try and understand what that code would look like if it weren't OOP and how the performance would be affected.
Post Reply