Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Setting up the course site

From: Dynamic Dreamweaver Websites: Creating Login Areas

Video: Setting up the course site

Now, that we have Dreamweaver setup, what we want to do is install our course files, and make Dreamweaver aware of where our folder is that contains all of our files. The other piece we need to do, if we're working in the dynamic side of Dreamweaver, is we need to define a testing server, let Dreamweaver know where our web server and PHP are located, and that will pull in the ability to preview PHP pages. We can also show the database side of dynamic development right within Dreamweaver, once Dreamweaver is aware of it.

Setting up the course site

Now, that we have Dreamweaver setup, what we want to do is install our course files, and make Dreamweaver aware of where our folder is that contains all of our files. The other piece we need to do, if we're working in the dynamic side of Dreamweaver, is we need to define a testing server, let Dreamweaver know where our web server and PHP are located, and that will pull in the ability to preview PHP pages. We can also show the database side of dynamic development right within Dreamweaver, once Dreamweaver is aware of it.

So, those pieces we're going to be doing now, we will wait on the database piece until we get to the databases lesson. So how do we setup Dreamweaver? Well, there's a couple of locations to go to, to do this. I'll go up to this Site menu here and we are defining a new site. So, for this first site in Dreamweaver, we could go here but I want to make you familiar with the Manage Sites interface instead. Now, we do have a New button here, but once we have websites setup in Dreamweaver, we'll see the individual websites within this area, and Dreamweaver can handle as many websites as you need.

You do need to define your websites on an individual basis, so I'll click the New button and this is a new interface for defining a site, so if your not using Dreamweaver 5 or 5.5. Your interface will look a little bit different for this piece, however the two options here are the first two options in the older interface. So, its not too hard to figure out the site name is going to be Scooba2U, that's the name of our company.

And we need to tell Dreamweaver where those files are located. We added these course files and install them into the ZAMP folder on the C Drive for Windows or the MAMP folder within the Applications folder on the Mac side. So I'm going to click this Browse button and go out to My Computer, C Drive, ZAMP or on the Mac side you will go out to your Applications folder, MAMP. And once you have those folders open the HT Docs folder is what we want in both systems.

So the name of this folder is exactly the same, go ahead and Open that. And we're going to choose the Scooba2U folder, if for some reason you have not installed that yet, you will want to go out and get the lesson two files, and the lesson two Start files, in particular. So you can set up these files within ZAMP or MAMP, because you can't define a site in Dreamweaver until those files are where you want them to be. So we're going to double-click Scooba2U, and I'll click Select, or Choose on the Mac side.

So we have our local site defined. Now, because this is a dynamic website, we also need to tell Dreamweaver where our web server is located. So, I'm going to click Servers, in the left-hand side, I'll hit the plus sign down at the bottom, that says Add New Server. And in this area, we're going to call this Testing Server. Now, we're not going to connect via FTP, because our local development environment is right on our machine. So, we're going to choose local network, the Server folder is going to be that same one we used and Dreamweaver should find that for you. So, that is C Drive > ZAMP > HT Docs > Scooba2U, or Applications folder > MAMP > HT Docs > Scooba2U.

So I will select that, within this area we have to typed this one in, and we're going to say, localhost/scooba2U. Now, there was one modification I made on the Mac side with regards to ports. So if you have not looked at the Install MAMP movie, you will want to go out and do that because we reset the ports in Apache from the defaults ports from MAMP to the standard ports.

On the Window side, it's a non-issue. So we have Web URL localhost/scuba2u. Now, the last piece we need to do is click the Advanced tab and we need to tell Dreamweaver what language we're going to be working in. So the server model here is PHP, these are all the different server side language combinations that you can use with Dreamweaver. So ours is the PHP MySQL, click Save and click Save.

We'll now click the Done button, you can see there's one website in here. We would go through the same process to Add more. Now, if I needed to change anything within this website, I would click the Edit button and go out and Edit as needed. When you're done working on a website and you select it and click Remove, this is not removing files from your system, it's only removing the ability of Dreamweaver to know about those files. So I will click Done, and you can see we have quite a few files listed now in our Files panel.

We can go out and open up about us and there is our Scuba2U website. Scuba2U is a dive company, it's a dive tour company specifically, so they put together dive tours for clients. So that's the basis of our company. So as long as you can see the Scooba2U within this interface your set. So we now have our files all set up and Dreamweaver knows about them so we can preview our PHP files from within Dreamweaver.

Show transcript

This video is part of

Image for Dynamic Dreamweaver Websites: Creating Login Areas
Dynamic Dreamweaver Websites: Creating Login Areas

43 video lessons · 1679 viewers

Candyce Mairs
Author

 
Expand all | Collapse all
  1. 1m 32s
    1. Welcome
      1m 32s
  2. 2m 57s
    1. Course overview
      1m 16s
    2. The course environment
      1m 41s
  3. 26m 58s
    1. Static vs. dynamic requests
      4m 8s
    2. Installing XAMPP on a Windows system
      8m 54s
    3. Installing MAMP on a Mac system
      4m 29s
    4. Using admin consoles
      3m 54s
    5. Installing the course files
      5m 33s
  4. 18m 36s
    1. Overview of the Dreamweaver interface
      6m 22s
    2. Setting up the course site
      6m 20s
    3. Previewing pages
      5m 54s
  5. 33m 38s
    1. Creating PHP pages
      5m 45s
    2. Adding PHP code
      5m 44s
    3. Displaying variables
      4m 45s
    4. Commenting your code
      5m 30s
    5. Working with includes
      5m 58s
    6. Building the course templates
      5m 56s
  6. 35m 13s
    1. What is a database?
      5m 2s
    2. Adding database tables
      7m 34s
    3. Connecting to the database
      8m 28s
    4. Getting data from a database: Part one
      8m 25s
    5. Getting data from a database: Part two
      5m 44s
  7. 1h 16m
    1. Planning the login process
      7m 25s
    2. Creating a login form
      7m 45s
    3. Adding form validation: Part one
      9m 22s
    4. Adding form validation: Part two
      1m 37s
    5. Exploring the registration page
      7m 17s
    6. Correcting table fields
      6m 1s
    7. Setting up the login landing page
      4m 1s
    8. Using server behaviors
      3m 36s
    9. Inserting new members
      8m 48s
    10. User authentication
      10m 3s
    11. Restricting access to pages
      5m 17s
    12. Testing the login
      4m 53s
  8. 1h 6m
    1. Admin area overview
      5m 9s
    2. Adding new users
      5m 19s
    3. Restricting access
      12m 25s
    4. Planning the admin update area
      5m 19s
    5. Building the members table listing
      6m 55s
    6. Building the querystring
      9m 14s
    7. Populating the update form
      6m 33s
    8. Updating the database data
      11m 28s
    9. Testing the admin update process
      3m 47s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

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.


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.

Join now "Already a member? Log in

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 Login Areas.

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
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.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

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
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.