Web Database Application with PHP and MySQL – David Lane, Hugh E. Williams – 2nd Edition


There are many reasons for serving up dynamic content from a web site: to offer an 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 can learn to create dynamic content through the PHP programming language and the MySQL database.

This gives you the background and 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 templatesto 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 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 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 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 is emphasized, such as dividing logic from presentation. The 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
– 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

View more

Table of Contents

Chapter 1 Database Applications and the Web
Chapter 2 The PHP Scripting Language
Chapter 3 Arrays, Strings, and Advanced Data Manipulation in PHP
Chapter 4 Introduction to Object-Oriented Programming with PHP 5
Chapter 5 SQL and MySQL
Chapter 6 Querying Web Databases
Chapter 7 PEAR
Chapter 8 Writing to Web Databases
Chapter 9 Validation with PHP and JavaScript
Chapter 10 Sessions
Chapter 11 Authentication and Security
Chapter 12 Errors, Debugging, and Deployment
Chapter 13 Reporting
Chapter 14 Advanced Features of Object-Oriented Programming in PHP 5
Chapter 15 Advanced SQL
Chapter 16 Hugh and Dave's Online Wines:A Case Study
Chapter 17 Managing Customers
Chapter 18 The Shopping Cart
Chapter 19 Ordering and Shipping at the Online Winestore
Chapter 20 Searching and Authentication in the Online Winestore

Leave us a commentNo Comments

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x