Prerequisites:
- A runnable instance of zope3 setup as described here: https://wiki.ubuntu.com/LearningZope3
- An understanding of object oriented Python programming.
User Stories:
Following the practices of Xtreme Programming, we will begin working
on our application by looking at and assesing some user stories
.
- By pointing the browser at the appropriate URL, the user sees the
heading:
Welcome to Z Contact! This program is free software and was developed in Zope 3 by ...
- The user also sees on the main page a list of names in alphebetical order by last name. Nothing will be displayed if the list is empty.
- At the bottom of the page is a button (link) labled
Add Contact
. - Clicking on the
Add Contact
button takes the user to a page displaying text fields for inputting data about a new contact. - Fields include:
first name,last name,email, andphone. - At the botton of the add contact page is a button (link) labled
Save
. - Clicking the
Save
button on the add contact page adds the new contact to the contact list and takes the user back to the main page. - Each name on the main page is a hyper-text link. Clicking on the link loads a contact information page with detailed information about that contact.
- On the contact information page, a
Return to List
button takes the user back to the main contact list page. - Also on the contact information page is an
Edit
button that opens an add contact page with the current contact's information already filled in.
Unfortunately, since these user stories were not written by zope3
developers, they don't entirely fit the order we would like. So it is up to
us to come up with a new order of user stories that better suits our skill
level. See
http://svn.schooltool.org/trac/cando/wiki/ZContact
for a reworked list of user stories.
As you may have gatherd from the user stories, we will be calling our
application Z Contact
or zcontact for programmers.