Saturday, January 5, 2008
How to Learn PHP and MySQL as Quickly as Possible
Learning Programming is a tough subject, no matter which language you choose.
It took me months to figure out php and MySQL enough to build real, quality, Websites that were "good enough".
Eventually I figured out the easiest way to learn. It took me MONTHS to figure it out... but I did.
So what does it take to learn a Programming Language such as PHP?
"Doing" is what it takes. 90% of the people who try to take on such a task end up feeling "dumb" or "slow". This usually is NOT the case. I've found that, like myself, most people try to learn PHP from reading and going through code to "understand" what it means.
I was the same way until I was told "just do it". My mentor must have been the most patient man on the face of this earth - because I was constantly telling him I could not do it. But he kept on me telling me the same line I'm telling you: "just do it".
What does this mean? It means trying to create your very own scripts, whether small or of decent size. Start out with printing out the date to the browser. Continue with Loops. Create scripts that create mathematical equations. Print out your name, last name, etc.
Once you figure out the basics, make sure you continue to learn by doing! You will never be able to take your skills to the next level just by reading.
I also stress to other newbies that they need to learn by watching as well. Writing code can become quite a task and it's better to see someone else do that, if possible (which it is by watching videos).
It's quite easy to get caught up in bad practices while writing code if you do not follow good programming standards. Sloppy (spaghetti) code seems to be the evil of the programming world that occurs from newbies who read online tutorials by so called "programmers". Most of these "programmers" are NOT what they claim to be. So be careful of whom you choose to learn from.
PHP and MySQL (database) go together like peanut butter and jelly. I cannot tell you how important it is to learn these two languages together. MySQL may not be the "best" Database in the world but it is very easy to learn and very capable of building large scale applications.
So remember: if you're not "doing", you're not learning. Start learning PHP basics and make sure you're following along and trying to code your own small scripts when starting out. I know, I know... it LOOKS like it's too hard. It's not. This is not something you're going to learn overnight, but it's quite possible that you can learn enough to do what you need to do in just a matter of weeks!
Keep learning and continue doing.
If you're looking to become a PHP programmer - you need to see these videos!
By Clint Lenard
Subscribe to:
Post Comments (Atom)
1 comment:
Good guidance..And i would like to refer my friends also who are looking up for this..Cake PHP Programmers
Post a Comment