Ready to watch this entire course?
Become a member and get unlimited access to the entire skills library of over 4,900 courses, including more Developer and personalized recommendations.Start Your Free Trial Now
- View Offline
- 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
Skill Level Intermediate
We are now going to take a look at how to set up our website within Dream Weaver, so we can begin working on the website files. Make sure that you have the course files installed. Right now I have a folder called Scuba Vac. It's inside the HT Docs folder. That HT docs folder on the PC side is inside these zamp folder on the C drive. On the Mac system the HT docs folder is inside MUMP in the applications folder. So copy your course files into their, that's the folder we're going to need to reference within Dreamweaver.
So lets go ahead and start working in Dreamweaver, getting our site setup. I'm going to go up to the Site menu and go to Manage Sites. And I generally recommend I could have clicked the New button in the site area to create a new site but once you working in more than one website or Need to edit a website, this is the the inter phase you'll be in. So I want to make you familiar with this piece. So we're going to click the New button here, now if you're on an older version of Dreamweaver prior to CS5, your inter phase here will look a little bit different.
But the first two parts of that interface on older versions of Dreamweaver are these exact same options. So what we're going to do, is we're going to name our websites Scuba Vacations, that's the name of our Scuba Dive tour company. The local site folder we want to access. We'll click the folder on the right-hand side of that. So on prior versions of Dreamweaver, it's the second item down as well. I'll click that folder.
And what I need is the C drive, Zamp folder. On the Mac side this would be the Applications forlder, Mamp. In stead of C drive's amp and htdocs. And that's where my Scuba Vac folder is located so I Double-click it. I want to make sure that folder is showing up down in this lower section. So click Select or Choose. Now we're not quite done in this interfacem, so I'm not going to click the Save button. In case you did click the Save button, you'll be back in the Managed Sites area. Now if you decide you need to change anything within those settings, I simply select the website, click the Edit button, and I'm right back in that interface.
I'm going to move down to the Servers area. What we need to do this tell Dreamweaver we're working in PHP and reference where our Web server is. So I'm going to click the plus sign down here, and in older versions of Dreamweaver this is going to look a little bit different. But we'll click the plus sign here, and this is going to be our testing server. In older versions of Dream Weaver you don't need to name this. I'm going to connect using local or network.
The server folder is going to be that same one we were using. It should be dropped in automatically by Dreamweaver. If it's not, just browse up to it. So I will select that one and in our web URL, what we're going to put is localhost/scubavac. So, localhost/scubavac. Now I'm going to move over to the advanced area. And within this section, I'm going to define this as PHP. I need to tell Dreamweaver what server-side language I'm going to be working in.
These are the various options. So you see you can work in ASP, ASP.NET, ColdFusion, JSP, or PHP from within Dreamweaver. So we'll click Save. Now, within this section, It specifies it as a remote server, what I'm going to do is check Testing, and uncheck Remote. This is our testing server, the remote would be the final web server where we're going to host our files. We're working locally, so we'll use this as a testing server. When I click Save, what Dreamweaver is going to do is save all of that information so this message is just letting you know Dreamweaver is going to save that information.
So every time you open Dreamweaver its available. You only set up the site once. The Dreamweaver has now stored it. And I'll Double-click CSS Styles over here. If I single click it won't close. If I Double-click it will. And here is all of our site files. So I now have all the files listed within Dreamweaver. If you have issues with that, go back to Site > Manage Sites. Select Scuba Vacations, click the Edit button, and double check and make sure everything is listed correctly. You can always go back through this movie to get those settings again. So we just set up Dreamweaver and we should be able to work within our environment.
So we just set up our sight in Dreamweaver for the course.