23.12.2014 Views

Honours Project: - Napier University

Honours Project: - Napier University

Honours Project: - Napier University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Gregory Huet<br />

<strong>Honours</strong> <strong>Project</strong><br />

99034735 Dr. William Buchanan<br />

users like the representative of each community to create groups. The design of the groups<br />

table is outlined below:<br />

• num_group: this field is auto-generated by the SQL Server and is recorded as a<br />

unique integer like the num_user field in the users table.<br />

• name_group: this field is used to record the name of the group and is used<br />

dynamically for the registration process. Like this, if a new group is implemented, the<br />

list is updated automatically. This field is recorded as a string of characters (strictly<br />

inferior at twenty).<br />

• desc_group: this field contains the description of the group to help the user to choose<br />

the right one. The information is stocked as a string of characters (strictly inferior at<br />

one hundred and fifty).<br />

• com_group: this field is the direct link to the community table to fix the notion of<br />

branching between the communities and the groups. This information is registered as<br />

an integer relative to the community from which the group belongs to.<br />

5.2.3 The community table<br />

The community can be assimilated as the father and the group as the children to explain<br />

simply this notion. Only the main administrator will be allowed to create a new community<br />

before giving rights to its representative. The different fields into the community table are:<br />

• num_com: this field is auto-generated by the SQL Server and is recorded as a unique<br />

integer like the num_group field in the groups table.<br />

• name_com: this field is used to record the name of the group and is used dynamically<br />

for the registration process. Like this, if a new community is implemented, the list is<br />

updated automatically. This field is recorded as a string of characters (strictly inferior<br />

at twenty).<br />

• desc_com: this field contains the description of the community to help the<br />

representative to create rights groups. The information is stocked as a string of<br />

characters (strictly inferior at one hundred and fifty).<br />

5.2.4 The info table<br />

This table is the most important in the database because it will contain all of the users’ events.<br />

This point must be taken very seriously to provide the best services. The first interesting<br />

feature is the option to set the sharing of the events through a group or a community of users.<br />

Users will set this level of sharing when they create a new event.<br />

The second feature is the level of importance of the events. For example, a meeting with the<br />

Director of the corporation will have the highest level of importance. Think about phoning a<br />

friend will have the lowest level of importance. In fact, this application will manage three<br />

levels of importance and will be interpreted with a code of colours when the information will<br />

be displayed on the screen.<br />

Generally, a title and a day in the calendar will present an event. This title will be set at the<br />

colour in correspondence with the level of importance. In the commercial version of this<br />

application, the level of importance will be also presented with a specific icon. In the current<br />

version, the description and the exact time will be displayed to the user by clicking on the title<br />

of the event. The design of the info table is the following:<br />

38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!