Advanced Search
Start Your Free Trial

Overview

Other Readers Also Read...
PHP Cookbook, 2nd Edition

PHP Cookbook, 2nd Edition
by Adam Trachtenberg; David Sklar

Programming PHP, 2nd Edition

Programming PHP, 2nd Edition
by Kevin Tatroe; Rasmus Lerdorf; Peter MacIntyre

Learning PHP 5

Learning PHP 5
by David Sklar

Learning PHP and MySQL

Learning PHP and MySQL
by Michele E. Davis; Jon A. Phillips

There are many reasons for serving up dynamic content from a web site: to offer an online shopping site, create customized information pages for users, or just manage a large volume of content through a database. Anyone with a modest knowledge of HTML and web site management can learn to create dynamic content through the PHP programming language and the MySQL database. This book gives you the background and tools to do the job safely and reliably. Web Database Applications with PHP and MySQL, Second Edition thoroughly reflects the needs of real-world applications. It goes into detail on such practical issues as validating input (do you know what a proper credit card number looks like?), logging in users, and using templates to give your dynamic web pages a standard look. But this book goes even further. It shows how JavaScript and PHP can be used in tandem to make a user's experience faster and more pleasant. It shows the correct way to handle errors in user input so that a site looks professional. It introduces the vast collection of powerful tools available in the PEAR repository and shows how to use some of the most popular tools. Even while it serves as an introduction to new programmers, the book does not omit critical tasks that web sites require. For instance, every site that allows updates must handle the possibility of multiple users accessing data at the same time. This book explains how to solve the problem in detail with locking. Through a sophisticated sample application--Hugh and Dave's Wine Store--all the important techniques of dynamic content are introduced. Good design is emphasized, such as dividing logic from presentation. The book introduces PHP 5 and MySQL 4.1 features, while providing techniques that can be used on older versions of the software that are still in widespread use. This new edition has been redesigned around the rich offerings of PEAR. Several of these, including the Template package and the database-independent query API, are fully integrated into examples and thoroughly described in the text. Topics include:

  • Installation and configuration of Apache, MySQL, and PHP on Unix®, Windows®, and Mac OS® X systems

  • Introductions to PHP, SQL, and MySQL administration

  • Session management, including the use of a custom database for improved efficiency

  • User input validation, security, and authentication

  • The PEAR repository, plus details on the use of PEAR DB and Template classes

  • Production of PDF reports

Amazon.com® Reader Reviews (Ranked by Helpfulness)

Average Amazon.com® Rating: 4.5 out of 5 rating Based on 57 Ratings

Errata Galore - 2008-09-09
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
New to PHP and haven't touched SQL in quite a few years. I was looking for a good beginning PHP book, not overly simplified as I have some programming experience. I needed to see how PHP and MySQL were to interact and how to set up everything on my machine (Mac). I've used MANY O'Reilly books and they're always topnotch, but this one is so disappointing to me as I find it is riddled with errors and typos. It is one thing to see typos in text and another thing altogether to have to figure out what a mistake in a code example is supposed to say. I expected more, especially since it's a 2nd edition. If it wasn't for all the forums on the web, I never even would have gotten Apache/PHP/MySQL up and running. This book isn't useless. Just not good.

A straight-forward made-easy presentation - 2009-06-29
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This has been my first ever book purchase through Amazon. I was quite fortunate to select this book. Clear cut presentations, abundance of samples and professional reasoning.
I fully recommend this book, both to novice users and IT professionals!

Great book - 2009-02-27
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I think this is one of the best buys you can do, the book is clear, useful and with a just price, 100% recommendable.

Good Book, Serious ERRORS - 2008-07-28
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is a good book with a nice overview of the stated subjects.

However, I cannot evaluate the application presented because the appendix on installing Easy PHP on Microsoft Windows has SO MANY ERRORS that I simply cannot get this software running. In particular the PEAR installation instructions are just completely wrong.

I will try a Linux environment next, since I can debug better in that environment.

MySQl-PHP textbook - 2007-02-18
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
As usual in text books, there is a lot of useless information that is not necessary, but since writers are paid by the word, this is to be expected.

I wish there was a section on MySQL commands.

Some information on this page was provided using data from Amazon.com®. View at Amazon >


About Safari Books Online • Terms of Service • Privacy Policy • Contact Us • Corporate Licenses • Help • Accessibility | See us on FacebookSee us on Linked InSee us on TwitterRSS

Copyright 2009 Safari Books Online. All rights reserved.