Jump to content

[SOLVED] Beginning in OOP


hostfreak

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.