Viewers: in countries Watching now:
An important but little-understood concept in dynamic web development is that of role-based logins, which allow different types of users to access different parts of the site. In this course Adobe Certified Expert Candyce Mairs shows how to use Dreamweaver's features to create role-based logins, restrict page access, build an administrator area, and test everything to make sure it works. Plus, see how to set up a development environment and work with a database from within Dreamweaver. Along the way, build your skills in areas like working with PHP, adding form validation, using server behaviors, and much more.
Now that we have added the functionality to register as a new user as a guest account. Once you're registered, login to the Members Area, which is this page you're looking at. And have access to any of the Members Area pages. And those are the pages that all begin with the word Members. You want to spend plenty of time in this section testing all those functionality pieces. Just to make sure there's no errors in what you've set up and testing static pages does not take too much time. However, testing functionality of your dynamic websites takes a lot longer. So, make sure you do full testing and I also try and find somebody else. At least one or two other people who can test for me also. Once you've been looking at these pages over and over and you think you've run through all the functionality and have it working correctly, it's amazing what a new set of eyes on the page.
In other words, new people looking at this page maybe able to find for you. Now, I've created the functionality. That does not mean all of these Members Area pages are completed. So, I want to point this out. The Member's Photos page, we do not have photos yet. Ideally, what we're going to do is set up a clickable link within this area to add photos, or we may put in a really nice, fancy photo gallery right here.
The functionality for that piece has not been determined, so I just have these funny letters in here as my signal. Okay, we haven't completed that portion of this page. Notice Videos page, this link is not working either. So, there's a lot of little pieces with regards to the content on each page. All we did was set up the functionality piece. Now, in order to test that you may want to go and activate a lot more of these links that aren't previously set up. But I'll start in the Members Home section.
If I Preview this page in the browser, it sends me to Login. If I perform my login, once this is completed, I should be able to go out to any Members Area page, within this particular browser. Here is the Photos page. And for now, I'm just going to hit the Back button. We also, at Scuba2u, haven't decided if we want to create a full secondary Nav bar, or how to handle this information. So, I'll just hit the Back arrow, your users you don't want have to do that, but for now it works. Here's the Videos page.
Notice I'm able to click around without needing a login. As soon as I close my browser and go back in, I have to login again. So technically, in PHP, when you close the browser, I've logged out of my session. Now, the other thing that you should be aware of is these logins are stored per browser. (audio playing) So, if I login in Firefox, that does not mean that if I go out to Internet Explorer, and this is a Firefox extension, that allows me to do that.
It's on my browser's page within my resources, called IE view. But notice, I have to login when I get to Internet Explorer. Each browser stores its own login information. So, being logged in in one browser does not log you into another. And you can use that when you're testing functionality. If you're logged in on one, you can go through it and then in another browser, you can go through the process all over again or simultaneously.
So, just be aware it is per browser. When I close these, my session will close, and I'm no longer logged in. But make sure you spend the time to have multiple people check and register on the site. Also login on the site, and try and move around. The more you can test in development, the less issues you will have. Because we don't want this to be a live site and find out we have problems. So, that is setting up a login area within Dreamweaver.
And using Dreamweaver server behaviors to make this a fairly simple process. We still have an administrative area for the database to build. But for our standard members, the functionality is all set.
There are currently no FAQs about Dynamic Dreamweaver Websites: Creating Login Areas.
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.