|
Loading... PHP and MySQL Web Development (3rd Edition) (Developer's Library)by Luke Welling
LibraryThing recommendationsMember recommendationsLoading...
won't like
will probably not like
will probably like
will like
will love Sign up for LibraryThing to find out whether you'll like this book. This is a fantastic book and most of my website is based on the code within it. I always kept this book to hand for several years, and often referred to it, though I've now reached the stage where I no longer need it. My one concern is that there is not enough emphasis on security, and some of the code is inherently insecure. One example is the authors' practice of putting the database username and password inside the PHP file itself. This is a very bad thing to do. Those details should be stored outside the web root. The PHP file can access them via an include statement. Hopefully that's been addressed in a later edition. Very nice book. Would recommend to everybody I know. Not much a plot. no reviews | add a review
Amazon.com (ISBN 0672326728, Paperback)The PHP server-side scripting language and the MySQL database management system (DBMS) make a potent pair. Both are open-source products--free of charge for most purposes--remarkably strong, and capable of handling all but the most enormous transaction loads. Both are supported by large, skilled, and enthusiastic communities of architects, programmers, and designers. PHP and MySQL Web Development introduces readers (who are assumed to have little or no experience with the title subjects) to PHP and MySQL for the purpose of creating dynamic Internet sites. It teaches the same skills as introductory Active Server Pages (ASP) and ColdFusion books--technologies that address the same niche.Authors Luke Welling and Laura Thomson's technique aims to get readers going on their own projects as soon as possible. They present easily digestible sections on specific technical processes--"Accessing array contents" and "Using encryption with PHP" are two examples. Each section centers on a sample program that strips the task at hand down to its essentials, enabling the reader to fit the process into his or her own solutions as required. Tables that list options and other nuggets of reference material appear as well, but the many examples and the authors' commentary on them take center stage. For reference material on MySQL, have a look at Paul DuBois's MySQL. On the PHP side, Web Application Development with PHP 4.0 is excellent. --David Wall Topics covered: The MySQL database server (for both Unix and Windows) Accessing MySQL databases through PHP scripting (the letters don't really stand for anything) Database creation and modification PHP tricks in order of increasing complexity--everything from basic SQL queries to secure transactions for commerce Authentication Network connectivity Session management Content customization (retrieved from Amazon Fri, 24 Apr 2009 07:58:00 -0400) The first test round has been closed. Visit the Open Shelves Classification group for details. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I think this is a well organized and well written book. It starts right off with a solid review of PHP. For an ad hoc PHP hacker like myself, that chapter 1 review was very good. It helped organize my somewhat scattered knowledge of PHP, and I learned a few new details right off.
From there, the authors take you right into a nice, concrete example of implementing a basic e-commerce site in PHP. The initial project is pretty basic, but I found it very useful in refreshing and solidifying what I already knew. The example has you persisting data to and reading it back from a file, but at the same time the authors are preparing you with additional information about why a file is less than ideal as
a data store.
After that it's back to PHP school with reviews of arrays and regular expressions. Again, the material is thorough and well presented, and I found I learned a few more new bits.
Chapter 5 gets us into what I guess I'd call intermediate PHP, here they are starting to get you into modularity with putting PHP functions in their own files, starting to get you into the idea of separating presentation and content. At this point we also get introduced to PHP classes, and this is all starting to be woven into the ways that PHP can be used to build complex websites with reusable blocks of code.
I am just now getting into the MySQL part. One recommendation I'd make, if you are trying to put together web server, PHP and MySQL, go with a competent ready-to-roll LAMP (Linux-Apache-MySQL-PHP) distro. I built
from scratch on a SuSE Linux, and while it was interesting and educational, it also took quite a bit of work.
The MySQL part follows the model of using a fairly realistic if somewhat simple bookstore application for the example. I'm hoping that this will lead to some nice class-packaged MySQL interface that I can then apply to some of my little personal web apps.
Hopefully I'll have more about that in part 2 before too long.