Programming PHP, 2nd Edition By: Rasmus Lerdorf, Kevin Tatroe and Peter MacIntyre Published by O'Reilly
Programming PHP 2nd Edition is an update in the series and has its focus on PHP 5. The book is a must have for both beginners and professionals in php programming as it takes you from the very basics of declaring functions to developing a full blown web application.
By : Kashif Khan
The book starts off with the basics such as the language basics and functions. Keeping beginners in mind the chapters are filled with examples so the the concepts being explained are seen in action.
The chapter on Object Oriented Programming has been updated to feature what PHP 5 has to offer such as interfaces, destructors and once again has a number of examples to see how things are implemented and should be used.
Once you get through the basics you go through the advanced stuff like Graphics, PDF, XML etc.This part of the book deals with creating images using GD, using the PDF creation capabilities and working your way with XML. The XML section explains the use of the simpleXML library that eases parsing and creation of XML files. For the advanced programmers the section on extending php is really interesting since it shows you how to write your own extensions and really go into a good amount of detail
There is also a section on security which deals with the common mistakes php programmers make and how to go about fixing them. They deal with issues such as XSS scripting, SQL injections, escaping outputs. This section is definitely a must read for beginners and professionals alike.
On the whole this book is an excellent read for a progammer on any level and will be an excellent reference for PHP 5 programming.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.