Start learning with our library of video tutorials taught by experts. Get started

Dynamic Dreamweaver Websites: Creating and Validating Forms

Static vs. dynamic requests


From:

Dynamic Dreamweaver Websites: Creating and Validating Forms

with Candyce Mairs

Video: Static vs. dynamic requests

Let's take a look at the difference between a static page request and a dynamic page request. And based on that information I can explain the type of environment we're going to set up as our testing environment. I have these out on my website in case you want to look at them again later. So well start with a static page request and it's a pretty simple process here. We have a client. Don't you just love this old fashioned computer with the two floppy drives? Anyway, I keep it up here for old times sake, anyway, then we have a client computer, with a browser located inside of it. That browser makes a request to a Web Server, somewhere out on the Internet. This Web Server could even be sitting on the same machine as the client. So we make an HTTP request, and the server sends it back. This is a pure HTML environment.

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
Please wait...
Dynamic Dreamweaver Websites: Creating and Validating Forms
3h 34m Intermediate May 19, 2011

Viewers: in countries Watching now:

Forms perform an essential function in modern websites, making it possible to gather information from users and validate that information. In this course, Adobe Certified Expert Candyce Mairs shows how to create forms to email user information and validate user data using various methods of form validation. These validation methods include client-side, server-side, and custom validation; CAPTCHA images; and Spry validation fields. You'll also see how to set up a PHP testing environment and preview PHP pages in Dreamweaver. Along the way you'll build your skills in areas like using admin consoles, commenting code, working with variables and includes, and much more.

Topics include:
  • Installing XAMPP on a Windows system
  • Installing MAMP on a Mac system
  • Using admin consoles
  • Creating PHP pages
  • Commenting code
  • Working with web forms
  • Adding custom validation
  • Using redirects
  • Dealing with email issues
Subjects:
Developer Web Web Design Web Development video2brain
Software:
Dreamweaver
Author:
Candyce Mairs

Static vs. dynamic requests

Let's take a look at the difference between a static page request and a dynamic page request. And based on that information I can explain the type of environment we're going to set up as our testing environment. I have these out on my website in case you want to look at them again later. So well start with a static page request and it's a pretty simple process here. We have a client. Don't you just love this old fashioned computer with the two floppy drives? Anyway, I keep it up here for old times sake, anyway, then we have a client computer, with a browser located inside of it. That browser makes a request to a Web Server, somewhere out on the Internet. This Web Server could even be sitting on the same machine as the client. So we make an HTTP request, and the server sends it back. This is a pure HTML environment.

Web servers don't speak any other language than HTML. So, it's pretty simple not difficult to set up at all. What do we need to add if we're going to work in the dynamic environment. Well, there's a whole other side to a page request. So what we add is this piece here. We have an Application Server. And in order to work with that there are five different languages you can work in. We have chosen PHP. It's one of the more common environments.

There is no fee to set up the testing environment. And we can download it all as a single package. With the Web Server the Application Server and the Database all included in a single install. The download is just a single file how you install them is quite different between the Mac and the PC. Once their installed there isn't much difference so our Web Server over here speaks HTML. So what happens with a Web Server if it gets a PHP request. Well what it does is passes it on to the PHP environment and that PHP environment is what makes request of the database.

A Web Server can not talk directly to a database, because it doesn't speak database language. So we're now involved in three different pieces in a dynamic page request. In order to get a form working, we need to create an action page, and we can't do that in HTML. That is why we need to add the PHP piece. Because PHP will process that information and take care of that form action page. So that's the difference between a dynamic page request and a static page request.

So what we need to do is set up this environment here. And when we go to install that we're actually installing all three pieces at the same time. So PHP will come in, and that's a side that we'll be processing our form information. So let's get on with the installation of this environment, using Zamp on the PC side, and Mamp on the Mac side.

There are currently no FAQs about Dynamic Dreamweaver Websites: Creating and Validating Forms.

Share a link to this course
Please wait... Please wait...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Dynamic Dreamweaver Websites: Creating and Validating Forms.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked