Flylib.com

Books Software

 
 
 

Starting Page

click for table of contents

Copyright
Table of Contents
Index
Full Description
Reviews
Reader reviews
Errata

Web Database Applications with PHP & MySQL

Hugh E. Williams
David Lane
Publisher: O'Reilly
First Edition March 2002
ISBN: 0-596-00041-3, 582 pages

start reading


Web Database Applications with PHP and MySQL offers web developers a mixture of theoretical and practical information on creating web database applications. Using PHP and MySQL, two open source technologies that are often combined to develop web applications, the book offers detailed information on designing relational databases and on web application architecture, both of which will be useful to readers who have never dealt with these issues before. The book also introduces Hugh and Dave's Online Wine Store, a complete (but fictional) online retail site implemented using PHP and MySQL.

only for RuBoard - do not distribute or recompile

Web Database Applications with PHP & MySQL

Copyright 2002 O'Reilly & Associates, Inc. All rights reserved.

Printed in the United States of America.

Published by O'Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

O'Reilly & Associates books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com.

The O'Reilly logo is a registered trademark of O'Reilly & Associates, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. The association between the image of a platypus and the topic of web database applications with PHP and MySQL is a trademark of O'Reilly & Associates, Inc.

While every precaution has been taken in the preparation of this book, the publisher and the author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

only for RuBoard - do not distribute or recompile
only for RuBoard - do not distribute or recompile

Preface

Web database applications integrate databases and the Web. Well-known web destinations such as online auction sites, retail stores, news sites, discussion forums, and personalized home pages are all examples of web database applications. The popularity of these applications stems from their accessibility and usability: thousands of users can access the same data at the same time without the need to install additional software on their machines.

only for RuBoard - do not distribute or recompile
only for RuBoard - do not distribute or recompile

What This Book Is About

This book is for developers who want to build database applications that are integrated with the Web. It presents the principles and techniques of developing small- to medium-scale web database applications that store, manage, and retrieve data, as well as the basic techniques for securing an application. The architecture we describe is a successful framework for applications that can run on modest hardware and process more than a million hits per day from users.

An important feature of this book is our ongoing case study, Hugh and Dave's Online Wines. It's a complete but fictional online retail store that allows users to browse and search a database of wines, add items to a shopping cart, manage their membership, and purchase wines. Searching, browsing, storing user data, validating user input, managing user transactions, and security are each the subject of a chapter, and each topic is illustrated with examples from the case study. The completed winestore scripts are presented and briefly discussed at the end of the book.

We use open source software. Our database management system (DBMS) is MySQL, a system known for its suitability to applications that require speed but low resource overheads. Our scripting language is PHP, which is best known for its function libraries that interact with more than 15 relational database systems, the web environment, and many other services. We use PHP to develop the application logic that brings together the Web and the relational database management system (RDBMS). Apache is our web server of choice.

only for RuBoard - do not distribute or recompile