Being an architect, I'm used to dealing with thousands of documents on a project. The only meaningful way I've discovered to organize those documents is by the flow of work they are being used on, which is what we do. It is especially important when dealing with multiple companies on a single project. Folders and nested folders are a paradigm of the low-productivity windows way - we tried this, it never works well. But document management is really only a small feature of a larger integrated application that guides users through the larger workflow of getting projects done.
Oh, hmm. It would be kinda cool to separate the document management from the workflow ... like, build a document management system with an API, and then create various user interfaces that could interact with it according to different applications.
I think that is the future - many smaller apps integrated together as features within a larger comprehensive application. Integration is the key to really getting productive as opposed to having multiple disconnected apps.
On that note... We actualy have an XML API, though it's not quite public yet... We'll get around to tidying it up and making it public sometime, though...
If you're interested in writing something for it for your clients (with the caveat that it's not even in beta stage... though it appears to work), I can probably send you a ruby example that interacts with it... Let me know via our support link. :-)