Need good book for PHP Programming Exercises

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Redlightpacket
Forum Newbie
Posts: 3
Joined: Mon Jul 30, 2007 7:08 pm

Need good book for PHP Programming Exercises

Post by Redlightpacket »

Is there a good book out there that could help me get some programming experience by doing exercises.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Search the boards for your exact question. This question is asked literally once a week, so I am sure you can find something here if you search or even browse the General Discussion or PHP Code forums.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I don't know what experience level you have with PHP. If your completely new to the language you should look for a book that teaches you basic language syntax and structure. Don't overlook the manual though. The manual is your best friend because it contains many useful code snippets and important details about exactly how specific functions behave.

You may want to set a goal to create something for learning purposes such as a sessions based user authentication mechanism (just a glorified way of saying "this code will make sure your username and password are correct and allow you to view certain things"). A good start would be to search for some tutorials. There are some fairly decent tutorials for beginners online. Use that as a starting point, then post your code in the coding critique forum here where we can have a look at it and help you improve. We generally encourage best practices, especially relating to security.

With all that said, books are your best resource. I believe WROX press has some decent books on PHP, for both newbies and the experienced. Also, Advanced PHP Programming by George Schlossnagle is a book I enjoyed reading. It has some fluff in it for content purposes, but overall there is a lot of good information you can extract out of it.

Hope that helps :)
Post Reply