treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Please suggest a book for PHP

  • My knowledge of PHP is starting level. Please suggest a book for learning PHP.
  • You may not immediately want to look for a book depending on how you learn. The way I learned coding was by doing. I had read 2-3 books and just couldn't grasp abstract concept without practicality being forced upon me.

    So what I did was began researching how the framework functioned. Then I started looking at existing code and figuring out how it applied to my knowledge of the framework. And then I created a series of projected I wanted to copy and wrote all of the code.

    Just my 2 cents :)
  • @JoshWhite .... which framework did you use?
  • there's Php & MySql development by Luke Welling but it's a bit dated (2008)
    Apress has just released a new version of Php & mysql from novice to professional.
    You could also check out the Php Live course at sitepoint. Actually the videos are available on the sitepoint youtube channel for free.
  • mostly javascript and php.
  • @PaulDeWouters .... thanks for suggesting sitepoint videos....i'll go through them
  • I've been going through PHP Solutions: Dynamic Web Design Made Easy by David Powers. It's a second edition for PHP5. I feel like I've been learning a lot, and have had to stop and re-work some of my existing sites using the techniques he teaches.

    Occasionally I've been concerned with examples and code he builds - he doesn't cover all the safety checks you could use in validating forms, for example, and sometimes doesn't even mention concerns like that. But overall, it's been a fantastic learning tool, and probably will stay on my shelf as a reference for a long time.