Publisher: O'Reilly Media Released: May 2004 Pages: 818
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 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 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
|
- Title:
- Web Database Applications with PHP and MySQL, 2nd Edition
- By:
- Hugh E. Williams, David Lane
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2004
- Ebook:
- June 2009
- Pages:
- 818
- Print ISBN:
- 978-0-596-00543-6
- | ISBN 10:
- 0-596-00543-1
- Ebook ISBN:
- 978-0-596-15906-1
- | ISBN 10:
- 0-596-15906-4
|
-
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. View Hugh E. Williams's full profile page. -
David Lane 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. View David Lane's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Web Database Applications with PHP and MySQL, Second Edition is a platypus. The platypus (Ornithorhynchus anatinus) of Australia and Tasmania has been described as a living fossil. Its earliest known remains date back 100,000 years, and it combines mammalian and reptilian features. It is aquatic, furry, warm-blooded, and lays eggs. It sports webbed feet, a beaverlike tail, and a ducklike bill. The preferred plural of platypus is either "platypus" or "platypuses," and a baby platypus has been referred to as a "platapup." The platypus was first described by Dr. George Shaw, a British scientist. He thought the animal was a hoax and took a pair of scissors to the pelt, expecting to find stitches attaching appendages to skin. The platypus is an air-breathing mammal that spends most of its day resting in an underground burrow. However, it feeds only in the water and is rarely observed on land. The platypus hunts mostly at night for such food as shrimp, worms, and aquatic insects. Because the animal doesn't need to hear or see its intended food, a platypus protects its eyes and ears by automatically closing them underwater and relies on its bill to locate prey. While diving, the platypus temporarily stores food in special cheek pouches. When the animal returns to the surface to breathe, the food is ground up between rough pads located inside the bill. A female platypus produces a clutch of one to three eggs in late winter or spring. The mother is believed to incubate them between her lower belly and curled-up tail for about 10 days as she rests in an underground nest made of vegetation collected from the water. She doesn't have nipples; her milk is instead secreted from two patches of skin midway alongher belly. It's believed that a platypup feeds by slurping up milk with sweeps of its stubby bill. When juveniles enter the water at about four months, they are nearly as long as an adult. The platypus is the only Australian mammal known to be venomous. Adult males have a pointed spur located above the heel of each hind leg that can inject poison produced by a gland in the thigh. Platypus venom isn't considered life-threatening to humans. However, spurring is painful, because platypus spurs are sharp and can be driven in with great force; the poison itself triggers severe pain in the affected limb. The platypus is officially classified as "common but vulnerable" in Australia. As a species, it isn't currently considered endangered. However, platypus populations are believed to have declined or disappeared, particularly in urban and agricultural settings; the specific underlying reasons for this decline are unknown. Darren Kelly was the production editor, and Nancy Reinhardt was the copyeditor for Web Database Applications with PHP and MySQL, Second Edition. Jamie Peppard, Claire Cloutier, and Philip Dangler provided quality control. Mary Agner provided production assistance. John Bickelhaupt wrote the index. Ellie Volckhausen and Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Quark-XPress 4.1 using Adobe's ITC Garamond font. Melanie Wang designed the interior layout, based on a series design by David Futato. This book was converted by Andrew Savikas to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the headingfont is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read usingMacromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was compiled by Mary Anne Weeks Mayo. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Colin Moock
December 2002
Ebook: $43.99
Print & Ebook: $60.45
Print: $54.95
By Derrick Story
May 2004
By Steve Oualline
December 2002
Ebook: $31.99
Print & Ebook: $43.95
Print: $39.95
|
Customer Reviews

3/18/2011 (12 of 13 customers found this review helpful) 1.0Book Website needs attention - Outdated
- Website needs attention
2/25/2011 (5 of 8 customers found this review helpful) 1.0A comment to the authors 10/12/2008 (0 of 2 customers found this review helpful) 4.0A solid php MySQL for those with (a little) php experience. By Anonymous from Undisclosed 6/19/2008 (0 of 2 customers found this review helpful) By tommykay from Undisclosed 12/16/2006 (0 of 3 customers found this review helpful) 2.0halve mamal - halve bird By pampers from Undisclosed 8/30/2005 (0 of 2 customers found this review helpful) 4.0Wonderful book, I thoroughly enjoyed it. By Steve Reynolds from Undisclosed 2/10/2005 (0 of 2 customers found this review helpful) 4.0Daring to Publish in a Time of Transition By corexian from Undisclosed 9/23/2004 (2 of 4 customers found this review helpful) 9/16/2004 (0 of 2 customers found this review helpful) 3.0Great for the well versed, challenging for the novice By M. Ladd from Undisclosed
|
|
|
Merchant response: Hi Layla,
Thanks for writing us about the issue you encountered with the website. It looks like the link you found is incorrect; the correct link is http://www.webdatabasebook.com/2nd-edition/winestore/index.html
Regards,
Rachel James
O'Reilly Media