|
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.
|
A good grounding in PHP/mySQL
|
| Review Date: April 12, 2002 |
| Reviewer: D. Emmett Pickerel, San Jose, Ca United States |
I've been entrenched with JSP heavily for the last couple of years, so I haven't familiarised myself with PHP yet. I needed a book that would show me a larger picture than I got in a web developer's job, and showed me how to put it together with more modern techniques. This book is a perfect example of why I choose O'Reilly whenever in doubt. Chapter 1 is an overview of how web applications are put together. Chapter 2 goes through all the basic PHP syntax (stuff that would take other books several fluffy dry chapters to process). Chapter 3 gets you through all the mySQL and sql basics so you feel comfortable with that, too. There's no 4 page tutotial entitled: "Using a text editor: Wordpad" There's also no kitch "Employee Database" example cop-out. Instead, Hugh and Dave give a realistic and usable storefront application. This book alone is probably enough for the independent web developer to get a functional site up for her/himself or a client. |
Excellent Tutorial style intro for Intermediate programmers.
|
| Review Date: October 1, 2003 |
| Reviewer: Harinath Thummalapalli, Austin, TX United States |
| 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! |
Very useful and practical guide
|
| Review Date: March 19, 2003 |
| Reviewer: Jonck van der Kogel, Rotterdam, The Netherlands |
Web Database Applications by H.E. Williams and D. Lane is a truly wonderful book if you are looking to learn how to get an online database application up and running fast. The book eases you into PHP with a decent length chapter on the basic syntax of the language, followed by an introduction of MySQL. After that, each chapter will teach you new techniques which are instantly applicable to a real-world online database system. Among others this book will teach you how to: write scripts that interact with MySQL, deal with security issues, handle sessions, handle shopping carts and lots lots more. The book was written before the introduction of PHP 4.2, so certain 4.2 (and up) specific issues are not covered. However, most of the examples in the book have been re-written for use with 4.2 and can be downloaded freely. On top of this the authors supply a level of support that is all but unheard of. Every question that I asked was answered within 1 day if not within the same day. All in all this book is at the top of it's league, I can highly recommend it! |
excellent, practical and thorough
|
| Review Date: January 18, 2005 |
| Reviewer: William Griffiths, Eugene, OR USA |
I've found Web Database Applications with Php and MySql to be an excellent book. It is an excellent book for learning from scratch as well as a useful reference. For the projects I've done I've only occasionally looked elsewhere (online) for technical references.
My style for doing a project using a new language or development environment is to learn just enough to do the project. It is not my goal to become an expert in the system or language at hand, in this case Php and MySql. I just want to get the project done in fairly efficient and practical manner.
After having decided that Php and some open source database such as MySql is what I wanted to use for my project (an online testing system) I read through the book to get an overall understanding of these tools. I then designed the system for my project and began coding. At the coding stage I would go back to the book to get the syntax and details of coding. I rely on sample code a lot, one of the principal strengths of this book.
The authors have implemented a complete online store. The code is well written and the application exercises many features of Php and MySql. That the sample code is from the application or based on the application makes it eminently practical. Perhaps more importantly the fact that the book is grounded in a complete application means many details concerning issues such as security and user interface are covered which might easily have been overlooked.
The book, however, is not a regurgitation of the application code nor a tour of the creation of the online store. The book is a well thought out development of the tools and ideas for web database applications. It begins with typical details of the Php language and object oriented programming, database basics and queries with MySql and proceeds with features and ideas useful in web database applications culminating in the case study of the online store.
Except for an initial glitch in getting setup on my OS X system everything worked out well. We switched our online testing system from FileMaker Pro, QuidProQuo and Frontier to Apache, Php and MySql. Similarly our placement test system has been converted. I switched our department's web site to one which dynamically creates interlocking web pages. I added a password protected system for staff to update text and calculator reference webpages and a simple means to create and edit our online schedule of classes. I built a similar system for instructors to access records of student use of tutor facilities for their classes.
I am very impressed by this book. I have not had a book which has been so thoroughly practical, complete and easy to use. |
The best starting point to php and mysql
|
| Review Date: April 28, 2006 |
| Reviewer: M. Zuleta, Colombia |
I bought this book with the hope I could learn just enought to get me started with web application development. I only had little programming experience at that time, I I didn't even have any experience with databases. Well. This book was the perfect introduction to web applications. From security to authentication, from php basics to multi-table join sql queries, this book got me into this world, and I appreciate it so much because I am working now in web development, thanks to what I learned from here.
Altough this book is not for the absolute beginner, it teaches you just what you need to know to get you started, and even more. It lacks some subjects, like caching, or some advanced php 5 language constructs. Its focus is in real world development, without too much emphasis in application design or php/mysql internals. It teaches you just what you really need to know, and it teaches you that extremely well. You will learn php, from its basic syntax and usage, to object oriented programming basics. Then the book takes you to mysql, with a great introduction to sql, and how to use mysql from php. The following chapters deal with typical database concepts you must grasp, like concurrency issues and even performance tunning. It doesn't get too deep in php as a language, rather it focuses on php and mysql interaction, with an eye towards constructing a real world web application (which finally gets its parts joined in the final chapter).
Things I dislike are its use of templating systems over many chapters. That was not a subject I was interested in. Althought a serious php developer can't simply ignore this topic, it is not crucial in understanding the fundamentals, and it, in turn, adds a source of difficulty to the examples from chapter 7 on. Other thing I didn't like was the development of a complete application that I didn't have time to study, altough fortunately I managed to ignore it as much as I can, without losing too much.
In summary, I love this book, it is not perfect, but it's just what I needed and I give it 5 stars because it is a really well written and focused book.
|
|
Leave a Reply