Assignments

You have now seen fragments of a login functionality for the CMS. You have seen the final logout mechanism. You have seen the update of the original database to hold info about administrators.

Make it all work! This involves

  • Copy my code from lesson 1 of this semester.
  • Adapt it so that it works, eg trim filenames etc.
  • Create an overall menu structure.
  • Create an admin menu. On login the user will get that page.
  • Change the login you have made so that it does the above.
  • On logout, decide whether the user should return to the admin menu, or to the overall index page.
  • The data entry program must be completed, so that access is only granted if you are logged in. Figure out what else is missing ;-)

Work in groups of 3 to 4. Hand in October 10th.