Where to Learn PHP?

Events happening in the community are now at Drupal community events on www.drupal.org.
juliejohnson26's picture

The more I learn about Drupal, the more I realize that I should learn some PHP. Does anyone have suggestions about where to do so? Are there any recommendations for online tutorials? Ideally, I'd love to find a site that teaches PHP within the framework of Drupal, but I realize that might be too much to ask.

Comments

Google is the solution

morrillo's picture

Google for "php tutorial", there are plenty of them around. You can also buy a book:

http://www.amazon.com/PHP-Books-Ive-Found-Useful/lm/R1IJI1A9JMYIM1/ref=c...

they will save you a lot of time.

Cheers,

Gustavo

Gustavo Orrillo
Moldeo Interactive

Book are your friend... Basic

willvincent's picture

Book are your friend...

Basic PHP Reference is obviously available online through php.net, but if you don't really know php at all, I'd recommend picking up a copy of the PHP & MySQL Bible.. as far as PHP within the Drupal framework goes, once you have a handle on the basics of PHP, it's just a matter of mashing the two together.. Drupal is rather particular about how it expects things to be handled in many cases, and there really is no better book available for learning a large amount of that information than the Pro Drupal Development book.

I second that. Perfect advise

ronliskey's picture

I second that. Perfect advise for PHP beginners. I think Pro Drupal Development is a must. Well written, accurate, sufficient depth, but not overwhelming for motivated beginners.

Nice to hear

juliejohnson26's picture

the book is not dead! As a librarian, I always go there first. I just purchased Pro Drupal Development and O'Reilly's Learning PHP & MySQL so I'll see where those take me and then try to get my hands on a copy of PHP & MySQL Bible. Thanks for the responses.

Julie Hamrah Johnson
Freelance Project Manager

Another thought

mathieso's picture

You might try http://coredogs.com. Only looks at the most important bits of PHP. Not complete yet, but there's a lot of stuff there.

Kieran


Kieran Mathieson
kieran@dolfinity.com

What I am using

crubi2's picture

I am just learning PHP myself. I have a subscription to lynda.com; It's my favorite learning tool. The videos make learning really easy. I lost my hearing last summer and was very upset that I could not take classes anymore. I was thrilled when I discovered that lynda.com has captions!
I also use w3schools.com a lot.

Cindy

W3 School is very good

dkinzer's picture

Try http://w3schools.com/php/default.asp to boot-strap yourself and also look at php.net documents for more details.

W3 School is very good

dkinzer's picture

Try http://w3schools.com/php/default.asp to boot-strap yourself and also look at php.net documents for more details.

PHP Training

Imaaxa-Cory's picture

One of the best places I know of, and where I learned is www.lynda.com. I promote it to everyone. $25 for a whole month. They have PHP with MySQL Essential Training, which is the entry level of PHP knowledge. They also have PHP with MySQL Beyond the Basics, which dives into Object Oriented Programming with PHP. The added bonus is you get access to all the other training videos on the site including the three Drupal titles, one of which is on themeing.

Php learning environment

husainsn's picture

Any suggestion about environment and how to set it in order to learn php. Thanks.

Or this

LarsKramer's picture

I liked this book a lot: Learning PHP, MySQL, and JavaScript
http://oreilly.com/catalog/9780596157142/

Don't forget the docs

fending's picture

Sometimes we forget that PHP comes with a manual:
http://php.net/docs.php

While it may not be for beginners, by now you may have looked at enough modules to start looking up functions used within them to see how they work. That's a great on-ramp to learning PHP specific to Drupal, and the user-generated examples in the php docs are (mostly) great. There are a lot of undocumented functions, but it's not likely you'll come across them and they wouldn't necessarily be covered in a book, either.