Web Database Applications with PHP and MySQL

ClanBrandon Books
view more info on this item
click here for more details, find new or used items

Hugh Williams, David Lane

Our price £20.77 (£31.95)
New from £15.96
Used from £15.96

Pages: 680 (Paperback)

ISBN: 0596005431

Pub: O'Reilly Media, Inc.

Pub date: 2004-05-13

Amazon.co.uk Sales Rank: 56126

Check for 3rd party sellers (new/used)

Editorial Review:


Web Database Applications shows Web developers how to build rich Web database applications using two leading open-source technologies, PHP and MySQL. The authors also assume use of the Apache Web server, which is by far the most common PHP scenario. Both PHP and MySQL are introduced from scratch, although this is a fast-paced book best suited to at least intermediate developers.

After a brief discussion of Web database applications, the authors offer a rapid tour of PHP essentials, including loops, expressions, functions and common mistakes. Next comes a quick-start guide to MySQL, focusing mainly on the SQL language itself. The following chapters tackle connecting to MySQL and other databases, implementing user-driven queries and enabling writing as well as reading data. There is a useful chapter on data validation, both on the client and the server and excellent coverage of another crucial subject: security and authentication. This looks at the fundamentals of HTTP authentication and examines security features in both Apache and PHP, identifying weaknesses and explaining pros and cons. The closing chapters form a detailed case study, an online wine store, with complete code available for download. It embraces user management, a shopping cart, searching, ordering and delivery, covering many key topics in the process. At the back of the book are appendices on a range of issues, including installation, Web protocols, database modelling and session management.

Web Database Applications is tightly-focused, packing in lots of solid technical information without wasting words. It does not pretend to cover all the potential uses of PHP, and the screen shots will not win prizes for design, but it's a great handbook for building robust, secure database applications with these popular technologies. --Tim Anderson

Reader Reviews:


2/5 stars

This book should hafe been called "Applications with PEAR and MySQL" (0/0 people found this helpful)

How annoying! Yet another book that professes to be about PHP, but is in fact about an extension of PHP which I for one don't really want to use. I don't need PEAR for my site. I am quite content with native PHP Mysql support. I want a book that explains the ins and outs of that.

This book assumes you will be using PEAR. All the DB stuff is done using PEAR. Native PHP MySQL support doesn't get a look in.

Also, this book assumes you will want to use templates. I don't I keep my php apps as lightweight as possible, so templates are not needed for me.

In my mind, a good learning book will teach you the basics you need to get the job done, and leave you in a better position to explore the extensions etc for yourself, or with the help of dedicated reading matter. Had this book set out to teach you PEAR, I am sure it would have been pretty good. But it didn't. It set out to teach PHP. And it failed.

3/5 stars

Doesn't really lead by example (8/8 people found this helpful)

It's a good and thorough book, and as far as it goes or any other book goes on this subject I would recommend it. There are however some caveats to this. The first is that there is a huge chunk in the middle which just lists a whole bunch of functions. It is essentially a reference section in the middle of the book. They do the same for MySQL as they do for PHP. So what are we upposed to do with this? Read amd memorise the whole lot?
It would have been a lot more helpful to bash through and construct a database application (which is what this book is about actually) and explain the code and have a reference section or a pullout at the end.
I now regularly use phpfreaks.com for their tutorials as this is what they do. Take a chunk of useful code, break it down bit by bit, line by line. when properly structured this is a much better way of learning as one really digests the commands and syntax. Just reading an incredibly dry list of commands and functions or being expected to do this is pretty unreasonable. I am still looking for that book that has a complex web application project that includes nearly all of the fnctions and syntax of PHP and MySQL where the reader is led through and comes out of the other end with a thorough understanding of all that is involved.
Summary: great reference book with an example of a web application towards the end of the book.

5/5 stars

Extremely well written! (1/1 people found this helpful)

This book is an extremely well written book. The best thing about this book is that it builds a sample web database application (wine store) throughout the book.

The book is also very well organised which covers PHP fundamentals and demonstrates PHP's tight intergration with MySQL. It also has an appendix covering Modelling and Designing Relational Databases.

The book also covers advanced stuff such as Sessions, Authentication and Security, etc.

The book has an installation guide for PHP, MySQL and Apache.

I highly recommend this book to anyone wanting to learn PHP.

A must by!!!

4/5 stars

Good concise and easy to understand (1/1 people found this helpful)

I like this book - yes it is a bit heavy in terms of pages but it also covers a few of the things that are harder to find in other books - The OOP section is a very good and worth reading. This one will be in my bag and book shelf for a while..

4/5 stars

3.5 Stars Really (6/7 people found this helpful)

I would generally agree with much of what's been said by other reviewers, particularly the poor support for Windows -- which is a reasonable environment for playing and practising -- and one would certainly imagine a popular choice for trying things out.

Another thing that bothered me was the number of errors. O'Reilly have a good system for reporting book errata on their website -- and I used it in this case, going through all reported errors in the book, pencil in hand. However, despite the number of errors reported for this book, there are others I've discovered in only my first couple of weeks of using it.

It can be quite hard to trust a book with so many errors, and when one is learning something, it's much harder to spot errors except the hard way.

Once you do manage to get an environment set up in which you can play, it is a pretty reasonable book -- and I don't think their concentrating on their winestore example is such a bad thing.

Similar Products

Programming PHP

PHP Cookbook (Cookbooks (O'Reilly))

JavaScript: The Definitive Guide

Essential PHP Security

CSS: The Definitive Guide

Categories

Amazon.co.uk places this book into the following categories:

Books -> Subjects -> Computing & Internet -> General
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> PHP
Books -> Subjects -> Computing & Internet -> Databases -> Java & Databases
Books -> Subjects -> Computing & Internet -> Databases -> Database Theory
Books -> Subjects -> Computing & Internet -> Databases -> Databases & the Web
Books -> Subjects -> Computing & Internet -> Databases -> Applications -> MySQL -> General AAS
Books -> Subjects -> Computing & Internet -> Digital Lifestyle -> Online Shopping -> Amazon
Books -> Subjects -> Computing & Internet -> General AAS
Books -> Subjects -> Computing & Internet -> Software & Graphics -> General AAS
Books -> Subjects -> Computing & Internet -> Web Development -> General AAS
Books -> Special Features -> Search Inside!
Books -> Refinements -> Language (feature_browse-bin) -> English
Books -> Refinements -> Age (feature_two_browse-bin)
Books -> Refinements -> Format (binding_browse-bin) -> Paperback
Books -> Refinements -> Condition (condition-type)

 

ClanBrandon Books | Prague airport transfer | Dreamweaver | Short Term Missions | English Teacher Jobs in the Czech Republic
Czech Republic | Operation Mobilisation | Czech Republic Map