[PHP] going from procedural style to object orientated style coding
I was wondering if anyone knew of some books/tutorials/howto's, etc on going from procedural style coding to object orientated coding with PHP? I've been using PHP since version 3 and am used to the procedural style, but I'm noticing that PHP's trend is going to the object orientated style, but I'm not familiar with that style. Any suggestions on how to make the switch to coding in object orientated style? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] going from procedural style to object orientated style coding
On 5/30/08, Adam Williams [EMAIL PROTECTED] wrote: I was wondering if anyone knew of some books/tutorials/howto's, etc on going from procedural style coding to object orientated coding with PHP? I've been using PHP since version 3 and am used to the procedural style, but I'm noticing that PHP's trend is going to the object orientated style, but I'm not familiar with that style. Any suggestions on how to make the switch to coding in object orientated style? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php There are a couple of books that I have been using Object Oriented PHP Concepts http://www.amazon.com/Object-Oriented-PHP-Concepts-Techniques-Code/dp/1593270771/ref=pd_bbs_sr_1?ie=UTF8s=booksqid=1212179023sr=1-1 headfirst OO AD http://www.amazon.com/Head-First-Object-Oriented-Analysis-Design/dp/0596008678/ref=pd_sim_b_img_4 PHP architects guide to PHP Design patterns http://www.amazon.com/PHP-Architects-Guide-Design-Patterns/dp/0973589825/ref=sr_1_3?ie=UTF8s=booksqid=1212179213sr=1-3 -- Bastien Cat, the other other white meat
Re: [PHP] going from procedural style to object orientated style coding
On Fri, May 30, 2008 at 4:17 PM, Adam Williams [EMAIL PROTECTED] wrote: I was wondering if anyone knew of some books/tutorials/howto's, etc on going from procedural style coding to object orientated coding with PHP? I've been using PHP since version 3 and am used to the procedural style, but I'm noticing that PHP's trend is going to the object orientated style, but I'm not familiar with that style. Any suggestions on how to make the switch to coding in object orientated style? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php If you want to go the book route, look for Design Patterns on Amazon.com, its a good general overview. That's how I got started, from there it starts to become natural for you. Maybe search around different PHP 5 OOP tutorials and look at some frameworks. -- -Dan Joseph www.canishosting.com - Plans start @ $1.99/month. Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life.