Upgrading to PHP 5
| |||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||
| Sort customer reviews by: | |||||||||||||||||||||||||||||
|
Show All Reviews on Page
Hide All Reviews on Page
| |||||||||||||||||||||||||||||
| Upgrading to PHP 5 | |||||||||||||||||||||||||||||
|
If you're using PHP 4, then chances are good that an upgrade to PHP 5 is in your future. The more you've heard about the exciting new features in PHP 5, the sooner that upgrade is probably going to be. Although an in-depth, soup-to-nuts reference guide to the language is good to have on hand, it's not the book an experienced PHP programmer needs to get started with the latest release. What you need is a lean and focused guide that answers your most pressing questions: what's new with the technology, what's different, and how do I make the best use of it? In other words, you need a copy of Upgrading to PHP 5. This book is targeted toward PHP developers who are already familiar with PHP 4. Rather than serve as a definitive guide to the entire language, the book zeroes in on PHP 5's new features, and covers these features definitively. You'll find a concise appraisal of the differences between PHP 4 and PHP 5, a detailed look at what's new in this latest version, and you'll see how PHP 5 improves on PHP 4 code. See PHP 4 and PHP 5 code side-by-side, to learn how the new features make it easier to solve common PHP problems. Each new feature is shown in code, helping you understand why it's there, when to use it, and how it's better than PHP 4. Short, sample programs are included throughout the book. Topics covered in Upgrading to PHP 5 include:
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 10 of 10 | |||||||||||||||||||||||||||||
| Review Date |
Review Rating(5 High) |
Review Helpful to: |
Customer Review | Reviewer Info |
Permanent Link |
||||||||||||||||||||||||
| Reader Reviews Below Sorted by Newest First | |||||||||||||||||||||||||||||
| 10-12-06 | 5 | (NA) |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This made my transition back then from PHP 4 to 5, well, much easier. You can't go wrong with this book! Deserves 5 stars!
(Review Data Last Updated: 2006-11-03 14:23:44 EST)
|
|||||||||||||||||||||||||||||
| 07-11-05 | 4 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I own a sizable collection of O'Reilly books and have found them to in general be very well written and useful. "Upgrading to PHP 5" continues this tradition superbly.
This book is _not_ for new PHP coders; the vast majority of the text assumes good familiarity with PHP 4.x. If you have this familiarity then you will find this book to be a thorough and well-organized primer on the many new features in the new PHP. The first chapter merely lists the major areas that have changed in the latest PHP, each of which roughly corresponds to a chapter in the book. Major enhancement to the OOP facilities of PHP are appropriately discussed in the next chapter. Unfortunately, this is probably the most clumsily written chapter due a strange desire to educate the reader in OOP basics (about the only place in the book where this mistake is committed). The result is a schism that imposes redundancy in the material while simultaneously making it unduly hard to locate specific topics. Thankfully the subsequent two chapters (on the new MySQL interface and the SQLite database) are uniformly well-written. Especially useful is a (perhaps oddly-situated) section on migration strategies from a PHP 4/MySQL 4.0 platform to a PHP 5/MySQL 4.1 platform. A chapter on XML follows, but I did not read it in great detail since my applications tend to not require it, so other reviewers are likely to provide greater insights here. Iterators, yet another feature completely new to PHP 5, are covered next. Unlike much of the conventional PHP fare (even OOP) this topic really does require understanding of rather abstract concepts (especially when debugging the RecusrsiveIterator interface). For this reason, while clearly written it may take hobbiests some time to take this material to heart. The new error-handling functions are introduced next. I think that the chapter could have benefited from a little more discussion; Trachtenberg seems to think providing code samples is almost self-explanatory. At the end of the day, though, the chapter does its job. The chapter on streams and filters is another one that I barely perused, so I defer to other reviewers on this topic. The penultimate chapter provides a very cursory evaluation of a handful of extensions to PHP. While certainly useful to the practicing PHP programmer they are covered in so brief a manner that you will need a separate text to implement them meaningfully. But this chapter does give enough information to at least evaluate the extensions' potential usefulness in an application. Trachtenberg concludes with an example PHP application. I do not like such examples in books - between space limitations and the complexity of real life this and other examples feel too... contrived... to be worthwhile. But I understand that it is included practically as canon, and do not fault the author for its inclusion. So, all things considered, this text covers the changes in PHP 5 in detail in a surprisingly brief 300 pages (and small page footprint). A worthy addition to a book collection, provided you already have general PHP reference available. (Review Data Last Updated: 2007-09-07 22:28:43 EST)
|
|||||||||||||||||||||||||||||
| 07-11-05 | 4 | 2\2 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I own a sizable collection of O'Reilly books and have found them to in general be very well written and useful. "Upgrading to PHP 5" continues this tradition superbly.
This book is _not_ for new PHP coders; the vast majority of the text assumes good familiarity with PHP 4.x. If you have this familiarity then you will find this book to be a thorough and well-organized primer on the many new features in the new PHP. The first chapter merely lists the major areas that have changed in the latest PHP, each of which roughly corresponds to a chapter in the book. Major enhancement to the OOP facilities of PHP are appropriately discussed in the next chapter. Unfortunately, this is probably the most clumsily written chapter due a strange desire to educate the reader in OOP basics (about the only place in the book where this mistake is committed). The result is a schism that imposes redundancy in the material while simultaneously making it unduly hard to locate specific topics. Thankfully the subsequent two chapters (on the new MySQL interface and the SQLite database) are uniformly well-written. Especially useful is a (perhaps oddly-situated) section on migration strategies from a PHP 4/MySQL 4.0 platform to a PHP 5/MySQL 4.1 platform. A chapter on XML follows, but I did not read it in great detail since my applications tend to not require it, so other reviewers are likely to provide greater insights here. Iterators, yet another feature completely new to PHP 5, are covered next. Unlike much of the conventional PHP fare (even OOP) this topic really does require understanding of rather abstract concepts (especially when debugging the RecusrsiveIterator interface). For this reason, while clearly written it may take hobbiests some time to take this material to heart. The new error-handling functions are introduced next. I think that the chapter could have benefited from a little more discussion; Trachtenberg seems to think providing code samples is almost self-explanatory. At the end of the day, though, the chapter does its job. The chapter on streams and filters is another one that I barely perused, so I defer to other reviewers on this topic. The penultimate chapter provides a very cursory evaluation of a handful of extensions to PHP. While certainly useful to the practicing PHP programmer they are covered in so brief a manner that you will need a separate text to implement them meaningfully. But this chapter does give enough information to at least evaluate the extensions' potential usefulness in an application. Trachtenberg concludes with an example PHP application. I do not like such examples in books - between space limitations and the complexity of real life this and other examples feel too... contrived... to be worthwhile. But I understand that it is included practically as canon, and do not fault the author for its inclusion. So, all things considered, this text covers the changes in PHP 5 in detail in a surprisingly brief 300 pages (and small page footprint). A worthy addition to a book collection, provided you already have general PHP reference available. (Review Data Last Updated: 2008-09-05 06:14:55 EST)
|
|||||||||||||||||||||||||||||
| 03-11-05 | 5 | 0\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The author does a great job summarizing common PHP characteristics and elaborating on PHP 5 improvements, with plenty of well-chosen code examples. Well suited for the established PHP programmer making the transition to PHP 5. For those starting out, use "Learning PHP 5" instead.
(Review Data Last Updated: 2007-12-14 20:09:39 EST)
|
|||||||||||||||||||||||||||||
| 03-10-05 | 5 | 0\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
The author does a great job summarizing common PHP characteristics and elaborating on PHP 5 improvements, with plenty of well-chosen code examples. Well suited for the established PHP programmer making the transition to PHP 5. For those starting out, use "Learning PHP 5" instead.
(Review Data Last Updated: 2007-01-11 18:16:30 EST)
|
|||||||||||||||||||||||||||||
| 01-28-05 | 5 | 0\1 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
A very good choice. PHP5 is a new wave in dynamic web development. It dramaticly improved the handeling of classes and objects. This little book is your quick and easy to use refference of objects, methods, variables, scopes, functions. At Procreative Designs (procreative.ca), the company I work for this one was distributed all over our web development department at the beginning of last month. I personally find this book really handy and useful. Previously I owned PHP4 Refference and it always served me well. Overall its a great choice for quick refference.
(Review Data Last Updated: 2007-12-14 20:09:39 EST)
|
|||||||||||||||||||||||||||||
| 09-04-04 | 4 | 4\4 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
Being fairly proficient on PHP 4 but looking for more info on version 5, the idea of getting books on PHP 5 that, once again, starts from scratch wasn't exciting at all. This book instead was exactly what I needed, it assume you know PHP 4 and covers only the new features with a good amount of details and a bunch of useful suggestions for code migration. The only reason I don't give it 5 stars is that in the chapters covering OOP and DOM the author try to explain the new functionalities but also attempt to throw in the mix more generic info on this two topics. The end results are somewhat mixed, the coverage of PHP 5 is, in my opinion, very good, but the material about OOP and DOM instead aren't up to the rest and does more harm than good.
(Review Data Last Updated: 2007-12-14 20:09:39 EST)
|
|||||||||||||||||||||||||||||
| 08-07-04 | 5 | 7\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I've been scripting PHP since PHP3. It was a good wakeup call to let me know I might not know everything about PHP anymore. Sessions were a cool new thing in PHP4, then superglobals in 4.1, and both were easy to understand and implement, but I couldn't seem to find a decent explaination of what was coming up in PHP5 and how to use it since there isn't a lot of code to read as examples (as of this writing). This was the answer for me. The book has 10 chapters; I got my money's worth after I finished chapter 2.
This book takes a seasoned PHP4 programmer and shows how PHP5 adds new features that reduce clunkyness that you just had to live with in PHP4. I can't even think how many different implementations I've seen of preventing SQL injections for MySQL queries. 4 pages explained how the MySQLi extension wiped out one of my complete MySQL classes that exists for nothing other than SQL injection and error handling. Albeit if I read the php.net manual, I could have figured some of it out on my own, but not with the helpful notes that Adam includes. You should get this book if you write PHP4 classes, use MySQL <= 4.0.x, or you're thinking about switching to SQLite because you're weary about future support of MySQL in PHP and all the licensing changes from MySQL AB. I don't much like XML, so I skipped that chapter. I don't have any applications where I could use the streams, SOAP, Tidy, or Reflection functionality, so I can't speak on those either cause I skipped them, too. Even though I didn't read half the book, the other half was worth it anyway. (Review Data Last Updated: 2007-07-02 15:09:24 EST)
|
|||||||||||||||||||||||||||||
| 08-06-04 | 5 | 7\7 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
I've been scripting PHP since PHP3. It was a good wakeup call to let me know I might not know everything about PHP anymore. Sessions were a cool new thing in PHP4, then superglobals in 4.1, and both were easy to understand and implement, but I couldn't seem to find a decent explaination of what was coming up in PHP5 and how to use it since there isn't a lot of code to read as examples (as of this writing). This was the answer for me. The book has 10 chapters; I got my money's worth after I finished chapter 2.
This book takes a seasoned PHP4 programmer and shows how PHP5 adds new features that reduce clunkyness that you just had to live with in PHP4. I can't even think how many different implementations I've seen of preventing SQL injections for MySQL queries. 4 pages explained how the MySQLi extension wiped out one of my complete MySQL classes that exists for nothing other than SQL injection and error handling. Albeit if I read the php.net manual, I could have figured some of it out on my own, but not with the helpful notes that Adam includes. You should get this book if you write PHP4 classes, use MySQL <= 4.0.x, or you're thinking about switching to SQLite because you're weary about future support of MySQL in PHP and all the licensing changes from MySQL AB. I don't much like XML, so I skipped that chapter. I don't have any applications where I could use the streams, SOAP, Tidy, or Reflection functionality, so I can't speak on those either cause I skipped them, too. Even though I didn't read half the book, the other half was worth it anyway. (Review Data Last Updated: 2007-01-11 18:16:30 EST)
|
|||||||||||||||||||||||||||||
| 08-05-04 | 5 | 4\5 |
| Reviewer | Permalink | ||||||||||||||||||||||||
|
This is a fantastic book. I frequently find that when an existing developer buys a book, he/she has to sort through all the garbage review in the beginning. This book assumes you are a competent PHP4 programmer. Then it takes you step by step through new PHP5 syntax and features that are unique to PHP5. It reviews and explains Object Oriented Programming (OOP), then discusses a variety of PHP5-only concepts, like SimpleXML and SQLite.
I recently installed a PHP5 server and this book has been by my side since. All PHP4 developers who expect to use PHP5 within the next year or so should really have a copy of this book handy. (Review Data Last Updated: 2007-12-14 20:09:39 EST)
|
|||||||||||||||||||||||||||||
| Reader Reviews 1 - 10 of 10 | |||||||||||||||||||||||||||||
| All Books | Arts | Biography | Click Here For An A-Z Index Of All 213 Best-Seller Subjects | Business | Children's | Comics | ||||||
| Computers | Cooking | Engineering | Entertainment | Health | History | Home | Horror | Humor | Law | Fiction | Medicine | Mystery |
| Nonfiction | Outdoors | Parenting | Professional | Reference | Religion | Romance | Science | Sci-Fi | Sports | Teens | Travel | |