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? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.