Cover image for Dreamweaver MX :  PHP web development
Title:
Dreamweaver MX : PHP web development
Personal Author:
Publication Information:
Birmingham, U.K. : Glasshouse, 2003
ISBN:
9781904151111

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010048209 TK5105.8885.D74 D68 2003 Open Access Book Book
Searching...

On Order

Summary

Summary

This title 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.


Table of Contents

Introductionp. 1
Style Conventionsp. 2
Support/Feedbackp. 3
Web Supportp. 3
Chapter 1 What Is PHP?p. 5
What Is PHP and What Is It for?p. 5
Introducing Dreamweaver MXp. 12
Dreamweaver MX and PHPp. 20
Installing and Configuring PHPp. 21
Summaryp. 28
Chapter 2 What Is MySQL?p. 31
What Is MySQL?p. 31
Installing and Configuring MySQLp. 33
MySQL Basicsp. 35
The MySQL Consolep. 35
Introduction To Databases and SQLp. 35
Selecting the Working Databasep. 37
Tables in MySQLp. 38
Configuring MySQLp. 40
Additional Tools for MySQLp. 46
MyCCp. 46
PHPMyAdminp. 49
Summaryp. 53
Chapter 3 Getting Started with Dreamweaver MXp. 55
The Essentialsp. 55
Creating a Site Definitionp. 56
Site Definition Wizard--A Step-By-Step Guidep. 56
Advanced Site Definition--An Overviewp. 65
Creating a Database Connectionp. 70
Summaryp. 72
Chapter 4 Planning the Web Sitep. 75
Architecture of a Dynamic Web Sitep. 76
The Briefp. 76
Determining Site Featuresp. 77
Planning the Database Structurep. 78
Determining Site Functionality and Featuresp. 80
Summaryp. 88
Chapter 5 Beginning Site Developmentp. 91
Setting Up the Databasep. 91
The bookings Tablep. 91
The clients Tablep. 92
The room Tablep. 93
The users Tablep. 94
Creating the Tablesp. 94
Using Templates To Standardize Layoutp. 102
Summaryp. 115
Chapter 6 Manipulating the Databasep. 117
Database Operations within Dreamweaver MXp. 117
The Hotel Booking Systemp. 117
Making a Bookingp. 118
Changing a Bookingp. 119
Canceling a Bookingp. 120
Building the Pagesp. 120
Creating the Bookings Pagesp. 121
Changing a Bookingp. 146
Canceling a Bookingp. 159
Editing the Template--Linking the Pagesp. 162
Suggestions for Expansionp. 164
Summaryp. 165
Chapter 7 Advanced SQL Usagep. 167
Creating an Advanced Recordsetp. 167
The SELECT Statementp. 168
Using DISTINCTp. 168
Choosing Columnsp. 169
Tables, Joining Tables, and Foreign Keysp. 172
Filtering Rowsp. 178
Groupingp. 182
Filtering Using HAVINGp. 187
Sorting the Recordsetp. 187
Limiting the Number of Rowsp. 188
Modifying the Structure of Existing Tablesp. 190
The ALTER TABLE Syntaxp. 190
Optimizationp. 191
Summaryp. 195
Chapter 8 Creating a Search Systemp. 199
Search Enginesp. 199
Designing the User Interfacep. 201
Building Your Pagep. 201
Retrieving the Value Entered By the Userp. 203
Building the Queryp. 204
The Base Queryp. 205
Creating the Dynamic Queryp. 206
Displaying the Resultsp. 212
Summaryp. 215
Chapter 9 Hand Coding within Dreamweaver MXp. 217
PHP Code Syntaxp. 217
Statementsp. 218
Variablesp. 218
Control Structuresp. 221
Functionsp. 223
PHP Resourcesp. 223
Why Hand Code within Dreamweaver MX?p. 224
Coding Options in Dreamweaver MXp. 224
Code View and Code Inspectorp. 224
Code Options in Preferences Windowp. 225
New Hand Coding Features in MXp. 227
Good Hand Coding Practicesp. 240
Code Optionsp. 241
Indenting Codep. 241
Commenting Your Codep. 242
Naming Variablesp. 243
Balancing Bracesp. 244
Practical Example--Login System for Dreamweaver Hotelp. 246
Overview of Our Login Systemp. 246
The Database Users Tablep. 247
Create Users Page--The Layoutp. 247
The PHP Include Filep. 249
Create Users Page--Adding the Codep. 252
The Login Pagep. 256
The Menu Pagep. 260
Create Users Page--Securityp. 261
Summaryp. 262
Chapter 10 The Server Behavior Builderp. 265
What Is the Server Behavior Builder?p. 265
When To Use the Server Behavior Builderp. 268
How To Build a Server Behaviorp. 268
Starting the Server Behavior Builderp. 269
The Code Blocksp. 269
Building an Interface for Our Server Behaviorp. 276
Finishing the Server Behaviorp. 280
How To Copy a Server Behaviorp. 281
Summaryp. 282
Chapter 11 Debugging Your Codep. 285
Programming Errorsp. 285
Syntax Errorsp. 286
Run-time Errorsp. 288
Logic Errorsp. 289
Error Types in PHPp. 290
Custom Error Handlingp. 296
Viewing Your Server Settingsp. 305
Debugging Techniquesp. 307
Creating a Custom Debugging Functionp. 307
Two Brains Are Better Than Onep. 314
SQL Errorsp. 314
Where To Seek Helpp. 314
Macromedia Forumsp. 314
Web Sitesp. 315
Newsgroupsp. 315
Summaryp. 316
Indexp. 319