Hi
I searched by Google but did not find a good tutorial for php classes. if you know somewhere please let me know
php class
Moderator: General Moderators
-
impulse()
- Forum Regular
- Posts: 748
- Joined: Wed Aug 09, 2006 8:36 am
- Location: Staffordshire, UK
- Contact:
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.
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.