Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed PHP User Authentication!
You have completed PHP User Authentication!
Preview
Now that we understand the overview of authentication, we will take a look at the application we will be developing during the course.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
We're going to be building
a book voting website
0:00
that you can share among your book club
to decide what people wanna read next.
0:03
We'll be using authentication to allow
only registered users to vote on books.
0:07
We'll be using authorization
to allow all users to add and
0:12
edit their own books, and
allow administrators to modify any books.
0:16
Let's dig into the application and
see how it works.
0:21
The core of our application
falls around our list of books.
0:24
These books are able to be submitted
by authenticated users only, but
0:28
can be viewed by anyone.
0:32
We'll build a full registration for
creating new users and
0:33
also a login system for
logging into the site.
0:37
Once you're logged into the site,
you'll see the link to add a book.
0:43
This is where you can add your own books.
0:47
Also on the booklist page,
we now have the ability to edit and
0:50
delete books as well as the up vote and
down vote buttons.
0:53
Once you add a book you'll
be able to edit and
0:57
delete your own books but
not books added by other people.
0:59
Unless you're an administrator in which
case you can edit and delete all books.
1:03
Once you're logged in and
1:08
you're an administrator you'll be able
to access the administrator panel.
1:10
Here you'll see all users that are
currently signed up for the application.
1:14
As an administrator you'll be able to
promote other users to an administrator
1:18
and also demote them to a regular user.
1:22
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up