ucsb-cs56-projects / cs56-networking-chat

-
1 stars 6 forks source link

Refactor:: Real Data Base on Server.java #30

Open winterfreddy opened 8 years ago

winterfreddy commented 8 years ago

Server.java has a "fake database" that creates a "fake" contactList for every contact. (For Example: Peng Wang is implemented with the contactList of andro, phill, steven, and billy). A better "fake" implementation would be to have an ArrayList of all contacts. In addition, have every contact add all the contacts from the ArrayList. However, the recommended way is to implement an actual data base using the observer pattern. ~250 pts

lynchifer commented 8 years ago

M16 OK

jmangel commented 7 years ago

This implementation is still only temporary; preferred is #20

jmangel commented 7 years ago

F16 OK (100 pts)

seemantasaha commented 6 years ago

The implementation should be like, whenever application starts it should get some predefined information from the database. So, it's more like importing a db file for the application. You need to create the db file.

W18 OK. 100 points.