- Paperback: 528 pages
- Publisher: Apress; 2nd ed. edition (November 24, 2010)
- Language: English
- ISBN-10: 1430232498
- ISBN-13: 978-1430232490
- Product Dimensions: 7.5 x 1.2 x 9.2 inches
- Shipping Weight: 2.5 pounds (View shipping rates and policies)
- Average Customer Review: 55 customer reviews
- Amazon Best Sellers Rank: #1,013,381 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.
PHP Solutions: Dynamic Web Design Made Easy 2nd ed. Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
The Amazon Book Review
Author interviews, book reviews, editors picks, and more. Read it now
Frequently bought together
What other items do customers buy after viewing this item?
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.
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
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!
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
You don't have to buy anything from them (more expensive than Amazon) to download the source files. I found this a good read and informative. But I am an experience C++ programmer. I bought this book, specifically, so that I could use PHP programming language with Dreamweaver's Form options to collect data from my web page users. This book shows exactly how to do that. I also recommend Dreamweaver 8: The Missing Manual which, aside from some minor menu changes, is good with CS6.
WARNING: There are no '-' (hyphens) in the code written in this book. But if you have your type too big, or on a computer the page to narrow, Kindle will put hyphens in as page formatting. For example
my page 77 showed. echo $_SERVER['SCRIPT_FILE-NAME'];
with NAME']; on the next line. When I tried that it DID NOT WORK. When I reformatted the page it showed correctly as:
echo $_SERVER['SCRIPT_FILENAME']; which worked.
I began studing web design several months ago, and learned HTML, and CSS fundamentals. I quickly ran into PHP, and discovered how much more useful my web design could become. I toyed with designing an online glossary, and discovered that PHP was the only viable way to go, but I was rather put down by the complexity that PHP seemed to present to me, a relative novice. Having previously followed many of the authors excellent online tutorials for web design, I decided to invest in his "PHP Solutions" book.
"PHP Solutions" is around 500 pages of text. The book takes you from the basics of PHP syntax to advanced concepts in a logical way, through the complexities of MySQL databases. MySQL Databases must be tested using a "testing server", and the author even shows you how to easily download, install, and configure a free XAMPP (Or MAMP, on a MAC) testing server right on your own PC, to handle this requirement. Some of the many subjects expertly discussed are PHP forms and their security issues, 'include' files, graphics, and using MySQL databases to manage content. Chapter 17 covers "Authenticating Users With a Database".
The book text is clear and well written, with many graphics and examples, and generous margins for those who like to make notes. There is no included CD of example programs, but this is available online, as a free download; as explained in the book- so you don't have to do a lot of typing to test the examples for yourself.
My book arrived in reasonable time, but there was a production problem with very slightly smudged ink on many pages of the book. Although the book was still perfectly readable, I decided to request a replacement from Amazon. This was accomplished with ease online, on the Amazon website. A new replacement soon arrived, (at no expense to me), which had no blemishes at all.
In conclusion, I highly recommend the book, the author, and the courteous, professional, service rendered by Amazon. I have now purchased five web-design books from Amazon, and so can say with confidence that I am quite pleased.
I do have a little background knowledge with PHP, but the other books I've read were so dry and things were taught at such random times, that I was getting really discouraged and fed up with trying to learn PHP. This book seriously changed my feelings and I actually looked forward to doing the tutorials.
If you're totally new to programming languages, this may take a little while for you to get the hang of, but the introductory chapter does a good job at explaining things such as functions and loops and I have no doubts that a beginner could learn from this book. Highly recommended!