Web Database Applications with PHP & MySQL
O'Reilly Media (Verlag)
978-0-596-00041-7 (ISBN)
- Titel erscheint in neuer Auflage
- Artikel merken
What do eBay, Amazon.com and CNN.com have in common? They're all applications that integrate large databases with the Web. 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 any additional software on their computers. This book 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 Wines, a complete (but fictional) online retail site that allows users to browse, search a dAtabase, add items to a shopping cart, manage their membership, and purchase wines. Using this site as an example, the book shows you how to implement searching and browsing.
If you want to build small to medium-scale Web database applications that can run on modest hardware and process more than a million hits a day from users, this book will show you how.
Hugh Williams is a senior lecturer in the School of Computer Science and IT at RMIT University in Melbourne, Australia, where he has taught for seven years. He currently teaches in two areas: database technology and web technology, and is the coordinator of a Masters program that focuses on the Internet and the Web. His research interests include building better search engines, bioinformatics, and designing faster data structures. When not at work Hugh likes to go running, watch Richmond play footy, and follow the cricket. Hugh has a PhD from RMIT University. Since the mid 1990s David Lane has worked as a software engineer and IT manager with the Multimedia Database Systems group at RMIT University in Melbourne, Australia. In that group he has helped to develop and commercialize the Structured Information Manager, a large-scale SGML/XML document repository and a high performance Web server. David has also worked with Australia's largest telecommunications company, Telstra, in areas as diverse as Satellite Communications, Human Factors Research, and Electronic Document Interchange (EDI). David has a Bachelor's degree in Applied Science (majoring in mathematics and computer science) from Swinburne University.
Preface 1. Database Applications and the Web Three-Tier Architectures The Client Tier The Middle Tier The Database Tier Our Case Study 2. PHP Introducing PHP Conditions and Branches Loops A Worked Example Arrays Strings Regular Expressions Date and Time Functions Integer and Float Functions User-Defined Functions Objects Common Mistakes 3. MySQL and SQL Database Basics Quick Start Guide MySQL Command Interpreter Managing Databases, Tables, and Indexes Inserting, Updating, and Deleting Data Querying with SQL SELECT Join Queries Modifying the Database Functions More on SQL and MySQL 4. Querying Web Databases Connecting to a MySQL Database Formatting Results Case Study: The Front-Page Panel Interacting with Other DBMSs Using PHP 5. User-Driven Querying User Input Querying with User Input Case Study: Previous and Next Browsing Case Study: Producing a select List 6. Writing to Web Databases Database Inserts, Updates, and Deletes Issues in Writing Data to Databases 7. Validation on the Server and Client Validation and Error Reporting for Web Database Applications Server-Side Validation Client-Side Validation with JavaScript 8. Sessions Building Applications That Keep State Session Management Over the Web PHP Session Management Case Study: Adding Sessions to the Winestore When to Use Sessions 9. Authentication and Security HTTP Authentication HTTP Authentication with PHP Authentication Using a Database Web Database Applications and Authentication Protecting Data on the Web 10. Winestore Customer Management Overview of the Winestore Application Customer Management Authenticating Users The Winestore Include Files 11. The Winestore Shopping Cart The Winestore Home Page The Shopping Cart Architecture Managing Redirection 12. Ordering and Shipping at the Winestore Finalizing Orders HTML and Email Receipts 13. Related Topics Automated Housekeeping Templates Searching and Browsing A. Installation Guide B. Internet and Web Protocols C. Modeling and Designing Relational Databases D. Managing Sessions in the Database Tier E. Resources Index
Erscheint lt. Verlag | 23.4.2002 |
---|---|
Zusatzinfo | index |
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 179 x 232 mm |
Gewicht | 822 g |
Einbandart | kartoniert |
Themenwelt | Mathematik / Informatik ► Informatik ► Datenbanken |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
ISBN-10 | 0-596-00041-3 / 0596000413 |
ISBN-13 | 978-0-596-00041-7 / 9780596000417 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
aus dem Bereich