Thread: Maemopad+
View Single Post
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#12
Originally Posted by disq
as for using xml as a data-index file, well, i don't see the need for it. the data directory idea and storing the files and the structure on the filesystem is better.
Yes, there is no need if you really need only simple tree structure. If you need things like categories (i.e same note belong to multiple categories) or more sortable attributes then you must maintain the structure somewhere and xml might be good for this. But yes, using sqlite may be better then so why to use files. I only mentioned xml as index because it is incremental change to current design.

As for confusing the users I don't think it will be worse or that it matters. Even single XML has a little use for non-programmer. As for the backups it is not much harder to backup directory than backup the file. And you can integrate your data into maemo backup applet anyway for normal users.