( 96 customer ratings)
O'Reilly Media, June 2009
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:
$24.79 List price: $39.99 You save: 38% ($15.20)
If you use one of Kobo's free reading apps you won't need to worry about download options most of the time. Your Kobo reading app can easily add Kobo Store books to your library for a seamless reading experience.
Download options matter when:
In both of these cases you will need to:
You can also use Digital Editions to transfer the book to your eReader. See here for more information on Digital Editions.
You can read this item on your computer using our free Kobo Desktop Application. This application lets you read, manage your library of eBooks, and even shop for new ones. Check out our demo for more information!
Learn More »You can read this item on your Kobo eReader (or other select electronic reading devices). The Kobo eReader lets you carry your whole library with you, so that you can read on the go.
Visit kobo.com/ereaders »You can read this item on select tablets using one of our free Kobo apps. These apps let you read, manage your library of eBooks, and even shop for new ones.
Learn More »You can read this item on your Kobo Arc using the Library app. This app lets you read, manage your library of eBooks, and shop for new books.
Learn More »You can read this item on any Android device (phone, tablet) with one of our free Kobo apps. These apps let you read, manage your library of eBooks, and even shop for new ones.
Learn More »You can read this item on the free Kobo app for iPhone. This app let you read, manage your library of eBooks, and even shop for new ones.
Download the iPhone App! Learn More »
By: {2}
Available on: {3}
Coming soon
Secure TransactionSubtotal
Store Credit
Total
We'll charge your credit card {4} on {3}.
We'll charge your credit card {4} when the book is added to your Library.
Your store credit covers the cost of this purchase, so we don't charge your credit card
Use Quick Buy for all eBook purchases.{2} is now in your library. You'll receive an email confirming your purchase very soon.
{2} has been pre-ordered. You'll receive a confirmation email confirming your pre-order very soon.
You were charged:
You will be charged: on {3}
You will be charged: when the book is added to your Library
Rakuten Super Points earned: {1}
Rakuten Super Points {1} earned after the book is added to your Library