Macromedia® Dreamweaver® 8 with ASP, Coldfusion® and PHP: Training from the Source

Book description

Learn by doing! Follow along, step-by-step, as you upgrade a static HTML site that uses obsolete code to an XML standard-compliant, CSS-formatted dynamic site using Microsoft Active Server Pages (ASP), Macromedia ColdFusion, or the open source PHP. Create several integrated applications for a fictional travel tour operator, including a searchable listing for tour descriptions, country profiles, and a tour price calendar. In this official Macromedia guide, you’ll learn how to:

  • Use a relational database—Microsoft Access or MySQL—as the driving force behind a site

  • Use Dreamweaver’s built-in server behaviors and application objects to assist in the rapid development of dynamic Web applications

  • Read and hand-code ASP VBScript, ColdFusion Markup Language, and PHP scripts well enough to understand how dynamic Web pages work, troubleshoot errors, and customize scripts

  • Collect and  manipulate user-entered data, performing calculations on the fly

  • Use SQL to pass information between your pages and the database

  • Validate forms using client-side and server-side scripts

  • Table of contents

    1. Copyright
      1. Dedication
    2. Bio
    3. Acknowledgements
    4. Introduction
      1. Prerequisites
      2. Outline
      3. The Project Site
      4. Elements and Format
      5. If You Get Stuck
      6. About This Edition
      7. Macromedia Training from the Source
      8. Macromedia Authorized Training and Certification
      9. What You Will Learn
      10. Minimum System Requirements: Windows
      11. Minimum System Requirements: Macintosh
    5. 1. Introducing Newland Tours
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Defining a Static Site
      5. Creating the Contact Us Page
      6. Formatting the Contact Us Page
      7. Assessing the Site: The Code
      8. Assessing the Site: Business Processes
      9. A Glimpse of the Future
      10. What You Have Learned
    6. 2. Preparing the Static HTML and CSS
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Automating Changes with Find and Replace
      5. Redefining HTML Elements with CSS
      6. Creating and Applying Custom CSS Styles
      7. Creating a Reusable Template
      8. Enhancing Accessibility with Invisible Navigation
      9. What You Have Learned
    7. 3. Dynamic Web Sites
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Dynamic Web Site Basics
      5. Choosing a Server Model
        1. Side by Side with ASP, ColdFusion, and PHP: A Strategy for Learning
      6. Redefining the Newland Tours Site for Dynamic Development
      7. Developing with a Local Server
      8. Setting Up a Local Environment for IIS/ASP
      9. Setting Up a Local Environment for ColdFusion
      10. Setting Up a Local Environment for Apache/PHP
        1. Installing Apache for Windows
        2. Installing PHP in Windows
        3. Setting Up Apache in Mac OS-X
        4. Setting Up PHP in Mac OS X
      11. Developing with a Remote Server
      12. Defining a Dynamic Site in Dreamweaver (All Users)
      13. Building a Simple, Dynamic Application
        1. Creating the Input Page
        2. Creating the Output Page
      14. What You Have Learned
    8. 4. Passing Data Between Pages
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Understanding the HTTP Protocol
      5. Retrieving Data from the URL
      6. Sending Data with Hyperlinks
      7. Setting and Retrieving Cookies
      8. What You Have Learned
    9. 5. Sending Email from a Web Form
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Introducing SMTP Email Service
      5. Configuring Your System to Send SMTP Email Messages
      6. Configuring IIS to Send Email (ASP Users)
      7. Configuring ColdFusion to Send Email
      8. Writing the Code to Send a Message
      9. Understanding Objects, Methods, and Properties
      10. Creating the Web Form
      11. Emailing Dynamic Form Values
      12. Client-Side Form Validation
      13. What You Have Learned
    10. 6. Building a Tour Price Calculator
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Creating the Pages
      5. Building the Form
      6. Collecting, Processing, and Displaying the Data
      7. Adding Server-Side Form Validation
      8. Creating the Conditional Region
      9. Creating and Applying a Custom CSS Class
      10. What You Have Learned
    11. 7. Databases on the Web
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. A Crash Course on Databases
      5. Introducing Database Objects
      6. Understanding Relationships
      7. Databases on the Web
      8. Database Security and the Web
      9. Installing and Running MySQL
        1. Installing and Running MySQL in Windows
        2. Installing and Running MySQL in OS X
        3. Installing the Newland Tours Database on a Remote Server
      10. Touring the Newland Database
      11. Connecting to a Database
        1. ASP Users (Running IIS Locally or Connecting to a Remote Server)
        2. ColdFusion Users (Running ColdFusion Locally or Connecting to a Remote Server)
        3. PHP Users (Running PHP/MySQL Locally or on a Remote Server)
      12. Retrieving Recordsets and Displaying Database Information
      13. What You Have Learned
    12. 8. Completing the Price Calculator
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Dynamically Populated Drop-Down Menus
      5. Creating Filtered Recordsets
      6. Revising the Calculation Script With Live Data
      7. Documenting Your Code With Comments
      8. What You Have Learned
    13. 9. Filtering and Displaying Data
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Preparing the Input Page
      5. Generating URLs Dynamically
        1. The ASP Block
        2. The ColdFusion Block
        3. The PHP Block
        4. The Finished ASP Block
        5. The Finished ColdFusion Block
        6. The Finished PHP Block
      6. Preparing the Output Page
      7. Populating Page Layouts Dynamically
      8. Adding Dynamic Images and Formatting the Population Number
      9. Looking Up Foreign Table Data With SQL
      10. What You Have Learned
    14. 10. Building the Tour Descriptions
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Planning the Application
      5. Creating Recordsets with Joins
      6. Building the Descriptions
      7. Inserting the Images and alt Attributes
      8. Implementing Recordset Paging
      9. Passing Data to Other Applications
      10. What You Have Learned
    15. 11. Building Search Interfaces
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Preparing the Search Page and Creating the Search All Link
      5. Searching by Region: Building the Interfaces
      6. Revising the Query and Commenting Code for Testing and Debugging
      7. Suppressing the Navigation Bar
      8. Searching by Country: Filtering by Form Variable
      9. Switching SQL Statements According to Environmental Variables
      10. What You Have Learned
    16. 12. Authenticating Users
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. User Authentication as a Web Application
      5. Building the Registration Pages
      6. Building the Log-in Page
      7. Creating Application.cfm (ColdFusion Only)
      8. Restricting Access to Pages
      9. What You Have Learned
    17. 13. Managing Content with Forms
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Creating the Admin Section
      5. Two Approaches to Formatting Content Stored in a Database
      6. Creating the Form Interface
      7. Using Session Variables and Hidden Fields to Track Users
      8. Inserting the Record
      9. What You Have Learned
    18. 14. Building Update Pages
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Preparing the Pages
      5. Planning for the Master-Detail Pages
      6. Making the Detail Page Updateable
      7. What You Have Learned
    19. 15. Hand-Coding a Basic CMS
      1. What You Will Learn
      2. Approximate Time
      3. Lesson Files
      4. Preparing the Content Management System
      5. Building the Form and Hand-Coding a Recordset
      6. Adding the Insert Functionality
      7. Creating the Master Page
      8. Creating the Update Record Detail Page
      9. Adding the Update Functionality
      10. Adding the Delete Functionality
      11. Where to Go from Here
      12. What You Have Learned
    20. Licensing Agreement
    21. InsideBackCover
      1. Training from the Source

    Product information

    • Title: Macromedia® Dreamweaver® 8 with ASP, Coldfusion® and PHP: Training from the Source
    • Author(s): Jeffrey Bardzell
    • Release date: November 2005
    • Publisher(s): Adobe Press
    • ISBN: 9780321336255