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.
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.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.