Tips to make learning PHP easy
Iâ€™ve been building web apps for over 20 yrs, and teaching PHP since 2006. In that time, Iâ€™ve boiled down all my teaching and coding experience to three powerful tips. These three simple things you can do, will make learning PHP development much easier for you:
- Take hand written notes as you learn. Itâ€™s one thing to watch a video, or read a book. Itâ€™s a whole different experience when you take notes as you are learning. The simple act of putting pen to paper, will tell your brain that the information is more important than normal.Because of this, your brain will put more effort into remembering what you are writing the notes about.
… The more senses you activate when learning or experiencing something, the more powerful the memory will be. So when watching a video while writing notes, you are activating sight, sound and touch. The touch comes from the contact of the pen in your hand. By activating the touch feeling, you are giving your brain that much more of an association to the information.
- Write code as soon as possible! There is nothing like doing it for real. When you write code, even when you are not sure what all the code means, you will see that your understanding of the code, will come much more quickly. So donâ€™t be afraid to start writing code! For example, on day one of my popular web developer course, students write code…. And they will all tell you, how easy it was to learn PHP with me. A part that success comes from students writing code on day one.
- Be prepared to make lots of mistakes! PHP programming is an error-prone process. Even the best coders in the world are constantly making mistakes. Thatâ€™s why you have Windows 10, and not just Windows. OK, new versions of apps come out for two reasons:
- To fix bugs. Bugs are mistakes in code written by professional programmers.
- To add new features.
Nonetheless, making errors and writing PHP code go hand-in-hand, so donâ€™t let it bother you when you make them. You might not get something on Monday, but donâ€™t worry,Â it will probably come to you by Wednesday. In the end, all that is important is that you learn. No one will care if it took you a little extra time.
Hope that helps,