CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Address Book Script


New User

Nov 5, 2014, 8:06 AM

Post #1 of 2 (1994 views)
Address Book Script Can't Post

Can someone help me with coding an address book? I just don't know how to start...


Nov 5, 2014, 9:12 AM

Post #2 of 2 (1990 views)
Re: [jaykneewang] Address Book Script [In reply to] Can't Post

You have a lot of work to do before you start coding. Your solution will be much different depending on your requirements. As extreme examples, you could keep track of a few friend's email addresses with a simple text file. The personnel records of a large company would probably require a commercial data base. Both could be called "address book".

Probably the most important decision you have to make is the size of your address book. (i.e. How many entries must it hold?) Estimate both an expected size and a max size. (It is acceptable for the program to break if the number of entries exceeds max) Design decisions based on these numbers will be hard to change. Get them right!

Next decide what data you must store. I assume that you book will be indexed by name. With each name, you will probably associate an email address, telephone number, and possible postal address.

What functions do you need? You will need maintenance functions to add an entry, delete an entry, and edit an existing entry. You may need the ability to import data from an existing address book. - specify. You will need a user function to search for a name and associated data. You may want to search other fields. Will your program be used by only one user on one computer? Providing network support is a major complication, but it would be even harder to try to add it later.

With this much information, we can start making fundamental design decisions such as the choice of data base. Then we can take up issues about how to format the data.
Good Luck,


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives