Book description
With over 3 million users worldwide, Adobe's Dreamweaver is the most popular web development software in the world, and it just took another step forward with CS3, the new version released in 2007. Having come a long way from its humble beginnings as a simple web design tool, CS3 allows you to rapidly put together standards-compliant web sites and dynamic web sites with server-side languages and Ajax, and much more.
To complement this great new application, David Powers has written the ultimate guide to it. The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP teaches you everything you need to know about the application, from setting up your development environment environment to publishing your sites and applications on the web, and everything in between.
Takes you through your development environment set up
Covers everything you need to create both standards compliant web sutes, and dynamic web applications
Teaches several real world techniques using a series of step by step tutorials
Table of contents
- Copyright
- FOREWORD
- ABOUT THE AUTHOR
- ABOUT THE TECHNICAL REVIEWER
- ACKNOWLEDGMENTS
- INTRODUCTION
- 1. DREAMWEAVER CS3—YOUR CREATIVE PARTNER
-
2. BUILDING DYNAMIC SITES WITH AJAX AND PHP
- Understanding how dynamic pages work
- Using Dreamweaver behaviors and Spry effects
- Handling dynamic data with Spry and PHP
- The next step
-
3. GETTING THE WORK ENVIRONMENT READY
- Deciding where to test your pages
-
Creating a local testing server
- Choosing which versions to install
- Choosing individual installation or an all-in-one package
-
Setting up on Windows
- Getting Windows to display file name extensions
- Choosing the right web server
- Downloading the software
- Preparing for installation on Windows Vista
- Turning off User Account Control temporarily on Vista
- Before you begin . . .
- Checking that port 80 is free
- Installing Apache on Windows
- Running the Apache Monitor on Vista
- Starting and stopping Apache on Windows
- Changing startup preferences or disabling Apache
- Installing PHP on Windows
- Testing your PHP installation (Windows XP and Vista)
- Changing the default Apache port
- Changing the default IIS port
- Setting up on Mac OS X
- Checking your PHP configuration
- Summary
-
4. SETTING UP A PHP SITE
- Deciding where to locate your sites
- Creating virtual hosts on Apache
- Registering virtual directories on IIS
- Defining a PHP site in Dreamweaver
- Managing Dreamweaver sites
- Now let's get on with it . . .
- 5. ADDING A TOUCH OF STYLE
- 6. CREATING A CSS SITE STRAIGHT OUT OF THE BOX
- 7. BUILDING SITE NAVIGATION WITH THE SPRY MENU BAR
- 8. SPRUCING UP CONTENT WITH SPRY WIDGETS
-
9. BUILDING ONLINE FORMS AND VALIDATING INPUT
- Building a simple feedback form
- Using multiple-choice form elements
- Organizing form elements in logical groups
-
Validating user input before submission
- Doing minimal checks with the Validate Form behavior
-
Using Spry validation widgets for sophisticated checks
- Understanding the limitations of Spry validation widgets
- Inserting a Spry validation widget
- Removing a validation widget
- Validating a text field with Spry
- Building your own custom pattern
- Validating a text area with Spry
- Validating a single checkbox with Spry
- Validating a checkbox group with Spry
- Validating a drop-down menu with Spry
- Next, let's move to the server side . . .
-
10. INTRODUCING THE BASICS OF PHP
-
Introducing the basics of PHP
- Embedding PHP in a web page
- Ending commands with a semicolon
- Using variables to represent changing values
- Displaying PHP output
- Commenting scripts for clarity and debugging
- Choosing single or double quotation marks
- Working with numbers
- Using arrays to store multiple values
- Making decisions
- Using loops for repetitive tasks
- Using functions for preset tasks
- Understanding PHP error messages
- Now put it to work . . .
-
Introducing the basics of PHP
-
11. USING PHP TO PROCESS A FORM
-
Activating the form
- Getting information from the server with PHP superglobals
-
Sending email
- Scripting the feedback form
- Using Balance Braces
- Testing the feedback form
- Troubleshooting mail()
- Getting rid of unwanted backslashes
- Making sure required fields aren't blank
- Preserving user input when a form is incomplete
- Filtering out potential attacks
- Safely including the user's address in email headers
- Handling multiple-choice form elements
- Redirecting to another page
- Time for a breather . . .
-
Activating the form
-
12. WORKING WITH PHP INCLUDES AND TEMPLATES
- Including text and code from other files
- Using Dreamweaver templates in a PHP site
- Choosing the right tool
- 13. SETTING UP MYSQL AND PHPMYADMIN
- 14. STORING RECORDS IN A DATABASE
- 15. CONTROLLING ACCESS TO YOUR SITE
-
16. WORKING WITH MULTIPLE TABLES
- Storing related information in separate tables
- Selecting records from more than one table
- The four essential SQL commands
- Managing content with multiple tables
- What you have achieved
-
17. SEARCHING RECORDS AND HANDLING DATES
- Querying a database and displaying the results
- Setting search criteria
- Solving common problems
- Formatting dates and time in MySQL
- Working with dates in PHP
- Storing dates in MySQL
- Continuing the search for perfection
-
18. USING XSLT TO DISPLAY LIVE NEWS FEEDS AND XML
- A quick guide to XML and XSLT
- Pulling in an RSS news feed
- Being a bit more adventurous with XSLT
- More XML to come . . .
- 19. USING SPRY TO DISPLAY XML
-
20. GETTING THE BEST OF BOTH WORLDS WITH PHP AND SPRY
- Generating XML dynamically
- Using Spry in pages that work without JavaScript
- Case study: Making the Spry gallery accessible
- The end of a long journey . . .
Product information
- Title: The Essential Guide to Dreamweaver CS3 with CSS, Ajax, and PHP
- Author(s):
- Release date: December 2007
- Publisher(s): Apress
- ISBN: 9781590598597
You might also like
book
jQuery and JavaScript Phrasebook
Get more done faster with jQuery and JavaScript! Brad Dayley’s jQuery and JavaScript Phrasebook brings together …
book
HTML5 Unleashed
HTML5 Unleashed is the authoritative guide that covers the key web components driving the future of …
book
PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fifth Edition
Learn PHP and MySQL programming— the quick and easy way! Easy visual approach uses demonstrations and …
book
Absolute Beginner’s Guide to Creating Web Pages
Learn to create Web pages and Web sites using the latest HTML standards with this book's …