Data Structures Final Project
Project to make a real life version of MeowMeowBeenz.
Contents
TODO
- Comments
- [ ] DAO
- [ ] Network
- [ ] Server
- [ ] ClientHandler
- [ ] RequestHandler
- [x] Users
- [ ] SQL
- [x] Start learning SQL
- [x] Add config file support for server package
- [x] Add admins with extra privileges
- Add datastructure for ratings system
- Add tons of other stuff
Plan
Basics
- [x] Create User Class with basic fields
- [x] Create SQL Handler
- [x] Create connection between server and user
- [x] Create connection between server and SQL server
- [x] Create system to log in and logout of accounts
Friend Network
- Add basic searching by username
- Add classes for user and server package to make and send undirected networks.
- Add edge table and a way for DAOs to parse through it
- Use breadth-first traversal to get list of friends and friends' friends, etc.
Ratings Network
- Learn how to implement Signal flow graphs
- Implement this structure first
- Weight of ratings increases linearly as rating of source increases (maybe rating should be changed according to median?)
- Users automatically rate themselves a 5
- Users start with 10 ratings of 1, weight of 3, which get replaced by the first 10 ratings they get.
- Next, implement structure above but change weight of ratings to increase quadratically as rating of source increases. Also, weight should increase for 4's and 5's if standard deviation of ratings is lower, and weight should decrease for 1's and 2's.
Dev Cycle
- Implement block of commands
a. Create SQL Tables and associated DAO's
b. Create TerminalCommand block
- Implement GUI that reaches each part of TerminalCommand block
- Implement ActionEvent buttons and communication to server.
MySQL Info
IP: localhost
Port Number: 3306
Java Java Java Java Java Java
Reference Links
These are links that I found that helped me make this app.