art1c0 / mooha

Automatically exported from code.google.com/p/mooha
0 stars 0 forks source link

The way of storing the Vcard #33

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Guys, forst of all, great app and A Happy New Year!

I have looked at the code and it's a great application you have created but I 
have something to ask about it.

At this moment the Vcard is stored in a textfield/blob, the way a vcard is 
known in format.

The issue with this is that it's not easy to change the lines that are in it 
from another application. I mean, when you write a frontend for your 
addressbook, you need to explode the lines and do some magic with it. 

I have checked some other application and most of them just store the 
vcard-fields as fields in the DB.

This is actually a good idea because when you, for an example, use the Funambol 
client, it will add it's own vCard extensions that are not validated for the 
usage of a Vcard. Because every client can do this randomly by his own 
thoughts, you can can get quite a mess in your vcards.

I have the idea that the whole app has to be rewritten to use seperate columns, 
but I think this should be the most clean way.

Please respond!

Keep up the good work ;)

Original issue reported on code.google.com by matboy...@gmail.com on 1 Jan 2011 at 10:49