Hello Fellow DevNet programmers,
I'm wishing to learn the ways of PHP 5's new class system; I was hoping there was a better/clearer tutorial out there then the PHP Manual. For the record I know how to program classes in PHP 4 quite well. (Ex: As shown Here) I wish to learn such things as the static/protected/public variables and functions, Object Interfaces, Autoloading Objects, Scope Resolution Operator, Class Abstraction, Overloading, etc. Is there any tutorial or article that you know of that clearly explains this so I can start programming classes in PHP 5?
[Request] PHP 4 to PHP 5 Class Tutorial?
Moderator: General Moderators
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Re: [Request] PHP 4 to PHP 5 Class Tutorial?
I'd be tempted to just research some design patterns which make use of PHP5. Read the user comments in the manual too. It's a bit general to just ask for a tutorial for "programming classes in PHP5". OOP is a huge arena to step into; you just need to learn as you go.DaveTheAve wrote:Hello Fellow DevNet programmers,
I'm wishing to learn the ways of PHP 5's new class system; I was hoping there was a better/clearer tutorial out there then the PHP Manual. For the record I know how to program classes in PHP 4 quite well. (Ex: As shown Here) I wish to learn such things as the static/protected/public variables and functions, Object Interfaces, Autoloading Objects, Scope Resolution Operator, Class Abstraction, Overloading, etc. Is there any tutorial or article that you know of that clearly explains this so I can start programming classes in PHP 5?
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
- DaveTheAve
- Forum Contributor
- Posts: 385
- Joined: Tue Oct 03, 2006 2:25 pm
- Location: 127.0.0.1
- Contact:
Found one very helpful site http://www.phpfive.net/article4.htm