PHP Web Development with Macromedia Dreamweaver MX 2004

PHP Web Development with Dreamweaver MX 2004Allan Kent kicks off the book with three chapters offering a broad overview of the three main technologies being used: PHP, MySQL and Dreamweaver MX 2004. Then Rachel Andrew of the Web Standards Project takes an in-depth look at designing with web standards, something made considerably easier by many of the improvements in Dreamweaver MX 2004.

Using CSS and valid XHTML is not just a fad as far as dynamic websites are concerned; it's a necessity. Server-side languages like PHP are very fussy about correct coding. One comma or quote out of place, and your website can come crashing down like a pack of cards.

Covers includes, error detection, and building your own server behaviors

Then it's down to business, building database-driven pages. Allan looks at the various server behaviors built into Dreamweaver MX 2004 that make this process much simpler. I follow up with a detailed look at code reuse, utilizing Dreamweaver templates and library items, but most importantly building your own code library and creating your own custom-built functions in PHP. I take a hard look at the pros and cons of templates, and compare them with PHP includes.

Allan then offers advice on other Dreamweaver time-saving devices—extensions, telling you not only how to install those created by others, but also showing you how to build your own. It's not as difficult as it sounds! My second chapter deals with the less glamorous, but nevertheless essential subject of what to do when things go wrong—not only error detection and troubleshooting, but plenty of tips on how to avoid errors in the first place.

Detailed case study

Finally, the crowning glory of the book (well, I think so, because I wrote it!)—a really detailed case study, looking at how a real-life content management system is put together. It's a mini-book in itself (120 pages long), showing how to plan the database tables, and building the administrative back-end with solid procedures to ensure that only valid content is entered into the database. In the process, you build several new server behaviors that can be used again and again in different sites. When putting the front-end together, I look at some advanced SQL queries drawing information from four separate tables. The finished site could be used as the basis for a club, an online product catalogue, or a personal blog.

Buy from one of these online stores

Free 7-day trial

Also available in Spanish

Spanish edition

Published by Anaya Multimedia, Madrid (ISBN: 84-415-1802-5).

Books & Videos by David Powers

PHP SolutionsBeginning CSS3Dreamweaver CS6: Learn by VideoDreamweaver CS5.5: Learn by VideoDreamweaver CS5.5 for MobileDreamweaver CS5 with PHP