- Paperback: 840 pages
- Publisher: Wrox; 1 edition (October 26, 2009)
- Language: English
- ISBN-10: 0470413964
- ISBN-13: 978-0470413968
- Product Dimensions: 7.3 x 1.9 x 9.2 inches
- Shipping Weight: 3 pounds (View shipping rates and policies)
- Average Customer Review: 37 customer reviews
- Amazon Best Sellers Rank: #548,093 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Beginning PHP 5.3 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Frequently bought together
Customers who bought this item also bought
From the Back Cover
A solid introduction to writing powerful web applications using PHP 5.3
As one of the most popular open-source web-programming languages in use today, PHP is an ideal server-side scripting language that connects HTML-based web pages to a backend database for dynamic content. It allows you to create anything from a simple form-to-email script to a web forum application, a blogging platform, or a content management system. This guide introduces the PHP language and shows how to write powerful web applications using PHP.
Looks at the ways that PHP programs interact with web servers and other technologies such as HTML
Teaches you how to build robust web applications and change the flow of your scripts with decisions and loops
Examines ways to create and use strings, arrays, objects, functions, and files in your scripts
Shares tips for creating interactive web forms in PHP, as well as capturing user input
Unveils methods for preserving an application's state between page views
Offers advice on how to work with MySQL databases using PHP
Includes best practices for using PEAR to speed up your application development
Presents techniques for manipulating XML from within your PHP scripts
Walks you through the creation and manipulation of web graphics using PHP
Join our Programmer to Programmer forums to ask and answer programming questions about this book, join discussions on the hottest topics in the industry, and connect with fellow programmers from around the world.
Take advantage of free code samples from this book, as well as code samples from hundreds of other books, all ready to use.
Find articles, ebooks, sample chapters and tables of contents for hundreds of books, and more reference resources on programming topics that matter to you.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
About the Author
Matt Doyle has worn many hats in his professional career, including working in the fields of system administration, computer training, software development, graphic design, and website creation.
Top customer reviews
First of all, there's a lot to like. Where the book is strong:
* The book is pretty comprehensive. And it takes you from the beginning using baby steps. You can come in not knowing beans about PHP and by the time you work your way through chapter 20 you will have covered a lot of ground.
* A fair number of the examples are kind of fun. Homing pigeons and "car objects", etc. As another reviewer wrote, if you take the time to actually do the "try it out" portions of the book, you will learn a lot. If nothing else, if you're not accustomed to having to put a semicolon at the end of every command line, you will discover how many times you'll forget to do that. Working through the examples will also serve as a way to learn the hard way that variable names ARE case sensitive and failure to repeat CamelCase variable names precisely will have you enjoying a nice debugging session.
* Doyle has put in review exercises for the reader to work through at the end of each chapter. I love this kind of thing because it give you a chance to apply the concepts and make sure you have them down pat. Plus he has an appendix with the solutions to all of the review exercises just in case you get stuck in the mud.
* I had already installed PHP & a web server emulator, so I didn't need that bit. But for the record, Doyle does cover how to install the software you'll need to run the examples. He covers (Ubuntu) Linux, Windows & Mac platforms.
* Inclusion of Chapter 20 - "Writing High-Quality Code". I've only skimmed it so far. But I like that Doyle takes the time to do this. I do development in VBA and so I am familiar with a lot of the fundamentals of writing good, solid code. But if I were relatively knew to coding in general, this chapter would be a nice primer.
Where the book could be stronger:
* E-mail contact forms. While the chapter on PHP & forms is good, building a solid contact form is one reason why a lot of people would look to learn PHP. It is why I was learning PHP. There is a chapter on this and there is a section on e-mailing via PHP. *BUT* IMO Doyle does not address a couple of major concerns that anyone building a contact form is going to have. First order of business, how to make sure spammers don't harvest your e-mail address. He does not really clarify whether or not the solution he presents will be robust against that threat. Second order of business, how to keep crackers (or is it hackers?) from hijacking the PHP script and turning your contact form into an e-mail re-mailer working for the cracker by injecting "headers". I had to go online and do further research to learn what Doyle left out.
* While he does point out various areas where threats exist (kudos for that) sometimes he doesn't explain why this is a threat. Example: on page 248 he states "With password fields, it's unwise to redisplay a user's password in the page because the password can easily be read by viewing HTML source." But this is in the context of a user keying in data into a form. If that's the case, against whose prying eyes are we protecting? Surely the person who typed in the password does not need to be blocked from seeing his own password should we be doing error handling. And I do not understand how someone else, not at the keyboard/screen is going to see another user's bounce-back.
* While Doyle does a nice job of explaining "objects" and the plethora of topics that go with them, I would have liked some practical examples. I am only halfway through the book. Perhaps in later chapters there are some examples of where implementing classes, inheritance and interfaces are used in a real setting? But in skimming the book I don't see them.
* I can't make up my mind about the PEAR stuff. My web host does not support it, so I have no reason to learn it. The example of creating e-mails with PHP uses PEAR which leaves me to have to "translate" the example into regular non-PEAR PHP & HTML. However, if I were going to use PEAR I'm sure I'd think the example was just dandy. I would have liked it if Doyle would have included a non-PEAR version of the example.
Overall, I would recommend the book. I do feel like I got my money's worth. But if Mr. Doyle should write another edition of this book, hopefully he will shore up the areas I listed above.
Having worked in technical education for many years, and more recently as a front-end web developer, I know how crucial it is for educators and web designers to have a good grasp of the workings of PHP. PHP is the most widely used programing language, developed from the ground up, to address the needs of the web browsing consumer.
Back in November 2009 while looking at new arrivals in the technology section at a local bookstore, I came across what I consider now, the ideal book on the subject of PHP. Beginning PHP 5.3 by Matt Doyle "speaks" directly to my urgent need to understand what PHP is all about. This textbook "magically" (to borrow a term used recently by Steve Jobs) has clarified my understanding of many concepts in PHP that for years I felt pretty fussy about!
In 800 pages, it does the best job I know on the PHP language basics, including an extensive treatment of PHP's advances in object-oriented programing. Even better, I now also have a chance with this book to be very much up to date on the newest features of PHP programming brought on by version 5.3. Advances like object overloading, abstract classes, interfaces, namespaces and XML parsers are treated by Matt Doyle in his characteristic down-to-earth style. What's more, he never forgets to illustrate further the various subjects treated in the book, with the most appropriate and simplest code examples available.
For schools with courses on programming, Beginning PHP 5.3 is, without a doubt, an excellent textbook. It even includes exercises at the end of every chapter, with the solutions at the end of the book.
As for me, I'm planning to donate my whole PHP book collection and just keep my copy of Beginning PHP 5.3 (together with its eBook version) for my own learning pleasure and ready reference.
Above describes my reasons, now my experience with the book.
This book stands as one of the few that allowed the eager intermediate developer(such as myself) to keep pace without getting board while still being able to be gentle enough to not alienate an intimidated beginner.
People who have some background in programming languages will find Part II: Learning the Language easy to read and able to skip through (perhaps just a quick view for syntax of certain php parts) functions are dealt with just a bit different in certain aspects of php.
As someone that runs massive blog networks for all kinds of affiliate products Part III: Using PHP in practice, played the most crucial role.
This is my first review of a product and I mention this by the simple fact that I was taken enough by the quality of this book to write it. Take my word that there are other good PHP books out there, but if you purchase this one, you will not be disappointed.
I am really hoping the author will release an updated edition soon. This book provides in-depth detail and explanation on PHP programming which is what every beginner needs.
Most recent customer reviews
I ll say you should have a little knowledge from PHP. a good knowledge of HTML/CSS
This book take you from a false beginner level to intermediate.Read more