PHP Solutions: Dynamic Web Design Made Easy and over one million other books are available for Amazon Kindle. Learn more



or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
Start reading PHP Solutions: Dynamic Web Design Made Easy on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

PHP Solutions: Dynamic Web Design Made Easy [Paperback]

David Powers
4.4 out of 5 stars  See all reviews (84 customer reviews)

List Price: $34.99
Price: $22.07 & FREE Shipping on orders over $25. Details
You Save: $12.92 (37%)
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 tomorrow, June 20? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Formats

Amazon Price New from Used from
Kindle Edition $15.39  
Paperback $22.07  
Rent Your Textbooks
Save up to 70% when you rent your textbooks on Amazon. Keep your textbook rentals for a semester and rental return shipping is free.
There is a newer edition of this item:
PHP Solutions: Dynamic Web Design Made Easy PHP Solutions: Dynamic Web Design Made Easy 4.4 out of 5 stars (84)
$28.00
In Stock.

Book Description

November 9, 2006 1590597311 978-1590597316 1

You want to make your websites more dynamic by adding a feedback form, creating a private area where members can upload images that are automatically resized, or perhaps storing all your content in a database. The problem is, you’re not a programmer and the thought of writing code sends a chill up your spine. Or maybe you’ve dabbled a bit in PHP and MySQL, but you can't get past baby steps. If this describes you, then you’ve just found the right book.

PHP and the MySQL database are deservedly the most popular combination for creating dynamic websites. They’re free, easy to use, and provided by many web hosting companies in their standard packages. Unfortunately, most PHP books either expect you to be an expert already or force you to go through endless exercises of little practical value. In contrast, this book gives you real value right away through a series of practical examples that you can incorporate directly into your sites, optimizing performance and adding functionality such as file uploading, email feedback forms, image galleries, content management systems, and much more. Each solution is created with not only functionality in mind, but also visual design.

But this book doesn’t just provide a collection of ready-made scripts: each PHP solution builds on what's gone before, teaching you the basics of PHP and database design quickly and painlessly. By the end of the book, you’ll have the confidence to start writing your own scripts, or if you prefer to leave that task to others, to adapt existing scripts to your own requirements.

Right from the start, you’re shown how easy it is to protect your sites by adopting secure coding practices. The book has been written with an eye on forward and backward compatibility recommending PHP 5 techniques, but providing alternative solutions for servers still running PHP 4.3. All database examples demonstrate how to use the original MySQL extension, MySQL Improved, or the PHP Data Objects (PDO) introduced in PHP 5.1, letting you choose the most suitable option for your setup.


Frequently Bought Together

PHP Solutions: Dynamic Web Design Made Easy + Learning PHP, MySQL, JavaScript, and CSS: A Step-by-Step Guide to Creating Dynamic Websites + HTML and CSS: Design and Build Websites
Price for all three: $64.47

Buy the selected items together


Editorial Reviews

From the Author

What made the first edition of "PHP Solutions" my most popular book was that I wrote it with PHP 5 in mind at a time when most websites were still hosted on PHP 4 servers. So, when friends of ED asked me to prepare a second edition, I thought it would be a simple task -- just remove the PHP 4 material, and add some new techniques. How wrong I was!

The decision to drop support for PHP 4 was liberating. I realized that some tasks, such as uploading files and creating thumbnails, could be much better handled by custom classes. I hadn't been able to do that in the first edition because classes in PHP 4 and PHP 5 are mutually incompatible. The classes break complex tasks into simple, easy-to-understand operations. Better still, all the code is project-neutral, so you can reuse the classes in other websites by writing no more than a dozen lines of code -- sometimes less.

Although the book retains the original structure of the first edition, all the code has been completely rewritten, making it cleaner and more efficient. Other new features include displaying the results of a news feed using SimpleXML and the Standard PHP Library (SPL). There's also detailed coverage of the date and time classes introduced in PHP 5.2 and 5.3. The chapter on working with multiple database tables has been expanded to explain how to implement foreign key constraints in InnoDB, the default storage engine in MySQL 5.5.

This new edition requires PHP 5.2 and MySQL 4.1 or later. The code won't work in earlier versions.

Please note that the example files for the book are now located on the main Apress website. The friends of ED address on page xvii is no longer valid. --This text refers to an alternate Paperback edition.

From the Back Cover

What you'll learn
  • Updates to the first edition with the latest PHP techniques for modern, dynamic web design
  • Create dynamic websites with design and usability in mind, as well as functionality
  • Understand how PHP scripts work, giving you confidence to adapt them to your own needs
  • Bring online forms to life, check required fields, and ensure user input is safe to process
  • Upload files and automatically create thumbnails from larger images
  • Manage website content with a searchable database
Who this book is for

This is a "must have" reference book for any Web developer using PHP scripting language. If you have read the first edition classic, then this update will bring you the latest PHP techniques and best practices. If you are new to dynamic web design with PHP, then David will introduce you to the core techniques and methods for dynamic PHP web sites, ready for the 21st century! --This text refers to an alternate Paperback edition.

Product Details

  • Paperback: 488 pages
  • Publisher: friendsofED; 1 edition (November 9, 2006)
  • Language: English
  • ISBN-10: 1590597311
  • ISBN-13: 978-1590597316
  • Product Dimensions: 7.3 x 1 x 9.1 inches
  • Shipping Weight: 1.8 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (84 customer reviews)
  • Amazon Best Sellers Rank: #644,984 in Books (See Top 100 in Books)

More About the Author

I specialize in writing about web design using Dreamweaver, PHP, and CSS. PHP is the most popular server-side language that brings life to websites by communicating with external data sources, such as databases, news feeds, and XML documents. Adobe has recognized my expertise in web development by appointing me an Adobe Community Professional (ACP) for Dreamweaver. You'll often find me giving help in the Dreamweaver forums and Dreamweaver Community Help. In 2010, I became one of the first to qualify as a PHP 5.3 Zend Certified Engineer.

Before turning my hand to writing about web design, I spent nearly 30 years as a BBC radio and TV journalist, working both in front of the microphone/camera and behind the scenes. That gave me a wealth of experience in explaining sometimes difficult concepts in straightforward, easy to understand language - experience which shows through in my books.

I spent a large part of my broadcasting career in Japan, first on loan from the BBC to NHK, the Japan Broadcasting Corporation, and later as BBC correspondent. I have traveled all over Japan, and love taking photos, many of which end up being used in my books. Over the years, I have worked closely with the Shiki Theatrical Company, Japan's leading producer of musicals; and have translated several of their plays into English.

Customer Reviews

It's a very good, well written book. Steve  |  28 reviewers made a similar statement
I highly recommend this book to anyone that wants to strengthen their PHP and mySQL knowledge. J. Frasier  |  22 reviewers made a similar statement
Most Helpful Customer Reviews
40 of 43 people found the following review helpful
5.0 out of 5 stars Exactly What I've Been Looking For December 8, 2006
Format:Paperback|Amazon Verified Purchase
This book is exactly what I've been looking for, for a long time. I have been creating web sites for years, but haven't had much PHP experience. Some, but not much. Each time I looked for a "solution" online, I came across sloppy articles, conflicting information, difficult to understand code--just generally unsatisfactory, frustrating info for anyone who didn't already know PHP really well. Or, the info might be good, but it would take forever to find it. Not any more. I bought this book a few weeks ago, and started using things in it the other day. I have not read the entire book, but I've already incorporated some of the things into some sites I'm working on, and it was a breeze. The book is really well-written. If you have experience in web design but aren't a programmer, you will really benefit from this book. You'll painlessly add a number of really useful tools to your repertoire and be able to offer your clients more the same day you receive the book in the mail. I highly recommend it.
Comment | 
Was this review helpful to you?
27 of 29 people found the following review helpful
By VMilo
Format:Paperback
I was probably about two books shy of giving up on ever learning anything useful about PHP so I'm thrilled to have discovered this book when I did!

I'm not a programmer by any stretch of the imagination but I know HTML, a fair amount of CSS, and I have a cursory understanding of how programming works. I've also successfully (but not often painlessly) installed and customized several ready-made PHP scripts so I've long been aware of how much more PHP could help me accomplish if I only had a better understanding of it.

I purchased several books on the subject over the years but could never get much past the first few chapters with any of them -- usually not even that much. Among my biggest problems was that it seemed I wasn't getting enough doses of practical information to stay motivated. This also made it difficult to be aware of any progress I might be making -- or if I even was. Sometimes the information didn't build up logically enough for me so it was harder to retain anything I might have learned. Often, even when a book claimed to be for beginners, in some areas it used jargon or presumed I knew things I didn't know at all while becoming excruciatingly basic in other areas. It was a constant struggle with little or no reward.

But none of this was the case with PHP SOLUTIONS.

I've been methodically reading just a few pages (rarely more) every night so as not to overload my circuits which were already weakened from so much frustration. The information is authoritative but the writing style is approachable, both of which made it so much easier for me to persevere.
... Read more ›
Comment | 
Was this review helpful to you?
25 of 27 people found the following review helpful
5.0 out of 5 stars One of the Best February 15, 2007
Format:Paperback
I recently read PHP Solutions by David Powers, and have to say it has been one of the better ones I've come across in awhile - definitely one I will keep at arm's length. I think the best way to describe it is to use an analogy. What CSS Mastery is for CSS, PHP Solutions is for PHP. This book is full of practical PHP tips and tricks that can help you hit the ground running. It takes a learn-by-doing approach.

While this isn't a comprehensive how-to guide covering OOP, it does approach things with a future-proofing mindset. Powers is careful to point out where things are specific to PHP 5, and gives alternatives to making them work in version 4. He also talks about what features will be prevalent in PHP 6, such as PDO (PHP Data Objects) becoming the more standardized way to handle database connectivity.

The first few chapters start off with the basics, showing PHP syntax and explaining how to build dynamic templates using includes. He also shows how to protect includes from being accessed independently of their accompanying pages, storing them separately from publicly accessible directories. He also shows how to build a file-upload interface for use in a basic CMS.

He then goes on to build a photo blog, complete with auto-generated thumbnails. One cool solution he uses is checking the width of an image, and then using that numerical value to set the width of a paragraph which contains explanatory text. By constraining the width, it keeps the line of text from being longer than the image is wide. He also shows how to use PHP's date output to keep the copyright for your site on-par with the current year.

The latter part of the book gets into more advanced topics such as user management, remember sessions with cookies, and handling database security.
... Read more ›
Comment | 
Was this review helpful to you?
23 of 25 people found the following review helpful
5.0 out of 5 stars The Book at My Elbow December 29, 2010
By dhm
Format:Paperback
I'm about to start a new PHP project for our university website and was going to do it with the first edition of Dave Powers's PHP Solutions at my elbow. Now it will be the second edition. I have other PHP books and may dip into them a bit, but this is the one that will see me through.

It seems that Powers came to computer guru-dom from a career in broadcast journalism, and it shows in his ability to present exactly the information I need in exactly the way I need it. I'm a fairly experienced user-developer, but not a technical person. Powers is a wizard and at the same time a first-rate "host" to the reader. He understands the difference between making an explanation ALMOST confusion-free and getting it just right. His writing style pleasantly engages you on grown-up terms, with no static of jokiness to cut through.

As for content, PHP Solutions is, as the title declares, a solution-oriented approach to getting things done with PHP, not a ground-up tutorial or a dictionary-like reference. But I find that the challenges and solutions Powers has assembled amount to an important part of what I want to get done on a project. You can learn PHP basics anywhere (although Powers gives you a refresher in those, too) and then, when it comes to putting a particular capability into your website, turn to this book for the solution. For example, when I look at the code I wrote for my course-management system to display a list of students' reports with short extracts in screens of ten students each, I find the following comment:

// *** Prepare for paging through query results, displaying a specified number
//of records on the page and inserting a record-navigation system above and
//below the records.
... Read more ›
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
2.0 out of 5 stars Good beginner book on PHP
Brought and read this book a few weeks back. Returned it when I found that the e-book version had to use a kindle application to read it on the cloud reader. Read more
Published 2 months ago by John Bordenet
5.0 out of 5 stars Great book even for intermediate/advanced PHP web developers
While I knew quite a bit about PHP going into this book, I was surprised that I got quite a few good tips right off the bat. Read more
Published 4 months ago by Michael Warenycia
4.0 out of 5 stars Download files
For the exercise files the link on the book is outdated and leads no where. I had to do a search for the new link on Google. The site has been integrated into the Apress main page. Read more
Published 5 months ago by Henry Sanchez
5.0 out of 5 stars I have not read much about it, so can not have a good and a good...
I have not read much about it, so can not have a good and a good review yet. May be later
Published 6 months ago by Gary K. Lo
4.0 out of 5 stars Very Helpful Guide for Someone New to PHP
I've enjoyed this book and for someone new to programming felt that I learned a lot very, very quickly. Read more
Published 6 months ago by Stephanie Chaufournier
5.0 out of 5 stars I found what I was lookin' for!
At last, a book on programming that explains every single step & doesn't assume that you already understand all the concepts. Read more
Published 7 months ago by brodmontgomery
3.0 out of 5 stars Great PHP tutorial
The book is interesting and the activities well thought out, but I think he goes into detail where he shouldn't and leaves out important facts that I had to find elsewhere. Read more
Published 8 months ago by holli
5.0 out of 5 stars PHP solutions
THE quick start to your own PHP scripts! This book gives you a good basis. Nice code examples, well explained let you really jump in to PHP. Thanks for this book!
Published 8 months ago by Maxtor09
5.0 out of 5 stars EXCELLENT PHP BOOK!
I learned PHP thanks to David Powers' first edition of this book. Since I bought it in 2009, PHP has changed as have coding standards, security measures and the like. Read more
Published 9 months ago by Wordman
3.0 out of 5 stars Strange Book . .
I worked for years as a programmer, and am proficient in numerous languages, but a PHP noob. A current project requires me to work with PHP, and I bought this thinking it would be... Read more
Published 9 months ago by Mike Briggs
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category