Professional PHP Programming (Wrox Press)

Share this article

Professional PHP Programming PHP (short for “PHP: Hypertext Preprocessor”) is a server-side scripting language similar to ASP. That is to say, it allows you to write scripts embedded in your HTML pages that get processed by the Web server and turned into plain HTML before being sent to the browser. “Professional PHP Programming” aims to provide a complete description of the PHP language and present some practical techniques and examples for using it to build interactive and dynamic Web sites.

The slogan on the cover of every book from Wrox Press is “Programmer to Programmer.” Reading this 900-page tome, it was obvious to me that the five people who wrote it are career programmers. This was reflected in the depth of coverage, in the real-world examples, as well as in the style of writing.

After an introductory chapter describing the PHP language itself, readers are walked through the process of installing and configuring PHP on both Unix-based and Windows platforms. While many potential set-up scenarios are touched on, the authors focus mainly on installing it with the Apache server under Unix, and with Microsoft’s IIS or PWS under Windows. The installation of the most popular optional add-on modules is also touched on. In short, the discussion provides the most complete installation guide to PHP that I have seen, covering many of the common pitfalls that face novice users.

With the preliminaries out of the way, the book launches into an extremely complete and well-structured description of the core language features. Spanning about 200 pages, with each feature presented in its own chapter, this part of the book serves as a great reference as you become familiar with the language. At the same time, most of the chapters build on the same practical example (a Web-based job application form), with the more advanced chapters developing complete components (e.g. a session object). This allows the first-time reader to naturally progress through the tutorial-like presentation and have something genuinely useful to show for it by the end.

Advanced Topics

With the core of PHP under the reader’s belt, the book then presents a series of 11 chapters, each dealing with an advanced feature or application of PHP.

Some of the most useful ones include “PHP and SQL Databases” (which provides a hands-on look at the database capabilities of PHP, focusing primarily on the MySQL API), “Image Generation and Manipulation” (which explores the features of PHP that allow you to write scripts that output dynamically-generated GIF files instead of just HTML), and “Sending and Receiving E-mail” (which provides an overview of and generous sample code demonstrating the email features in PHP). This section could be considered the “meat” of the book, as it provides the bulk of the practical information and will be of most use to readers with some existing knowledge of PHP. It seems likely to me, however, that this was where the authors split up and each covered their own area of expertise. These chapters, while providing excellent examples and great depth of coverage, vary greatly in terms of writing style. I found one or two of them contained confusing and sometimes strained language. The same chapters often employed programmer’s shorthand where a full explanation would have been clearer.

The book finishes up with four real-world “case studies”, walking the reader through the code of four complete Web applications: a shopping cart application, the “Phorum” discussion group software, a Web-based email application, and a database browser. While best approached with a firm grasp of the language basics, these chapters are the best way to get yourself thinking in terms that will let you exploit the full power of PHP.

Very few books do both the “tutorial thing” and the “reference thing” well. “Professional PHP Programming” is one of those few. The introductory chapters, which assume nothing but a basic knowledge of HTML, are perfect for someone approaching PHP (or even Web programming) for the first time, and are still useful to refer back to later. The more advanced chapters are a great tool for rounding out your basic knowledge. And the appendices (although one might question the relevance of a 60-page HTML reference in a PHP book) make a handy quick-reference.

Rating: 4.5/5

For more information, check out the book’s support and errata files at Apress.

“Professional PHP Programming” is available for $34.99 from Amazon.com

Frequently Asked Questions about PHP Programming with Wrox Press

What makes Wrox Press a reliable source for PHP programming books?

Wrox Press is a reputable publisher known for its high-quality technical and programming books. They have a team of experienced authors who are experts in their respective fields. Their PHP programming books are comprehensive, covering a wide range of topics from basic to advanced levels. They provide practical examples and exercises that help readers understand and apply the concepts learned.

How does Wrox Press’s PHP programming book compare to other publishers?

Wrox Press’s PHP programming books are often compared favorably to those of other publishers. They are known for their in-depth coverage of topics, clear explanations, and practical examples. While other publishers also offer quality books, Wrox Press’s books are often praised for their user-friendly approach, making complex topics accessible to beginners.

Can I use Wrox Press’s PHP programming book as a beginner?

Yes, Wrox Press’s PHP programming books are suitable for both beginners and experienced programmers. They start with the basics and gradually move to more complex topics, making it easy for beginners to follow along. The books also include exercises and examples that allow readers to practice what they’ve learned.

Does Wrox Press offer online resources for PHP programming?

Yes, Wrox Press offers online resources to supplement their books. These resources include code downloads, errata, and forums where readers can discuss the book’s content and ask questions. This makes Wrox Press’s books a comprehensive learning resource for PHP programming.

How does Wrox Press’s PHP programming book compare to online courses?

While online courses offer interactive learning experiences, Wrox Press’s PHP programming books provide in-depth coverage of topics that may not be covered in online courses. They also serve as a handy reference that you can go back to anytime. However, the best learning approach depends on your personal preference and learning style.

Are Wrox Press’s PHP programming books up-to-date?

Wrox Press regularly updates their books to ensure they cover the latest developments in PHP programming. They also provide updates and corrections online, ensuring readers have access to the most accurate information.

Can I use Wrox Press’s PHP programming book for professional development?

Yes, Wrox Press’s PHP programming books are a valuable resource for professional development. They cover a wide range of topics that are relevant to professional PHP programmers, and they provide practical examples that can be applied in a professional setting.

How can I get the most out of Wrox Press’s PHP programming book?

To get the most out of Wrox Press’s PHP programming book, it’s recommended to read the book thoroughly, practice the examples provided, and participate in the online forums. This will help you understand the concepts better and apply them effectively.

Does Wrox Press offer books on other programming languages?

Yes, Wrox Press offers books on a wide range of programming languages, including Java, C#, Python, and more. They are known for their comprehensive coverage and practical approach to teaching programming.

Where can I buy Wrox Press’s PHP programming books?

Wrox Press’s PHP programming books are available on various online platforms, including Amazon and the publisher’s website. They are also available in many bookstores.

Kevin YankKevin Yank
View Author

Kevin Yank is an accomplished web developer, speaker, trainer and author of Build Your Own Database Driven Website Using PHP & MySQL and Co-Author of Simply JavaScript and Everything You Know About CSS is Wrong! Kevin loves to share his wealth of knowledge and it didn't stop at books, he's also the course instructor to 3 online courses in web development. Currently Kevin is the Director of Front End Engineering at Culture Amp.

Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week
Loading form