Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman <hoff-remove-this@xxxxxx>
- Date: Thu, 08 Jun 2006 12:53:48 GMT
Dave Froble wrote:
JF Mezei wrote:Hoff Hoffman wrote:More efficient, and less flexible -- it's a trade-off. There are
serious limits within the current design, such as the inability to
generally search the mail file, or to have a message in two folders, or
to handle the information in a transactional format, etc.
Funny, ALLIN1 does all of this and it uses ISAM files for in indexes.
Yeah, through the years we did lots of things. We also learned some lessons. New ideas and products grew out of such.
Bottom line, a relational database is more flexible in the retrival of data. Note that I'm not a big fan of relational databases as a cure-all for all purposes. But for retrieval and searching, they're pretty good.
I have to assume that there is a lack of familiarity with relational databases here. Relational databases are very powerful, and very easy to add new data and new tables, and allow the programmer to provide the end user great flexibility -- in terms of data organization, cross linkages, action routines, transactional integrity, etc.
Could you do this with RMS? Ayup. But by the time you're done, you are maintaining your own semi-relational database -- and there are features of database products that your upgraded RMS would still lack -- and then you get to maintain your database, support and upgrade it, and all the effort that entails?
The problem with mail these days is that RFC822 headers are quite
variable and new fields are added and not always consistently used. And
one really needs to keep that header "intact" because it is like a
postmark on a letter. So even if you were to parse the RFC822 header
into some fancy XML structure, you'd still need to retain the original
RFC822 header because your XML parser wouldn't be able to understand new
fields being added to RFC822.
Wanna bet?
I have to assume that there is a lack of familiarity with XML here.
Looking past the hype (not an easy task :-), XML is very powerful and very portable, and it gets the application out of the business of parsing the data. (There are trade-offs here too, as the XML libraries have substantial overhead. It doesn't scale as well as a more traditional database.)
In OpenVMS terms, XML is a portable text-based itemlist-like construct -- and one that can be nested, provided with attributes and tags, structurally verified, displayed, embedded, transfered, and extended as required. I'm using XML within OpenVMS V8.3, and for all of these reasons.
I would also propose storing the data in a database, and allowing the external software to access the data via XML; to allow data imports and exports using XML. This gets the other software out of the business of processing RFC-compliant headers. (And, going full circle, if SMTP mail were to be (re)implemented today, it is exceedingly likely that XML would have been used as the basis of the wrappers.)
.
- Follow-Ups:
- Re: Wanted:MAIL.MAI structure definition
- From: Dave Froble
- Re: Wanted:MAIL.MAI structure definition
- References:
- Wanted:MAIL.MAI structure definition
- From: Ruslan R. Laishev
- Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman
- Re: Wanted:MAIL.MAI structure definition
- From: Ruslan R. Laishev
- Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman
- Re: Wanted:MAIL.MAI structure definition
- From: Tom Linden
- Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman
- Re: Wanted:MAIL.MAI structure definition
- From: Tom Linden
- Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman
- Re: Wanted:MAIL.MAI structure definition
- From: Tom Linden
- Re: Wanted:MAIL.MAI structure definition
- From: Hoff Hoffman
- Re: Wanted:MAIL.MAI structure definition
- From: JF Mezei
- Re: Wanted:MAIL.MAI structure definition
- From: Dave Froble
- Wanted:MAIL.MAI structure definition
- Prev by Date: (OT) 6 june 1944
- Next by Date: Re: Wanted:MAIL.MAI structure definition
- Previous by thread: Re: Wanted:MAIL.MAI structure definition
- Next by thread: Re: Wanted:MAIL.MAI structure definition
- Index(es):
Relevant Pages
|