Mork (file format)
From Wikipedia, the free encyclopedia
The tone or style of this article or section may not be appropriate for Wikipedia. Specific concerns may be found on the talk page. See Wikipedia's guide to writing better articles for suggestions.(May 2008) |
This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (May 2008) |
Mork is a computer file format used by several email clients and web browsers produced by Netscape, and later, Mozilla Foundation. It was developed by David McCusker with the aim of creating a minimal database replacement that would be reliable, flexible, and efficient, and use a file format close to plain text.
Contents |
[edit] Usage
The Mork format is used in most Mozilla-based projects, including the Mozilla browser suite, SeaMonkey, Firefox and Thunderbird. In Firefox, it is used for browsing history data and form history data. In Thunderbird, it is used for many things, such as address book data (.mab files) and the mail folder summaries (.msf files).
[edit] Criticisms
The conflicting requirements gave Mork several byzantine qualities. For example, despite the aim of efficiency, storing Unicode text takes three or six bytes per character. Also, despite being plain text, Mork is generally regarded as unintelligible to humans and as a hard format to write parsers for. Jamie Zawinski, a former Netscape engineer, once called Mork "...the single most braindamaged file format that I have ever seen in my nineteen year career."[1]
[edit] Obsolescence
The upcoming replacement system, used for storing all user configuration data, is called MozStorage. MozStorage is based on the SQLite database. As of Firefox 2.0, it is available for use by extensions, but Places, the replacement of Mork-based history data and XML-based bookmark data, was not introduced until Firefox 3 due to a number of bugs.[2]
[edit] See also
[edit] References
[edit] External links
- McCusker's description of the syntax
- Mork documents at the Mozilla Developer Center (MDC)