I'm living in a MFC serializing hell. We're soon going to release the final version of the software I'm working on at work - and I got plently to do before the FAT. One of the tasks assigned to me, is to implement a
set of features, in order to enable distributed planning (it's a planning tool)... because of this, I'll have to tear the damn data model apart, pull out the objects I want to export, and stick them into a file, or a "packet" as my project manager likes to call it.
The problem is, the data model resides only in memory, ie. it's not based on a relational database - so I have to sort out all the relationships at export/import time - and that's not an easy task at all. Hopefully, the bugs will be smoked out before the weekend.
While pondering about a solution for a completly different problem, I came up with a possible design for a project I've been thinking about for a long time now;
A system to organize my bookmarks and other resources. The idea is to implement a peer-to-peer-alike system, so that it's possible to share information with friends/co-workers etc.
Since I'm usually use MS Windows as my desktop OS (and Linux in different flavors on my servers), I first want to implement a win32 version of the client - and a Linux (Un*x) version of the server - if I want to implement a server application at all.
The win32 API contains a couple of methods that can be used to monitor changes on a NTFS partition. Because the Internet Explorer Favorites (bookmarks) are file-based, I can use this functionality in an utility application to get a notification when new favorites are added/changed/removed.
Why not use the import/export features that exists in Internet Explorer allready, you might ask. The answer to this is 'no' - simply because it doesn't produce valid (X)HTML or XML (Why the *fsck* can't the guys in Redmond realize that the importExportFavorites() method should export/import XML !?), and that it must be used manually. I want to implement a transparent system, that will enable you to add a new bookmark, and the bookmark will be pushed to 0..n subscribers. If the subscribers isn't logged on to the system, it will store the new bookmarks until the user returns.
And yes, this solution is IE-only. But it could be possible to at least make a Opera bookmark generator (And probably Netscape/Mozilla - I haven't looked in to it - they're not my cup of tea).
Updates will be posted later. Ideas/feature requests etc. can be mailed to me; lars at sral dot org