Customer Rating:      Summary: Comprehensive review and examples Comment: Serving up dynamic content with scripting applications is all the rage now in the website development world. These scripting applications can provide customized information pages, shopping carts and content-management systems, and user-influenced web experiences. While "old-fashioned" static sites and pages still have their place, dynamic content sites are becoming more and more prevalent, primarily due to their obvious advantages, but also to their modest costs. The reason for these low costs is because the software applications are generally free, thanks to the open-source movement. Apache is an open-source web server application widely used. The most prevalent and preferred scripting application is PHP; MySQL is the predominant database management program. These three drive the great increase in dynamic content web development. While essentially free, their installation, configuration, and use requires some technical and programming skills and knowledge, but small and medium-size database-driven web sites can be managed by those not expert in programming or database management. While there is a lot of material available on the Internet about this software and database-driven sites, and a number of books available on these topics, none is as thorough and complete as "Web Database Applications with PHP and MySQL", by Hugh E. Williams and David Lane. This volume is in its 2nd edition and is a 2004 publication of O'Reilly Media Inc. The book presents an overview of dynamic web sites using open-source software and relates the principles behind generating dynamic content with database applications. The focus is on PHP, the scripting language, and MySQL, the database management software. As befits a couple of university-associated authors, the book reads much like a college textbook. The twenty chapters include an introduction to PHP, SQL (Structured Query Language), and my SQL, covering PHP v.5, the very latest version and MySQL 4.1. The PHP chapters describe the components of the language and its syntax, variables, conditions, loops, arrays, functions, types, and more. The SQL and mySQL chapters cover database basics, tables, queries, and functions. All this material is presented systemically and thoroughly. The thrust of the earlier chapters is to prepare for the comprehensive web example of "Hugh and Dave's Online Wines" site. That site is constructed from the component materials covered individually in the prior chapters - how to manage customers, creating a shopping cart, dealing with orders and shipping, searching the inventory, and authentication of buyers. There is a lot to developing a medium-sized site like this, but everything one needs to know is described and explained as the book progresses. Extra materials are included as well, including information on PEAR, which is the repository of PHP extensions - script additions which are additional functionings to PHP, or are pre-made containers of code to be used modularly with your existing code; an introduction to object-oriented programming in PHP 5; a chapter on error handling and reporting , including customized reporting; a chapter on the mixed usage of Javascript and PHP; and an important chapter on security of scripts and databases. All this includes access to the code snips at a website maintained at O'Reilly for downloading. For intermediate level developers, this is a worthwhile resource.
Customer Rating:      Summary: Great start on PHP/MySQL for programmers Comment: When I got this book, I already had experience programming in Perl, but PHP was entirely new to me. I also had database/SQL knowledge, but had never touched MySQL. I knew the powerful combination of PHP and MySQL was the key to solving a big programming problem, but I didn't know where to start. This book made learning a breeze. Just a couple days after I picked it up, my test PHP/MySQL application was working. The rest is history.I think this book would be great for intermediate programmers who want to implement PHP and MySQL, but don't know how. I was amazed at how quickly this book got me off the ground. (Hint: people with no clue about databases may want to supplement this with a MySQL- or database-specific reference, though this guide does provide some basics.)
Customer Rating:      Summary: Wonderful book! Comment: I've done several PHP and MySQL development jobs, and there are problems which constantly hunt me...until I find this book. O'Reilly has done a great job brining this book to readers. It started with useful introduction to PHP, with details showing how great PHP is--all the useful functionalities, arrays, objects, etc. Then the MySQL part is also great, with introduction to SQL language for people who are not familiar. Strongly recommend.
Customer Rating:      Summary: Excellent Tutorial style intro for Intermediate programmers. Comment: As the title indicates, this book is all about building websites powered by database applications. The book uses PHP and MySQL for a scripting language and a database technology respectively. Familiarity with programming and computers is assumed but other than that, not much else is assumed. The authors do an excellent job of explaining some of the fundamental concepts underlying database driven websites. All this is done in simple terms without too much jargon. To top it all off, a tutorial style approach is taken to illustrate how all these concepts come together. The tutorial is on building an online retail site that sells wines. The sample code used in the book can be downloaded from the publisher's website. PHP is a powerful language that is open source and that can be used in lieu of Java and .NET technologies for many web applications that aren't too complex. For most small business owners, this should suffice. I am not too sure about using it in large corporations. This is one of the most popular open source technology along with Linux and MySQL. MySQL is an open source database that can be used instead of SQL Server, Access, or Oracle. Once again, when the database application gets complex, I am not confident of its ability to handle the complexity. This is also excellent for small businesses but not large corporations. There are about 13 chapters and 5 appendices spanning 550 pages starting with an introduction to database applications and the web, continuing with an intro to PHP and MySQL, covering the main concepts behind web technologies and ending with the sample wine store application. The main concepts discussed are querying databases, writing to databases, validations on the server and client, session management, user authentication and security. The appendices handle installation, modeling and designing relational databases, managing sessions in the database tier, etc. Overall, the selection of topics is perfect for Intermediate programmers and the explanations are very detailed yet simple. This is probably one of the reasons this book is so popular. I have thoroughly enjoyed using this book and I am not surprised to see such a high quality book from this publisher. I am not familiar with the authors but I am going to keep an eye open in the future for other books by them. I felt it was a bit pricey for a book of this nature but this is the only one I could find that covered these specific topics so I am not going to complain. Enjoy creating your own database driven website!
Customer Rating:      Summary: Very good in principle but falls down on errata Comment: Like others I've found this text an absolute corker for getting started with on-line databases. However, after struggling with one of the examples for several hours I was disappointed to finally realise that the code was woefully short. Just in case, I thought, I'll check the book's web site for errata, and found several pages of it! Some of which contains errors, like wrong page number!!!!! I don't know about you but I find it hard to learn new stuff when the examples don't work.Well I finally got the code to work and I've submitted it to the publishers. But, whilst I'm quite an experienced developer, I've only been looking at PHP, MySQl & Java for a couple of weeks and presumably it takes longer to write a book. So how come the readers are fixing the authors code? Maybe I should write a book ... Was going to give 4* but because of the errors went down to 3.
|
|