Dreamweaver MX: PHP Web Development by Bruno Mairlot, Gareth Downes-Powell, and Tim Green
Published by glasshaus.
This book is all about making dynamic PHP web sites with Dreamweaver MX . It covers PHP, enough to get the reader up to speed with the technology, and how to use Dreamweaver MX to produce PHP code quickly and efficiently. It also covers site design and databases and SQL. It uses an example project, a hotel reservation system, that is built up through the chapters to demonstrate the concepts explained.
By : Clive Walker
TOC:
1. What is PHP?
2. What is MySQL?
3. Getting started with MX
4. Planning the Site and Determining Functionality
5. Basic site setup
6. Manipulating the database
7. Advanced SQL
8. Creating a Search system
9. Re-using code by creating Server Behaviours with the Server Behaviour Builder
10. Hand Coding within Dreamweaver MX
11. Debugging your code
Sample ChapterReviewed by Clive Walker of http://www.cvwdesign.co.uk/
I have been learning PHP for about 6 months and I bought this book because it offered the chance to develop a simple application and to understand the thinking behind it. Also, although I have hand coded PHP for most of the time, I had just upgraded to Dreamweaver MX and the book looked like a good opportunity to go through some of the application and built-in server behavior features of the software.
After having worked through most of the chapters in the book, I have to say that I am very impressed. It is written in an easy-to-read style and features plenty of screenshots and code highlighting that makes it easy to understand. I was also impressed by the scope of the book and the way it deals with PHP, MySQL, Dreamweaver MX, application planning and database design with the minimum of fuss and maximum clarity. Sure, there are books out there that go into much more details, but this book is written for the beginner-intermediate level and as such it really hits the spot.
The book starts with an introduction to PHP and Dreamweaver MX and it also has short sections on installing PHP on Windows and Linux and configuring Apache and Internet Information Server. I already have this set-up on my local network so I had no need to use this chapter but I read through it very easily. The next chapter introduces MySQL in a similar way and it goes through installation, configuration and use of MyCC and PHPMyAdmin. Once again, although the chapter is concise, it is clear and easy to read.
Next, there is a chapter on site and server set-up with Dreamweaver. I must admit that, in my younger days, when I first used Dreamweaver, I was not sure about site definition, I just wanted to get straight into the webpage itself. This chapter explains why it is even more critical with Dreamweaver MX to set the site up properly and it goes through the process with screenshots and explanations. The database connection worked first time as well !
Now, on to the main part of the book, the application itself. A simple hotel booking system that exemplifies the use of recordsets and built-in server behaviors to insert, update and delete data. In short, all the PHP functionality of Dreamweaver MX that enables interaction with a database. These main chapters of the book go through setting up a MySQL database from the beginning in a stepwise way, from creating tables and data type definitions through to the webpages themselves that the web visitors will see. Also covered are templates and library items within Dreamweaver. Once finished, you will have a series of simple pages that enable people to search and book rooms and alter and delete bookings.
You could leave it here - but there's more, and the last third of the book has chapters on advanced SQL usage and PHP hand coding before diving into a user login system followed by chapters on creating server behaviors and error debugging. I was waiting for the user login method because I had previous experience of different systems. This section explains and implements a session based login system with two levels of user access.
The final chapters deal with creating your own server behaviors and error handling with PHP. I had not thought about creating my own server behaviors before but this has persuaded me that I can do it.
Any criticisms ? More an observation really, a couple of the later chapters may be tough for a PHP beginner to understand at first. That's about it.
Anything else to say ? Well, there is a good support website that has the code examples for download plus a list of errors in the book. Although my version of the book was reprinted recently and was mostly error free, the first version had some mistakes. However, these are all listed on the support website. I contacted the website about a specific code segment that was not included and within an hour I had a zip file with the example I had requested. Need I say more....
This book can be used by a beginner PHP developer because, for the most part, the code is all written by Dreamweaver and the emphasis is on the visual design aspects of the software. However, that is definitely only part of the objective behind the book and you will get more out of it - and finish the final chapters - if you understand PHP a bit more and make every effort to understand the hand coding, PHP syntax and SQL/MySQL sections of the book.
At the end, it left me wanting more - and I mean that as a compliment.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More PHP Book Reviews Articles
More By Codewalkers
developerWorks - FREE Tools! |
Learn field-tested SOA principles, methodology, technology and implementation from the global SOA market leader - in a new e-book by an IBM SOA expert. Written by IBM Certified SOA Solution Designer Bobby Woolf, "Exploring IBM SOA Technology & Practice" is the ultimate insider's guide to SOA - a PDF e-book packed cover to cover with IBM's specific advice on how to make your SOA implementation a success. FREE! Go There Now!
|
|
|
|
Building a software-as-a-service solution requires addressing a few key technical challenges. In this webcast, we'll focus on the role of IBM Tivoli Directory Server and WebSphere Portlet Factory in creating a Software as a Service solution. We will demonstrate how to use Tivoli Directory Server to prevent the user population of one tenant from accessing the virtual portal and portlet components of another tenant. We will also use the dynamic profile capability of WebSphere Portlet Factory to create multiple highly customized applications from one code base. FREE! Go There Now!
|
|
|
|
Learn to enable users to both rate existing animations and to combine existing animations into new snippets. This is the third in a series of three tutorials that chronicle the building of a site that enables collaborative discussion and animation building using Domino and OpenLaszlo. FREE! Go There Now!
|
|
|
|
Visit IBM developerWorks to download the latest trial version of IBM Data Studio V1.1 at no cost. IBM Data Studio is a comprehensive data management solution that helps you effectively design, develop, deploy and manage your data, databases, and database applications throughout the data management life cycle utilizing a consistent and integrated user interface. Unlike other client-side data management solutions that focus on only one aspect of the application lifecycle or database administration, Data Studio complements the Rational Software Delivery platform, providing unparalleled flexibility for a heterogeneous data server environment across platforms. FREE! Go There Now!
|
|
|
|
Learn from the best! Find out how developers use Rational ClearCase to be more flexible, innovative and deliver higher quality code in the Rational ClearCase Power Users eKit. This complimentary eKit provides a collection of materials, like articles, whitepapers, and demos that can help you become a power user of Rational ClearCase. FREE! Go There Now!
|
|
|
|
Rational Build Forge Express Edition is an automation framework that packages the latest enterprise-grade technologies into a reliable, flexible and robust configuration designed and priced specifically for small to midsize businesses. The new Rational Build Forge Express eKit provides you with valuable resources – including a case study, podcast, demo, and articles – to help you increase staff productivity, compress development cycles and deliver better software, fast. FREE! Go There Now!
|
|
|
|
Join this webcast to discover the key requirements for successful change and release management. Learn how to extend your .NET environment to improve productivity and collaboration, and address core problems afflicting team development. In this webcast, we’ll review typical challenges faced by customers and how to resolve them with the IBM Rational Change and Release Management solution, including Rational ClearCase, Rational ClearQuest and Rational Build Forge. Replay is available for 9 months. FREE! Go There Now!
|
|
|
|
Regression testing -- in which code is thoroughly tested to ensure that changes have not produced unexpected results -- is an important part of any development process. But many testing environments neglect the terminal-based applications that still form the backbone of many industries. In this tutorial, you'll learn how the Rational Functional Tester Extension for Terminal-Based Applications works with other Rational Functional Tester to help test terminal-based applications quickly and easily. FREE! Go There Now!
|
|
|
|
Try the latest version of IBM Rational Manual Tester V7.0.1 by downloading a free trial from IBM developerWorks. This manual test authoring and execution tool promotes test step reuse to reduce the impact of software change on testers and business analysts and addresses the needs of teams performing at least a portion of their testing manually. FREE! Go There Now!
|
|
|
|
User communities play an important role in communication and collaboration around products, solutions and other areas of special interest to members. Successful communities are able to provide the right mix of content and services to deliver a value proposition that resonates with each audience. Join Tom Inman, VP of Marketing for Information and Platform Solutions as he introduces the new LeverageINFORMATION community. During this webcast, learn about the value provided by the community and how customers and partners derive value from the community in addressing their own technical and business challenges. FREE! Go There Now!
|
|
|
|
All FREE IBM® developerWorks Tools! |