hostfreak Posted August 22, 2007 Share Posted August 22, 2007 Well, I am really now just starting to learn OOP. I figure I should probably learn OOP for php5, however my host is running php4. Therefore, would it be worth just starting in php4 or what? I could of course run php5 on my own system and learn it that way, however I also want to implement some OOP on my current scripts hosted with my current host (php4). I guess once learned on php4, the transition to OOP in php5 shouldn't be too bad? Link to comment https://forums.phpfreaks.com/topic/66086-solved-beginning-in-oop/ Share on other sites More sharing options...
keeB Posted August 22, 2007 Share Posted August 22, 2007 PHP5 is backward compatible with PHP4, but it's not the best way of doing things. I would recommend you start with PHP5, if only because the syntax and methodologies 'port' better to different languages, and give you a better understanding of Object Oriented Design Link to comment https://forums.phpfreaks.com/topic/66086-solved-beginning-in-oop/#findComment-330543 Share on other sites More sharing options...
hostfreak Posted August 22, 2007 Author Share Posted August 22, 2007 So, I should retain to installing php5 on my own system and practice with that for now? Then, implement it into my scripts and wait until my host switches to php5 or find a new host to implement the scripts with the newly codded OOP. Sounds like a plan. Link to comment https://forums.phpfreaks.com/topic/66086-solved-beginning-in-oop/#findComment-330548 Share on other sites More sharing options...
keeB Posted August 22, 2007 Share Posted August 22, 2007 I think that's the best course. It's easy to switch hosts, mine offers php5 or php4 and is really, really cheap. PM me if you are interested. Link to comment https://forums.phpfreaks.com/topic/66086-solved-beginning-in-oop/#findComment-330574 Share on other sites More sharing options...
hostfreak Posted August 22, 2007 Author Share Posted August 22, 2007 Thanks for the suggestions. I think that I will go your suggested route (run php5 on my own system, learn php5 OOP). Link to comment https://forums.phpfreaks.com/topic/66086-solved-beginning-in-oop/#findComment-330586 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.