
Web Database Applications with PHP an MySQL
Résumé
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
L'auteur - Hugh E. Williams
Hugh E. Williams is a software design engineer at Microsoft's Windows Live Search in Redmond, WA. Previously, he was the Associate Professor in Information Retrieval at RMIT University in Melbourne, Australia. He's published over 70 research papers and holds around 10 patents, mostly in the search engine area. When not at work Hugh likes to hang out with his family, exercise, watch Richmond play footy, and learn about baseball. Hugh has a PhD from RMIT University. His home page is http://hughwilliams.com.
Sommaire
- Database Applications and the Web
- The PHP Scripting Language
- Arrays, Strings, and Advanced Data Manipulation in PHP
- Introduction to Object-Oriented Programming with PHP 5
- SQL and MySQL
- Querying Web Databases
- PEAR
- Writing to Web Databases
- Validation with PHP and JavaScript
- Sessions
- Authentication and Security
- Errors, Debugging, and Deployment
- Reporting
- Advanced Features of Object-Oriented Programming in PHP 5
- Advanced SQL
- Hugh and Dave's Online Wines: A Case Study
- Managing Customers
- The Shopping Cart
- Ordering and Shipping at the Online Winestore
- Searching and Authentication in the Online Winestore
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Hugh E. Williams, David Lane |
Parution | 15/05/2004 |
Édition | 2eme édition |
Nb. de pages | 800 |
Format | 17,5 x 23,5 |
Couverture | Broché |
Poids | 1150g |
Intérieur | Noir et Blanc |
EAN13 | 9780596005436 |
ISBN13 | 978-0-596-00543-6 |
Avantages Eyrolles.com
Nos clients ont également acheté
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse
- Informatique Systèmes d'exploitation Linux
- Informatique Bases de données Produits SGBD MySQL
- Informatique Développement d'applications Conception et développement web
- Informatique Développement d'applications Conception et développement web Serveurs web et serveurs d'application Apache
- Informatique Développement d'applications Langages PHP