Difference between revisions of "AY1516 T2 Team13 Natasha Studio Findings Database"
Amy.tan.2012 (talk | contribs) |
|||
Line 95: | Line 95: | ||
[[File:flow3.png|Process flow of “Mark Attendance” function|800px]] | [[File:flow3.png|Process flow of “Mark Attendance” function|800px]] | ||
− | 3. | + | 3. Activate Package – this function allows the staff to activate packages that has not been activated previously. |
+ | [[File:3333.png|Process flow of “Activate Package” function|800px]] | ||
+ | [[File:4444.png|Sample page of “Activate Package” function|800px]] |
Revision as of 20:30, 17 April 2016
EXPLORATORY DATA ANALYSIS | OTHER ANALYSIS | DATABASE CREATION | ASSOCIATION RULE MINING | LOGISTIC REGRESSION |
---|
Contents
SQLite database
Without the help of a 3rd party user interface (UI) program, SQLite runs mainly using command prompt commands. The team feels that this would be non-intuitive for the user and hence not user friendly. Therefore, the team has decided to use SQLiteStudio as the main UI. SQLiteStudio allows users to perform create, read, update, delete (CRUD) functions using either SQL or the UI. It also allows us to import and export databases or tables in .csv format. Most of the functions are available in the form of a UI, thus prior knowledge of SQL required in order to configure the database is kept to a minimal.
SQLite Entity Diagram
When creating the tables and its columns, we took into consideration the historical records so as to keep as close to the as-is situation as possible. We are still in the midst of discussing certain naming conventions with our client.
Table Description
Daily Class
Contains the records for all the classes that is held daily
All Class
Contains the records for all types of classes that is held in the studio since its inception
Instructor
Contains the data for the instructors that holds classes in the studio
Member
Contains the data for Natasha Studio’s customers
Package
Contains the records of all the packages that is available for purchase
Attendance
Records the members that attended classes in Natasha Studio, along with the package that the member is currently using.
PackagePurchase
Contains records for day-to-day sales during working hours
User Interface
Below is the breakdown of the tools used. 1. Java IDE – Netbeans 2. Website design – HTML, CSS 3. Backend – Java servlets 4. Libraries – sqlite-jdbc-3.8.11.2.jar
Landing Page
Functions
1. Add new purchases – when there is a new purchase, the counter staff will use this function to add a new customer purchase record into the database. If the customer is a new member, the new member will be automatically added into the ‘Member’ table.
2. Mark attendance – before a class starts, the counter staff will use this function to add a new ‘DailyClass’ object. Following which, he/she will enter the names of the members that attended this class. Using the ‘PackagePurchase’ table, the function will search for the latest package purchase by the member and fill the ‘Attendance’ table.
3. Activate Package – this function allows the staff to activate packages that has not been activated previously.