首页 > > 详细

To implement your application idea using JavaFX

                                                         

Objective: To implement your application idea using JavaFX.
Goal: To use a JavaFX, a MVC wired framework, to accomplish your objective.
Instructions: Implement your application idea for your project as follows.
To post your app idea for the TA to overview as an option you can do so at either of the following link:
Lumina students.
Basically the implementation of your app idea will follow a MVC style format to include at minimum the following:
4 classes. Example of classes maybe a User class to check login credentials (mandatory), Dao, DBConnect, Main, etc…
A database with at minimum 2 tables ( including a user table for logins)
If you are working in groups of two, include an added class, an additional table for your database and include the capability for three users (like admin, client, manager) that will use your application.
Steps:
Create a JavaFX project and add packages naming them controllers, models and views respectvely which serves as your MVC format.
Place files into your packages that make logical and organizational sense. Coding will be easier this way.
Example of an MVC format for a Bank Domain 
Models (Data source) – TransactionModel, CustomerModel, UserModel, BankModel, AccountModel
Controllers – LoginController, CustomerController, AdminController
Views – AddBankView, AdminView, CustomerView, LoginView, AccountsView
As you can see, it is good to have a similar naming convention to “glue” files together into an MVC style.
Code your program to include database interactons to hold pertinent data for the processing of data into information. Make use of functions to perform various CRUD operations.  
Your classes should be organized into logical packages to perform the following deliverables:
Model classes should allow for queries to be performed and for data retrieval/storage.
View files (.FXML file format) should serve the needs for user interfaces i.e., basic IO needs.
Controller classes should help “glue” together, Model classes with View files.
Include the ability for your app to allow for ample multiple user roles.  Example: One role should be for a regular user and another will be for an admin/manager.
 
For credit, include the following actions from within your application:
1.Add at least 10 records to your database added by some user(s).
Example: User(s) creates 10 transactions.   
2.Delete one record from your database 
3.Update one record from your database
Show snapshots for transactions in the following order:
1.Showing a successful login for a regular user.
2.Show a successful login for an admin.
3.Show a result of all 10 records added to your database from the database itself.
Demonstrate sufficient functionality for the regular user. Ex. User enters a deposit and can view their new balance. Balance is retrieved by user id. 
4.Show some update performed by the admin for the first record entered into the db.
5.Show the deletion of the last record by the admin entered in the db.
6.Show a snapshot of your remaining records in some columnar view.
7.Show a snapshot of your user table (i.e., the user login credentials)  from the database itself.
Feel free to have any of your snapshots to be from popup dialog boxes or from labels, table views, etc. showing the needed results.
Completion of project for credit.  *Submit the following to Lumina LMS.
1.Copy all your project files into a pdf.  Also include a separate zip file of all your project files.
 
2.Include a separate pdf documentation file with the following:                  -Title Page w. table of contents.  Give your name and any fellow team member name.
-An abstract description of your app.
-Sufficient snapshots of running app, all labeled appropriately.
Use the following credentials for your DB connectivity
url = "jdbc:mysql://www.papademas.net:3307/510fp?autoReconnect=true&useSSL=false";
username = "fp510";
password = "510";
 
**Extra Credit options: up to 15 max points given the following choices.                                                         
Outstanding GUI (Charts, CSS style effects, menus, user interactions, functionality) (+5)               Class diagrams / Entity Relational Diagrams (+10)                                                                                        Stored procedures (+10)                                                                                                                                         Rollbacks and commits (+5)                                                                                                                             Password protection (password hashing) (+10)                                                                                                                    Gitee repository (incl. repo link) contributions by all members if in a team (+10)
Include a working .jar file of your main application file.                                                                                                  
 
 
Grading rubric:
Criteria 200 Points
Deployment / Database Creativity    50 points                                                                                                                                                        
Code 100 points                                                                                                                           
Report Documentation, jar file & snapshots    50 points
Totals 200 points
Extra Credit max additional points    15 points
 
联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!