r/PHPhelp • • Feb 01 '17

New to learning OOP

Some 8-10 years ago I was very much into learning php but after I got into it and basically could do pretty much all I needed, I was no longer interested in learning the new methods of coding and updating my skills. To this day I still maintain a website that was written a long time ago, however recently I have been wanting to learn how to code in OOP and probably seek a job in the industry but I find it really hard. I can't distinguish OOP from procedural and I feel like I am starting to learn an entirely new language. Can you give me any directions where to start? I tried looking for video tutorials in youtube but the only examples I find are either too hard for me or cats and humans which I don't find useful at all. I want to know how to work with databases but beginning with the simplest examples.

9 Upvotes

6 comments sorted by

1

u/23r01nf1n17y Feb 02 '17

Laracast has good Videotuts

1

u/Vetpiet Feb 05 '17

I did a free Udemy OOP PHP course when I needed a refresher. Signed up for a $10 Laravel course after that... Helped a lot...

2

u/[deleted] Feb 02 '17

[removed] — view removed comment

1

u/dad-of-redditors Feb 02 '17

This was a very helpful explanation. Knowing about the origins or evolution of a technology helps understand how it works. I'm in the same situation as OP - I was a COBOL and C programmer years ago and am trying to teach myself PHP. Looking at object oriented code makes my head spin. So I guess what we need is an OO tutorial that starts out with "hello world" and builds on that. Any suggestions?