mattsanchez — 2013-01-29T22:11:17-05:00 — #1
Are you currently learning how program in PHP? If so, what learning materials are you using (books, tutorials, friends, etc.?) Or, if you're already a PHP master, what advice would you have for someone who is just starting to pick up the language?
PHP Crash Course: Learn PHP in 14 easy lectures by Robin Nixon
This book is designed for beginners to the language and programming in general. I would say that it's an 'OK' book... I bought the Kindle version and it's full of formatting and coding errors. Other than that, the concepts are well explained and easy to follow along.
I have a subscription to lynda.com and I'm using their beginner PHP course to supplement the Crash Course book. The instructor is great and it's a video tutorial, which makes following along with coding examples really easy. The only problem is that the course is from 2007. Still, I can always consult the language manual at php.net to check whether specific information from the course is still relevant.
cups — 2013-01-30T04:34:57-05:00 — #2
Are you completely new to programming, else, what other languages have you learned?
vectorialpx — 2013-01-30T05:05:04-05:00 — #3
In my opinion, no one may be considered "master", because programming is a relative thing.
If you know the language that will not make you a "master programmer"... you will just know a language.
Programming is learned by experience and, trust me, you can never reach the top level. (just my opinion)
Now, as an advice: the best way to learn programming is to start doing things.
After you took a look over the manual (to understand the language and it's posibilities) just
pic a theme (a project) and try to make it by yourself. Some examples: a blog, a forum, an online store
Trying to do things will raise questions, you'll search and gain experience. That's a real lesson!
Reading should be just a "first step", to understand "what can PHP do", get in touch with the web-area,
understand HTTP and what is Apache (or a web-server) and how it works.
So, just start doing things and get a target.
When you get stuck, come here, present your problem and we'll find an answer.
tomb — 2013-01-30T05:46:19-05:00 — #4
Books are fine, but I always found the best way to learn was by doing. I never followed a book or a course when I was starting out. I set myself projects and built them. I had to look up how to do specific parts (and books would be useful for code examples) but I found I learned quite quickly just by doing. Also, seeing results is very satisfying!
system — 2013-01-30T08:27:44-05:00 — #5
Yeah, I agree with this.
When I was first starting out though, I did find it quite useful to have a book that took me through stages. Nowadays I tend to learn by doing and by messing about with frameworks and checking out other peoples libraries on places like Github etc.
It's useful to keep up to date with certain web dev blogs too. I find http://nettuts.com is a good one.
starlion — 2013-01-30T08:54:58-05:00 — #6
As a programmer before i started PHP, I never really read a book on the subject.
What did I use to learn PHP? PHP.
Take some code that works, see how it does what it does, and keep the PHP "Manual" as a reference guide for functions I was unfamiliar with.
Now, If i wasnt a programmer to begin with, this would be a poor approach. (which, incidentally, is why Cups asked you the question he did)
michael_morris1 — 2013-01-30T15:09:00-05:00 — #7
I got started by studying vbulletin 3.0's code and hacking it -- a lot. Not the best way, but it worked.
augustincake — 2013-01-31T04:46:49-05:00 — #8
I would like to suggest the best online tutorial site is w3schools.Its easy to learn basics of web development..After learning basically u should implement some innovative things, while doing the projects work with basic ideas,then only you can able to find out some good results in coding...
fergal — 2013-01-31T12:52:25-05:00 — #9
I've been learning from the video tutorial series at The New Boston. Personally I find them very helpful and they are free. I also have a copy of "Sams Teach Yourself PHP, MySQL and Apache" that I dip into when I need additional info in a particular area.
mattsanchez — 2013-02-02T20:05:56-05:00 — #10
Don't use w3schools. They post erroneous code and are not associated with the w3c, as their name would imply. Check out this site, w3fools.com
mattsanchez — 2013-02-02T20:09:03-05:00 — #11
mattsanchez — 2013-02-02T20:13:50-05:00 — #12
I couldn't agree more... I find that I learn the most when I start a project and then only look at resources/learning materials when I get stuck. And the Sitepoint forums have been very helpful as well.
system — 2013-02-04T00:09:11-05:00 — #13
I suggest you to go to an institute because to learn online you need to dedicated enough.