473,326 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Real World: A Contact List..

What I'm trying to do is create a Simple contact list, with a menu, which i would add contacts too, edit contacts, view them, and search them when there is a long list, maybe on the basis of contact numbers or names. And first start with saving them in a file. Then once i have that functioning correctly. Either use the text file as a temp dump to update the database. Or if that's not possible or not the correct way to go about the solution, then would directly connect it to the database.
Once successful I shall start adding the GUI interface to the program.


it will have Add contact, Edit Contact, View contact, Search contact, and Exit.

How should I go about it ?

A flowchart would be handy If possible. Or even pseudo code.


Thanks!
Feb 16 '10 #1
3 2012
bvdet
2,851 Expert Mod 2GB
You should consider using sqlite for your database. Information about sqlite can be found here. Another possibility is maintaining your contact list as an XML document. I am a bit familiar with xml.dom.minidom, and there are other modules available for maintaining XML documents such as ElementTree and PyXML.
Feb 16 '10 #2
Ok I totally forgot about sqlite, I had heard about this sometime back, but never really paid any attention. I shall try it out.

Though when you say xml How Safe and Secure is it ? Compared to Mysql or postgre sql ? or even a text file ? I'm sorry but I have no info regarding xml as a storage file/product. Though I do know openoffice.org can save documents as xml. Can i have a Password on the xml file, like a database. the same for sqlite, Can i add a password in the future. Just want to know if there is a option to create users. If it does not exist, does not matter.

I would like to use all methods, since im on a learning curve, dont want to leave a single stone unturned. :)

Thanks once more! :)
Feb 17 '10 #3
bvdet
2,851 Expert Mod 2GB
XML is a text document, so it can be read just by opening in a text editor. This is my favorite XML tutorial. You can setup a password to open your database file through your program. I don't know how to make the database file itself secure by password.

I think sqlite over XML would be the better choice for a contact database in terms of performance and security.
Feb 17 '10 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

43
by: 3seas | last post by:
If you are not interested, then don't bitch, its a short message. http://www.matrixcommunity.org/cgi-bin/ultimatebb.cgi?ubb=get_topic;f=8;t=000918 I don't know if that link got broken. -- 3...
26
by: Steven Bethard | last post by:
I thought it might be useful to put the recent lambda threads into perspective a bit. I was wondering what lambda gets used for in "real" code, so I grepped my Python Lib directory. Here are some...
9
by: LP | last post by:
Hi, I get a lot of questions from prospective clients about UML and what modeling tools I have experience with, which I do not. But when I ask them if they are currently using UML? The answer is...
3
by: astro | last post by:
I have a datagrid that is two levels down from the dataview (i.e. grandchild). I have spent 3 hours trying to get the syntax of determining it's real datasource (i.e. not it's source based on it's...
30
by: Raymond Hettinger | last post by:
Proposal -------- I am gathering data to evaluate a request for an alternate version of itertools.izip() with a None fill-in feature like that for the built-in map() function: >>> map(None,...
12
by: Raymond Hettinger | last post by:
I am evaluating a request for an alternate version of itertools.izip() that has a None fill-in feature like the built-in map function: >>> map(None, 'abc', '12345') # demonstrate map's None...
34
by: Guch Wu | last post by:
Boost has many terrific libraries. But I want to know whether they are ready for using in real projects. Which of them are mature enough, or just only in progress?
7
by: Fred Exley | last post by:
I have a traditional application using a database and procedural code that works fine. I'm re-writing it using the OOP methodology, just to see how this may be the better way to do things. I...
15
by: (PeteCresswell) | last post by:
Some time within the next nine months, there's a pretty good chance I'll have the "opportunity" to port a bond trading system that I wrote - whose front end is currently MS Access - to .NET. ...
2
by: m | last post by:
I have a script I would like to write but I am not sure of where to start / approach. Perhaps someone could help direct me in the right direction. Any advice is appreciated. I would like to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.