Skip to content
← Back to Community
Need help with this project
Profile icon
adev08

Design, implement, and test a network application that maintains an online phonebook. The data model for the phonebook is saved in a file on the server’s computer. Clients should be able to look up a person’s phone number or add a name and number to the phonebook. The server should handle multiple clients without delays.

Voters
Profile icon
adev08
Comments
hotnewtop
Profile icon
mwilki7

what part of the project do you need help with?

Profile icon
adev08

@mwilki7 I can create the server/client part but not the phonebook well I could but don't know to put it together.

Profile icon
mwilki7

@adev08
you could create an array for data types that contain names and phone numbers that is stored on the server

when the server sees "/add Joe 1234567"
it could add a new element to the array where the name property is Joe and the phone property is 1234567

when the server sees "/findnumber Joe"
it could search for Joe and print his phone number

when the server sees "/findname 1234567"
it could search for the number and print the associated name

Which language are you working with?

Profile icon
adev08

python 3 @mwilki7