I want to share some experience with people who want to learn PHP
Firstly I want to ask you, please STOP watching video-lessons! Start to READ books and use GOOGLE every time when you have questions. Because in 99% of situations you have similar to some one problem and it was already solved!
Lets begin from you local development environment. What you will need:
- better to use PC with some *nix operating system, I prefer to use ubuntu, but on your discretion.
- web-server, nignx or apache with php-fpm or mode-php, I suggest to use nignx1.9 + php7.0.
- editor or IDE, I use PhpStrom for example, and it’s just awesome IDE and have everything I need.
Now a bit about other important tools that you will need:
You will need some time to learn how to install and use this tools, but belive me, you need it.
Don’t build from sources, use PPA.
So, you have spend tons of hours and you have all tools up and running, and you asking yourself what next?
And next you will read http://www.phptherightway.com/.
You need to read it from being till the end. Get yourself a notebook and make some notes while reading, it will help to remember new things. Read it few times!
You MUST read about PHP Standards Recommendations http://www.php-fig.org/psr/, especially about autoloading and coding style(psr-1,psr-2,psr-4).
Get into the habit read good books about programing and write code – EVERY DAY!
To practice you can try to solve popular and frequent problems, like sorting, pagination, some logical exercise or try to develop your blog (:
Lean how HTTP protocol is working. Because you use it every day.
Good book about OOP – PHP Objects, Patterns and Practice,by
Also try to find a mentor, who will push you to new knowledge and slap for your shit code.