Professional PHP4: A Book Review
Title: Professional PHP4Publisher: Wrox PressISBN: 1-861006-91-8Price: $49.99Buy this book
First off, let me tell you that I have always found Wrox Press books to look a little strange. That is, they all have red covers with pictures of one or more people on them. The cover of Professional PHP4 has 11 people.
Well, now I get it. Wrox is British--the British are different. So, I quickly got past the cover and found a great book inside.
Getting the negative out of the way quickly, the only two shortcomings I found were the lack of inclusion of Python (my personal preference) in the list of other scripting languages and no specific install information for Linux. But UNIX, which is pretty much identical, plus MacOS and Windoze were covered. Also, only Apache 1.x was covered, but I have yet to see a book covering 2.0.
The book starts off as expected, covering installation and the fundamentals of PHP--nothing really special here, but it is well done. Next is a chapter on Object Oriented Programming. Unlike most books I have seen on a specific programming language, this book took the subject seriously with over 40 pages of coverage, including object modeling in UML. I see this as a real plus, because this section is written well enough that people may actually understand why OOP makes sense.
Similarly, debugging is covered in a serious way. Again, the background is presented so you understand more than whether a program worked or not. It also provides good information on what debugging tools are available.
At first, the next chapter seemed to have a strange topic: "User Input and Regular Expressions". But the material quickly shows you why they fit together, specifically, using REs to validate user input. Duh. Again, the presentation helps the material make sense: first, readers are shown some validation techniques, and then they are given the details of REs.
We then move to the more generic subjects, such as sessions, cookies and files. This is followed by chapters on FTP, e-mail and news groups, networking and LDAP, multitier development and WAP--sorta the step toward applications.
The following three chapters cover databases. Rather than pick a specific one, MySQL, PostgreSQL and ODBC are all covered. This is not done in great detail, each chapter being from 20 to 40 pages. But the goal is not to teach you MySQL, for example, but to show you how it works with PHP. I feel this goal is attained.
The last chapters of the book cover non-Web use of PHP, XML, internationalization, optimization and external libraries, as well as how to build a user permission system. All of these are useful subjects, and each appears to be covered well.
All in all, I found the book to be very well done--both in the subject choices and the actual coverage. The authors points you to other resources when they make sense, instead of letting you think this book has all the answers. If you have some basic programming knowledge (not necessarily in PHP) and want to learn how to do PHP the right way, I highly recommend this book.
Phil Hughes is the publisher of Linux Journal.
|Dynamic DNS—an Object Lesson in Problem Solving||May 21, 2013|
|Using Salt Stack and Vagrant for Drupal Development||May 20, 2013|
|Making Linux and Android Get Along (It's Not as Hard as It Sounds)||May 16, 2013|
|Drupal Is a Framework: Why Everyone Needs to Understand This||May 15, 2013|
|Home, My Backup Data Center||May 13, 2013|
|Non-Linux FOSS: Seashore||May 10, 2013|
- Dynamic DNS—an Object Lesson in Problem Solving
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- Using Salt Stack and Vagrant for Drupal Development
- New Products
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Dart: a New Web Programming Experience
- Download the Free Red Hat White Paper "Using an Open Source Framework to Catch the Bad Guy"
- The Secret Password Is...
- Linux from the Beginning
- RSS Feeds
1 hour 26 min ago
- Keeping track of IP address
3 hours 17 min ago
- Roll your own dynamic dns
8 hours 30 min ago
- Please correct the URL for Salt Stack's web site
11 hours 42 min ago
- Android is Linux -- why no better inter-operation
13 hours 57 min ago
- Connecting Android device to desktop Linux via USB
14 hours 25 min ago
- Find new cell phone and tablet pc
15 hours 24 min ago
16 hours 52 min ago
- Automatically updating Guest Additions
18 hours 1 min ago
- I like your topic on android
18 hours 47 min ago
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi
It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?