surot526 Posted July 4, 2010 Share Posted July 4, 2010 Hi PHP programmers! I am new to PHP and still trying to learn.... I believe I already understand the basic... I have noticed that there is another way of programming php which is oop... Is it required to learn it? Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/ Share on other sites More sharing options...
Mchl Posted July 4, 2010 Share Posted July 4, 2010 It is not required, but it is useful. Don't bother yourself with it however, until you grasp procedural programming really well. Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1080968 Share on other sites More sharing options...
ChemicalBliss Posted July 4, 2010 Share Posted July 4, 2010 It is a good idea as mchl stated to stick to learning the procedural standards. Even OOP uses the procedural style to some extent. Although, if your feeling bad (good bad), then head over to a PHP Class Object Tutorial, or read through the OOP design tutorials on this website. The underlying reason for OOP is to make your code easier to: Read + Understand, Modify, Coordinate and generally manage. For instance in OOP programs have a data access layer, which is a CLASS that communicates between your live code and the actual database (such as mysql), and can make it much easier to migrate to say, Oracle DB. -cb- Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1080973 Share on other sites More sharing options...
surot526 Posted July 4, 2010 Author Share Posted July 4, 2010 Wow! that is a fast reply... thanks guys!!!! I am actually planning to start as a freelance as my second job....and also as a hobby as well... I hope I'll be I master php.... Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1080982 Share on other sites More sharing options...
Mchl Posted July 4, 2010 Share Posted July 4, 2010 Good luck! Just don't get discouraged too soon Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1080984 Share on other sites More sharing options...
ignace Posted July 4, 2010 Share Posted July 4, 2010 Good luck! Just don't get discouraged too soon Yes as PHP is easy to learn, but hard to master. Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1081070 Share on other sites More sharing options...
GetFreaky Posted July 5, 2010 Share Posted July 5, 2010 When I moved on to learn new programming languages such as Python, I thikn it put the whole "OOP" type of coding into perspective for me. I believe it should be how everyone writes their code, its more constructed and clean if I might addd.... Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1081123 Share on other sites More sharing options...
surot526 Posted July 5, 2010 Author Share Posted July 5, 2010 i'll try to learn that way.... thanks guys... i think it will be a good foundation then.... I have gone through the tutorials here... reading through but hard to understand... I think I have to adjust first my logic level to a higher one(nose bleeding!!! )... now I have to learn to be more patient and to not to give easily.... Quote Link to comment https://forums.phpfreaks.com/topic/206691-procedural-vs-oop/#findComment-1081205 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.