Build Your Own Database-Driven Website
Unlike the arbitrary structure exemplified by so many programmers' references, Build Your Own Database Driven Website using PHP & MySQL is written more like an instruction manual, with chapters arranged in the order in which you should use them.
The first chapter explains the installation of PHP and MySQL; the next two cover usage basics. In Chapter 4 you're already pulling information from your database and publishing it on the Web. Chapters 5-10 refine what you've already accomplished, and delve into advanced topics in both PHP and MySQL.
If you're familiar with Yank's original tutorial, on which he based this book, your familiarity will end with the closing pages of Chapter 10. Chapter 11 addresses the storage of binary data in MySQL, a topic that was of great interest to me personally as I'd never done it before. In keeping with the rest of the book, Chapter 11 is a step-by-step guide, and explains the storage of binary data in a practical, down-to-earth manner that inspires you to give the book's teachings a try. Already I'm searching for an excuse to build a system, just to experiment with what I've learned. Chapter 12 covers cookies and sessions in PHP. The usage of cookies and sessions is essential to any online authentication or shopping cart system, and this topic makes a great final chapter that complements the book's other lessons.
This book makes good on its promise to teach you everything you need to know to build a database driven Website, but fortunately for us the author decided to throw in a few extras -- these take the form of four reference appendices. Appendix A covers MySQL syntax, which, while covered throughout the book, is easily referenced through this well-organized appendix. Appendix B explains MySQL functions, while Appendix C covers MySQL datatypes in considerable detail, so much so that I found this information easier to use than the official MySQL online reference. Finally, Appendix D covers the PHP functions that are used with MySQL.
If you progress in your programming skills you'll eventually need to buy a complete programmer's reference for PHP, although you probably won't need to buy an SQL reference unless you start using a more robust database solution than MySQL. However, if you want to build your first database-driven website, or even if you have built one before but want a practical reference, I can't recommend this book highly enough. Build Your Own Database Driven Website Using PHP & MySQL will guide you step by step through the development process -- who could ask for more?
You can purchase Build Your Own Database-Driven Website Using PHP & MySQL, 2nd Ed from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
Who wouldn't build their own database website. Imagine slogging through hundreds of pages of fixed html. Does anyone know of sites like these other than personal pages put up by newbies? All of my sites are at least dynamic using php.
Checking out my form of escapism.
that once you learn the basics of PHP and MySQL all books on SQL/MySQL and PHP just don't cut it. You would probably be better off with the online documentation from the respective websites and for those really though cases a PHP/MySQL Cookbook.
My penguin ate my sig
to the PHP and MySQL Web Development book by Welling & Thomson, from SAMS.
Good to see more 'tutorial' style books coming out - its the real world examples that springboard a beginner's skill level w/ a new language.
I'd much prefer to see this type of tutorial book in the hands of a n00b than a straight-lexicon or syntax book w/o examples of actual apps you can build. Sounds like a good one, based on the review.
one feature of MySQL is that it "runs" on Win32 platform a little easier than pgsql, but i totally agree with the need for people to consider postgresql. with the use of adodb for php (database abstraction layer), use of pgsql is much easier.
I remember a couple of years ago when I started playing with both PHP and MySQL, I tumbled on a tutorial on webmonkeybase.com (defunct and now hosted on lycos I think) written by Kevin Yank. I was really a goor intro to PHP/MySQL, even covering the security aspect of managing a MySQL database. Then perhaps a year later the article was mentionned on MySQL Articles page (I looked but didn't find it anymore) I was happy to see that the tutorial I followed was good enough to make it to the MySQL web page.
:^)
And that was a couple of years ago. I can't imagine the experience he (Kevin Yank) must have acquired since then.
I will not buy his book, I speak french and am aleady equipped. But for anyone looking to buy a book covering both PHP and MySQL, without even reading it, I would suggest it.
Good luck Kevin!
my personal preferance would be Tomcat/JBoss/Apache/postgresql. there's a lot of benefit to taking advantage of product which implement standards and even more benefit when those products are open source free as in beer and free as in speach.
You have uncommented code with embedded HTML that is database specific. Don't get me wrong... if you have a small project that works with a quick hack, then that's ok.
With any modern PHP project, what's wrong with using templates, PEAR, and object oriented programming? Most PHP books out there tend to spin the mantra of PHP and MySQL or Postgresql without taking the time to show how to use PHP in a modern context where it deserves to be. Thus much PHP programming gets scoffed at because it tends to be unmaintainable.
I'm sorry, but at this point I'm unable to recommend almost any of the PHP books out there. They mostly encourange terrible PHP system development practices -- embedded HTML, database specific coding, non OOP development.
There are a few sites that are showing the light. phpclasses.org only has OOP based PHP programs and the tools you need to use templating, mailing, databases in a thoroughly modular manner, and dont forget the PEAR site which documents and make available the excellent PEAR classes for PHP.
A few other sites also are preparing PHP libraries and development environments that are a joy to work with.
For PHP public www information is better that 99% of the books out there, and in the case of this book... 100%
Newsfollow.com
Well actually, most local bookstores that want to stay in business have stopped trying to beat Amazon and bn.com and decided to join them by offering used & hard to find books via their affiliated dealers programs.
Unfortunately, just one copy of the hardback version was (sold within the last few minutes while I was writing this post) available through bn's affilliate system, and none of either edition are available through Amazon's affiliates. Though the paper back version is available through Amazon.
If there are local stores out there that have the book available, they might want to consider selling the book through Amazon or bn.com. After all, listing (at least on Amazon) is free.
BTW NineNine, we miss you!
Work for Change & GET PAID!
"Perl-like? It's C-like, if anything"
And what sort of syntax does Perl have, lisp-like?
Perl has C-like syntax, so Perl-like is the same as C-like (i.e., it's easier for a machine to read than a human, so it sucks).
For doesn't-really-suck syntax, one has to look at something like Dylan, or SmallTalk, IMHO.
MySQL IS a robust implementation of ANSI-SQL.
y sq l_4_1=on&oracle=on&ms_sql=on&db2=on&sybase =on
For a side-by-side comparison to DB2, MS SQL, Oracle and Sybase, follow the link below:
http://www.mysql.com/information/crash-me.php?m
These absurd statements that MySQL is a kiddie SQL server are driven more by marketing than anything else. I expect this crap from managers, but it floors me to hear it coming from developers. I can't imagine any experienced DBA would think that the SQL implementation in MySQL is so pathetic that it would not even require a newbie to have a SQL reference.