Linux and Open Source Books and Software
Search Advanced SearchView Cart   Checkout   
 Location:  Home » O'Reilly Linux » Web Database Applications with PHP & MySQL, 2nd Edition  
Categories
Linux Books
Electronics
Linux Software
Linux Games
O'Reilly Linux
Tshirts
Information
Home
Linux Shop
Irish Hosting
ILUG
Linux Resources
Subcategories
General
Linux
Scripting Languages
Text Processing
Unix System Administration
New Releases
grep Pocket Reference
Bestsellers
Learning Python, 3rd Edition
Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
Linux Pocket Guide
Understanding the Linux Kernel, Third Edition
Programming Python
Programming Perl (3rd Edition)
Python Cookbook
sed & awk (2nd Edition)
Classic Shell Scripting
Unix in a Nutshell, Fourth Edition

Web Database Applications with PHP & MySQL, 2nd Edition

Web Database Applications with PHP & MySQL, 2nd Edition

zoom enlarge 
Author: Hugh E. Williams
Creator: David Lane
Publisher: O'Reilly Media, Inc.
Category: Book

List Price: $44.95
Buy New: $24.38
You Save: $20.57 (46%)



New (35) Used (17) from $17.92

Avg. Customer Rating: 4.5 out of 5 stars 55 reviews
Sales Rank: 47462

Format: Illustrated
Media: Paperback
Edition: 2nd
Number Of Items: 1
Pages: 680
Shipping Weight (lbs): 2.4
Dimensions (in): 9.1 x 7.1 x 1.5

ISBN: 0596005431
Dewey Decimal Number: 005.133
EAN: 9780596005436
ASIN: 0596005431

Publication Date: May 16, 2004
Availability: Usually ships in 1-2 business days
Condition: All orders ship same business day via standard shipping (USPS Media Mail) if received by 1 PM CST.

Editorial Reviews:

Amazon.com Review
PHP and MySQL go hand in hand; the former has been carefully adapted, through the efforts of the open-source community, to the latter. For situations that require dynamic content but don't merit the complexity and development time of Java or .NET enterprise applications, the PHP language and the MySQL database server fit the bill perfectly. That's the point Hugh Williams and David Lane make in Web Database Applications with PHP & MySQL, which combines language tutorials with application design advice to yield a comprehensive picture of its subjects at a reasonable price. Williams and Lane--both Australian academics who use an online wine store in many of their examples--deserve tremendous kudos for their way of presenting recommended coding strategies. Though the code listings themselves aren't remarkably well commented, the authors do a commendable job of explaining in prose what the code is up to.

Case in point: The ever-essential task of using PHP to open a connection to a MySQL database, submit a query to that database, receive a response, and format the returned rows, if any. The book addresses this problem with a straight code listing, followed by text that explains what's happening in five numbered steps. Similar care goes to the other popular applications of the PHP/MySQL duo: session management, shopping carts, and authentication of users. --David Wall

Topics covered: How to use the PHP server-side scripting language and the MySQL database engine to underlie dynamic Web sites (those that rely on database queries) and full-on Web applications, such as those that require session management and maintenance of user rosters. Tutorials in both subjects begin with the basics and proceed through moderately complicated stuff, though there's no absolutely comprehensive reference here.

Product Description
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 thorougly 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


Customer Reviews:   Read 50 more reviews...

2 out of 5 stars Errata Galore   September 9, 2008
New to PHP and haven't touched SQL in quite a few years. I was looking for a good beginning PHP book, not overly simplified as I have some programming experience. I needed to see how PHP and MySQL were to interact and how to set up everything on my machine (Mac). I've used MANY O'Reilly books and they're always topnotch, but this one is so disappointing to me as I find it is riddled with errors and typos. It is one thing to see typos in text and another thing altogether to have to figure out what a mistake in a code example is supposed to say. I expected more, especially since it's a 2nd edition. If it wasn't for all the forums on the web, I never even would have gotten Apache/PHP/MySQL up and running. This book isn't useless. Just not good.


3 out of 5 stars Good Book, Serious ERRORS   July 28, 2008
This is a good book with a nice overview of the stated subjects.

However, I cannot evaluate the application presented because the appendix on installing Easy PHP on Microsoft Windows has SO MANY ERRORS that I simply cannot get this software running. In particular the PEAR installation instructions are just completely wrong.

I will try a Linux environment next, since I can debug better in that environment.



4 out of 5 stars MySQl-PHP textbook   February 18, 2007
 0 out of 10 found this review helpful

As usual in text books, there is a lot of useless information that is not necessary, but since writers are paid by the word, this is to be expected.

I wish there was a section on MySQL commands.



4 out of 5 stars I really like this book   November 18, 2006
 1 out of 5 found this review helpful

I really like this book--direct, no-nonsense, and intelligently written with a minimum of jokes.

One thing that seems strange, that I'm hoping someone can clarify:

In the section of chapter 8 dealing with transactions and concurrency, there is no mention of setting transaction isolation levels (SET TRANSACTION ISOLATION LEVEL command in MySQL). Instead, concurrency is achieved solely by setting table locks.

I can sort of understand this in that the authors are using MyISAM tables. But why no mention of transaction isolation levels using INNODB tables, given that this is the more standard way of dealing with concurrency issues?



3 out of 5 stars Fairly Useful   November 6, 2006
 0 out of 4 found this review helpful

The book got me off the ground with my first client application, a rudimentary database maintenance system. Most valuable were the techniques and thorough understanding required to build a satisfactory security component.

However, it falls way short as a reference tool and could have included a more comprehensive list of mysql functions.


Powered by Apache on Ubuntu Linux with php5, xml, mod_rewrite

Warning: AOM::include() [function.AOM-include]: URL file-access is disabled in the server configuration in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 7108

Warning: AOM::include(http://www.linuxmall.net/textlinks.php) [function.AOM-include]: failed to open stream: no suitable wrapper could be found in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 7108

Warning: AOM::include() [function.include]: Failed opening 'http://www.linuxmall.net/textlinks.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 7108
All prices are in US dollars and are provided by Amazon web services. There maybe shipping restrictions on some items.

Warning: AOM::include() [function.AOM-include]: URL file-access is disabled in the server configuration in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 5831

Warning: AOM::include(http://www.linuxmall.net/footer.html) [function.AOM-include]: failed to open stream: no suitable wrapper could be found in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 5831

Warning: AOM::include() [function.include]: Failed opening 'http://www.linuxmall.net/footer.html' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/blacknight/linuxmall/web/aom.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 5831