or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
PHP in a Nutshell: A Desktop Quick Reference
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

PHP in a Nutshell: A Desktop Quick Reference [Paperback]

Paul Hudson (Author)
4.0 out of 5 stars  See all reviews (24 customer reviews)

List Price: $29.95
Price: $19.87 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $10.08 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Tuesday, February 14? Choose One-Day Shipping at checkout. Details
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

October 20, 2005

Now installed on more than 20 million Internet domains around the world, PHP is an undisputed leader in web programming languages. Database connectivity, powerful extensions, and rich object-orientation are all reasons for its popularity, but nearly everyone would agree that, above all, PHP is one of the easiest languages to learn and use for developing dynamic web applications. The ease of development and simplicity of PHP, combined with a large community and expansive repository of open source PHP libraries, make it a favorite of web designers and developers worldwide.

PHP in a Nutshell is a complete reference to the core of the language as well as the most popular PHP extensions. This book doesn't try to compete with or replace the widely available online documentation. Instead, it is designed to provide depth and breadth that can't be found elsewhere. PHP in a Nutshell provides the maximum information density on PHP, without all the fluff and extras that get in the way. The topic grouping, tips, and examples in this book complement the online guide and make this an essential reference for every PHP programmer. This book focuses on the functions commonly used by a majority of developers, so you can look up the information you need quickly. Topics include:

  • Object-oriented PHP
  • Networking
  • String manipulation
  • Working with files
  • Database interaction
  • XML
  • Multimedia creation
  • Mathematics

Whether you're just getting started or have years of experience in PHP development, PHP in a Nutshell is a valuable addition to your desk library.


Frequently Bought Together

Customers buy this book with MYSQL in a Nutshell (In a Nutshell (O'Reilly)) $23.09

PHP in a Nutshell: A Desktop Quick Reference + MYSQL in a Nutshell (In a Nutshell (O'Reilly))
  • This item: PHP in a Nutshell: A Desktop Quick Reference

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • MYSQL in a Nutshell (In a Nutshell (O'Reilly))

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

Review

"...there is no unnecessary waffle, but plenty of code to get your teeth into. It's a desktop guide for quick reference, so not all your queries will be answered, but it will certainly point you in the right direction. An indispensable guide to PHP programming." .net, May 2006

About the Author

Paul Hudson, an avid PHP programmer, is Deputy Editor of the popular European Linux journal Linux Format, and author of the publication's PHP tutorial section. He is the author of Fedora 4 Unleashed and of the online book Practical PHP Programming available at http://www.hudzilla.org.


Product Details

  • Paperback: 384 pages
  • Publisher: O'Reilly Media; 1 edition (October 20, 2005)
  • Language: English
  • ISBN-10: 0596100671
  • ISBN-13: 978-0596100674
  • Product Dimensions: 8.7 x 6.5 x 0.8 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 4.0 out of 5 stars  See all reviews (24 customer reviews)
  • Amazon Best Sellers Rank: #459,991 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

24 Reviews
5 star:
 (10)
4 star:
 (7)
3 star:
 (3)
2 star:
 (4)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.0 out of 5 stars (24 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

18 of 19 people found the following review helpful:
4.0 out of 5 stars One good book and one good rant..., November 27, 2005
By 
Brett Merkey (Palm Harbor, FL United States) - See all my reviews
(REAL NAME)   
This review is from: PHP in a Nutshell: A Desktop Quick Reference (Paperback)
This PHP reference has some extras I liked. It is always good to have a portable and compact programming statement reference at hand. It is even better to have one that goes into more detail where that extra background may be of value. The chapter on the object-oriented programming support in PHP 5 is one of those extras.

I also appreciate the chapters on creating Flash and PDF and the tips on server performance optimization.

PHP in a Nutshell falls far short of adequate in one respect -- the index. A reference should provide a way to find information without having an exact knowledge of the information you are looking for.

As a relative newcomer to PHP, I gave the book's index a good workout. A typical session would go like this: After getting my simple form application running, I noticed that the return from the database was not case-insensitive. I knew I could massage the value to the server with JavaScript, but was there an equivalent PHP statement? I went to the book index. "Case switching" -- no, that is about a conditional. "Case-sensitivity, variables" -- no, that is not about user input values. Finally, after other failed guesses, I recalled from JavaScript that such a function, if it existed, worked on strings. I look up "strings" and move down the sub-indexing to my goal: strtolower() function.

Success, yes, but unnecessarily delayed. I would fault this book for that and knock down my rating except for the fact that the index is no worse than the typical computer book index. Decent indexing, and even full-text searches on books, are distant hopes as ever.

Despite my occasional rant on book indexing, this book will be kept in a handy place as I continue forward in my progress in coding PHP.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


16 of 18 people found the following review helpful:
2.0 out of 5 stars Not Up to Snuff, June 23, 2006
By 
Travis Parks (Howard, PA United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: PHP in a Nutshell: A Desktop Quick Reference (Paperback)
When I purchase a Nutshell book from O'reilly, I anticipate a very formal, detailed overview of a language and an in-depth coverage of that language's standardized libraries and features. PHP in a Nutshell is very lax with informal explainations and coverage. I am not saying that the book lacks information; it just lacks the typical detail of a usual Nutshell book. This book also has simple errors that should have been caught if the author had reviewed his own work; this is simply unexceptable. I, today, counted over 4 simple mistakes on the chapter about operators. This is something unheard of from O'reilly. I have been programming with PHP for a while now and was hoping to find a definitive reference ... well, this isn't it!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


7 of 7 people found the following review helpful:
4.0 out of 5 stars I agree with the reviewer who wants a better index!, January 5, 2006
By 
This review is from: PHP in a Nutshell: A Desktop Quick Reference (Paperback)
It is a bit more difficult to find what you want in the index than absolutely desired, but it is also the price we pay for a low-cost, desktop reference.

I too am relatively new to PHP. I've dabbled a bit with it over the past few years, but recently started to write my first "major" web-centric application using it and MySQL. I can definitely say that PHP In A Nutshell has not let me down! I've been avoiding learning "yet another programming language," but PHP In A Nutshell has given me the ability to jump into it without needlessly wasting my time.

The author's writing style is very easy to embrace, which makes reading this book a breeze. The author clearly knows PHP very well and provides many, many resourceful nuggets of experience in the paragraphical excursion through this insightful book. It "reads" well and "references" well-enough.

While this book may not be the best tutorial for a total newcomer to programming languages, for anyone with experience in any modern programming language, it should be very easily read and received. How much of this is the writer's style versus O'Reilly's "common sense in book layout?" I'm not sure, but the two blend together well to make a fine wine in PHP In A Nutshell.

The section on databases is well worth the asking price, but I found way more than that to be of real, immediate value to my "emerging" PHP skills. However, perhaps like the other reviewer, I'd like to have a nice little appendix that contrasts the "C" or "Java" way of doing something to the PHP way of doing it as an added benefit that would negate the need for a massive index. Indexing is nearly a lost art today, it seems...only library sciences majors seem to know the first thing about it while the rest of us rely on our word processing software and some manual hacking of its results.

Don't let this "semi-rant" deter you from finding the real value in this book, which is still exceptionally useful but may mean a bit more reading. At least it flys by quickly and enjoyably due to the entire team involved in its production.

While the section on Manipulating Images is really fantastic for content, somehow the "smooth, blue gradient" looses its luster when reduced to gray scale. Yeah, I realize that something has to bite the bullet to be competitive in today's market, but blue skies in grayscale? Oh well, the book is still very excellent and useful. It is the first thing I reach for when I need PHP help. Perhaps someone with hardcore PHP experience may point out flaws that I'd miss, but for a programmer getting going in PHP, I've found it to be a massive, err...in a light and easy way, help!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
private area, access control modifiers, public function bark, pdf setfont, array cursor, mixed var, float num, preg match, will output the following, php print, superglobal arrays, curl exec, one string parameter, array arr, outputting text, int options, shutdown functions, magic quotes, optional second parameter, code cache, class dog, function foo, previous script, php script, string str
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Function Reference, Laura Pollard, Network Programming, Cross-Platform Code, Anthony Clarke, Chief Information Officer, Testing Your Configuration, Internet Explorer, Chief Executive Officer, Manipulating Images, Web Sites, Zend Engine, Deleting Files, Using Sessions, Next Sunday, Mail Minie, Hello First, Hello Second, Sending Mail, Hello Third, Creating Poppy Creating
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(10)
(3)
(2)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...

Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject