RU beehive logo ITEC dept promo banner
ITEC 325
2015fall
ibarland

homelectsexamshws
D2Lbreeze (snow day)

hw-ec
extra credit

Due: 2015.Dec.11 (Fri) 23:59.

  1. Make your okaymon-form sticky. (See Part III, as well.)
  2. Include login-sessions.

    An Okaymon-trainer must enter a password, to log in. Anybody can view the summary of existing Okaymon, but only logged-in users can enter new Okaymon. After 1 minute of inactivity (not submitting any requests to the server), the user will be be logged out. Also, a logout button is available for logging out.

    You can just have the password be “Oakie”, or for more credit you can have a full-fledged establish-account page and track user accounts in a database.

  3. Provide for editing Okaymon in the database: Editing should bring you to the new-Okaymon form, but with all the existing info already filled.

    If you complete both I and III, do not repeat code; instead re-use the same code. It is relatively easy to do this, once your code is set up well.

  4. Add a foreign-key constraint, so that your Okaymon-database can only store valid energy-types. Make sure that you have the valid types defined in only one place.

homelectsexamshws
D2Lbreeze (snow day)


©2015, Ian Barland, Radford University
Last modified 2015.Dec.06 (Sun)
Please mail any suggestions
(incl. typos, broken links)
to ibarlandradford.edu
Rendered by Racket.