RE: Old change in wallpaper index?
"Simon C" <[email protected]>
| Newsgroups | gmane.comp.mobile.bitpim.devel |
|---|---|
| Message-ID | <004901c67378$ce595ab0$0201a8c0@HOME> |
> >Two dicts are exchanged with the Phone objects in get/send data, > >"ringers" and "ringer-index". > > We may be talking apples and oranges, but I thought the dicts > are 'ringtone-index' and 'ringtone', 'wallpaper-index' and > 'wallpapers'. Yes, that's what I meant. > > In any case, I don't see a whole lot of differences in > storing these in the DB or text files. Either way would work > fine with me. However, if you do store them in the DB, the > data structure must be flexible enough to accommdate new/other fields. You can see how I did this in the skyjunk branch in fileview.py. I used a similar mechanism to the other database storage functions. I'm going to store the data on the filesystem in a directory named the same as the database file (without the extension). The current code puts the blobs in the database. Simon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642