If you were traveling in Spain, but couldn't speak Spanish very well, you'd probably carry a Spanish dictionary with you. If you are a PHP developer who needs a portable reference guide for frequent use in your job, the PHP Phrasebook is perfect for you. The PHP Phrasebook is actually a pocket guide that is jam-packed with useful and essential PHP code "phrases" for the PHP developer's everyday use. The code is flexible, so it can be easily adapted to your needs and mulitple situations, and your time isn't wasted wading through chapters of tutorial lessons and extraneous information. The phrasebook covers PHP 5 and is relevant for PHP 4.
"synopsis" may belong to another edition of this title.
Christian Wenz is professional developer, trainer and consultant with a focus on web technologies. He frequently contributes articles to renowned IT magazines and speaks at conferences around the world. Christian is Germany's very first Zend Certified Professional and contributes to several PHP packages in the PEAR repository. Christian has written or contributed to several books on PHP and related technologies, including PHP 5 Unleashed.
Introduction
Introduction
Some time ago, my favorite development editor, Damon Jordan, sent me an email and closed it with "Ich möchte eine Föhnwelle"—"I'd like a blow wave." Unfortunately, I didn't know what either a Föhnwelle or a blow wave is, so I declined. He then told me he had found this sentence in a German phrasebook he recently bought.
I was interested and had a look at some German phrasebooks. I think they are great tools to get around in a foreign country, although I personally think that some of the phrases offered just don't make sense. For instance, in one phrasebook, I found a series of pickup lines, including the ingenious "You have a beautiful personality," something that didn't work for me either in English, in German, or in any other language! Some coital guidance could also result in other problems—you either have to remember all the things to say while you are at it, or you have to hold the phrasebook in your free hand. And, finally, "Blow waves are as dead as a pet rock," just to use another phrase.
Anyway, we were discussing phrasebooks a bit, and Damon said that he wanted to do a book series on phrasebooks. He also mentioned that he would like to team up with his and my favorite acquisitions editor, Shelley Johnston, so I was in.
While working on a concept, we found some differences between a language phrasebook and an IT phrasebook. For instance, a language phrasebook just contrasts the same sentence in two languages. However, this is not always helpful. What if you want to change the phrase a bit, for instance if you want an en vogue blow wave (an oxymoron, one might say)?
So, we tried to create a concept that contains a lot of phrases, but all of them with good explanations so that it is easy to change the code and adapt it to one's needs. This, of course, makes the "foreign language" portions of a phrase a bit longer than the phrase itself, but we think that really helps when working with the book.
I also remember one famous Monty Python sketch in which someone uses a sabotaged dictionary, so that asking for directions results in getting roughed up. Therefore, it is vitally important to get a real explanation on what is going on within the phrase.
I then wrote a series concept and a sample chapter and now, only a few months later, you hold the first phrasebook in your hands, one of hopefully many.
Something I really hate about reading computer books is when code samples are hacked into the word processor, but never tested. To avoid this, every listing is also available for download at http://php.phrasebook.org/, and the filename is part of the listing's caption for phrases longer than just a few lines. So every code does exist as a file and has actually been tested, unlike in some other books. Of course, it's an illusion that this book is 100% error-free, although we have taken several steps to come very close to that mark. Any errata, if known, will be posted to that site, too.
Another thing I really dislike with some books is that they tend to be very OS-dependent, which is really unnecessary for PHP. Some books were obviously only tested under Windows, some others only under Linux, but it is possible to make code relatively platform-independent. We have invested a lot of effort in testing the code from this book on many server platforms, including Linux, Windows, Mac OS X, and Solaris. Therefore, the screenshots in this book are also taken from those platforms, so you will find a healthy mixture of systems (and browsers). Ideology can be expressed with many phrases, but you won't find any of them in this book. If, however, something does only run on certain platforms (or PHP versions), it is noted in the text. Another phrase I promise you will not find in this book is anything that looks like foo, bar, baz, or any other proofs of very little imagination.
Of course, it is easy to find missing phrases in this book—PHP offers so much functionality that it is impossible to cover every aspect. Therefore, we had to select certain topics of interest—stuff that is relevant in a PHP programmer's everyday work. If you think, however, that something has really been overlooked, please let me know—but do also nominate something that should then be removed from upcoming editions of this book to make room for the new phrase(s). I am looking forward to hearing your feedback.
And now, to quote once more a phrasebook: "Bist du soweit? Da boxt der Papst"—"Are you ready? It's all happening there" (but literally: "There boxes the pope").
Your personal phrasemonger,
Christian Wenz
© Copyright Pearson Education. All rights reserved.
"About this title" may belong to another edition of this title.
Shipping:
FREE
Within U.S.A.
Shipping:
US$ 12.73
From United Kingdom to U.S.A.
Seller: SecondSale, Montgomery, IL, U.S.A.
Condition: Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00074409400
Quantity: 1 available
Seller: Dream Books Co., Denver, CO, U.S.A.
Condition: acceptable. This copy has clearly been enjoyedâ"expect noticeable shelf wear and some minor creases to the cover. Binding is strong, and all pages are legible. May contain previous library markings or stamps. Seller Inventory # DBV.0672328178.A
Quantity: 1 available
Seller: Wonder Book, Frederick, MD, U.S.A.
Condition: As New. Like New condition. A near perfect copy that may have very minor cosmetic defects. Seller Inventory # A07L-01346
Quantity: 1 available
Seller: Better World Books, Mishawaka, IN, U.S.A.
Condition: Good. 1st Edition. Former library book; may include library markings. Used book that is in clean, average condition without any missing pages. Seller Inventory # 16464063-6
Quantity: 1 available
Seller: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condition: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 0.6. Seller Inventory # G0672328178I4N00
Quantity: 1 available
Seller: The Maryland Book Bank, Baltimore, MD, U.S.A.
paperback. Condition: Very Good. 1st Edition. Used - Very Good. Seller Inventory # 5-A-3-0622
Quantity: 1 available
Seller: R Bookmark, Youngtown, AZ, U.S.A.
Trade Paperback. Condition: Used - Good. Seller Inventory # 215152
Quantity: 1 available
Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom
Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR002005708
Quantity: 2 available
Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom
Paperback. Condition: Good. The book has been read but remains in clean condition. All pages are intact and the cover is intact. Some minor wear to the spine. Seller Inventory # GOR001723971
Quantity: 1 available
Seller: AwesomeBooks, Wallingford, United Kingdom
Paperback. Condition: Very Good. PHP Phrasebook: Essential Code and Commands (Developer's Library) This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Seller Inventory # 7719-9780672328176
Quantity: 1 available