Mork (file format)

Last updated
Mork
Filename extension
.mab, .msf, .dat
Developed by Netscape, later Mozilla Foundation
Type of format Database
Standard None (reference implementation)
Website Mozilla Developer Center

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 [1] 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. [2]

Contents

The format was named after the character Mork from the TV show Mork & Mindy . [1]

Usage

The Mork format was used in most Mozilla-based projects, including the Mozilla browser suite, SeaMonkey, Firefox, and Thunderbird. In Firefox, it was used for browsing history data and form history data. In Thunderbird, it is still used for many things, such as address book data (.mab files) and the mail folder summaries (.msf files).

Criticisms

Mork has many suboptimal properties. For example, despite the aim of efficiency, storing Unicode text takes three or six bytes per character.

The file format has been severely criticized by Jamie Zawinski, a former Netscape engineer. He has lambasted the ostensibly "textual" format on the grounds that it is "not human-readable", [3] bemoaned the impossibility of writing a correct parser for the format, [4] and referred to it as "...the single most braindamaged file format that I have ever seen in my nineteen year career". [4]

In response, McCusker stated that the problems with Mork resulted from "conflicting requirements" and that he merely fixed scalability issues in bad code he "inherited". [5]

The Register lambasted the Mork database with their article "Why has Thunderbird turned into a turkey?" [6]

Obsolescence

The replacement system, used for storing all user configuration data, is called MozStorage. MozStorage is based on the SQLite database. Beginning with Firefox 3.0, Firefox uses it for its history, form history and bookmark data. The storage engine was also included in Firefox 2.0, but only for use with extensions. [7]

Mork was completely removed from Firefox in 2011. [8] [9]

Plans existed for Mork to be replaced with MozStorage in Thunderbird 3.0., [10] but as of 2023 still used the Mork file format. [11] As of 2012, SeaMonkey used Mork for at least its POP and IMAP mail folders indexes.

See also

Related Research Articles

Jamie Werner Zawinski, commonly known as jwz, is an American computer programmer, blogger and impresario. He is best known for his role in the creation of Netscape Navigator, Netscape Mail, Lucid Emacs, Mozilla.org, and XScreenSaver. He is also the proprietor of DNA Lounge, a nightclub and live music venue in San Francisco.

Gecko is a browser engine developed by Mozilla. It is used in the Firefox browser, the Thunderbird email client, and many other projects.

<span class="mw-page-title-main">Mozilla Thunderbird</span> Free and open-source email client by Mozilla

Mozilla Thunderbird is free and open-source email client software which also functions as a full personal information manager with a calendar and contactbook, as well as an RSS feed reader, chat client (IRC/XMPP/Matrix), and news client. Available cross-platform, it is operated by the Mozilla Foundation's subsidiary MZLA Technologies Corporation. Thunderbird is an independent, community-driven project that is managed and overseen by the Thunderbird Council, which is elected by the Thunderbird Community. The project strategy was originally modeled after that of Mozilla's Firefox web browser and is an interface built on top of that web browser.

The Book of Mozilla is a computer Easter egg found in the Netscape, Mozilla, SeaMonkey, Waterfox and Firefox series of web browsers. It is viewed by directing the browser to about:mozilla.

In computing, the User-Agent header is an HTTP header intended to identify the user agent responsible for making a given HTTP request. Whereas the character sequence User-Agent comprises the name of the header itself, the header value that a given user agent uses to identify itself is colloquially known as its user agent string. The user agent for the operator of a computer used to access the Web has encoded within the rules that govern its behavior the knowledge of how to negotiate its half of a request-response transaction; the user agent thus plays the role of the client in a client–server system. Often considered useful in networks is the ability to identify and distinguish the software facilitating a network session. For this reason, the User-Agent HTTP header exists to identify the client software to the responding server.

This is a comparison of both historical and current web browsers based on developer, engine, platform(s), releases, license, and cost.

about is an internal URI scheme implemented in various Web browsers to reveal internal state and built-in functions. It is an IANA officially registered scheme, and is standardized.

XPInstall is a technology used by the Mozilla Application Suite, SeaMonkey, Mozilla Firefox, Mozilla Thunderbird and other XUL-based applications for installing Mozilla extensions that add functionality to the main application.

Mozilla Firefox has features that allow it to be distinguished from other web browsers, such as Chrome and Internet Explorer.

The history of the Mozilla Application Suite began with the release of the source code of the Netscape suite as an open source project. Going through years of hard work, Mozilla 1.0 was eventually released on June 5, 2002. Its backend code base, most notably the Gecko layout engine, has become the foundation of a number of applications based on Mozilla, including the Mozilla Foundation's flagship product Mozilla Firefox and Mozilla Thunderbird. While the suite is no longer a formal Mozilla product, its development and maintenance is continued as the SeaMonkey community project.

The Mozilla application framework is a collection of cross-platform software components that make up the Mozilla applications. It was originally known as XPFE, an abbreviation of cross-platform front end. It was also known as XPToolkit. To avoid confusion, it is now referred to as the Mozilla application framework.

In the context of the World Wide Web, a bookmark is a Uniform Resource Identifier (URI) that is stored for later retrieval in any of various storage formats. All modern web browsers include bookmark features. Bookmarks are called favorites or Internet shortcuts in Internet Explorer and Microsoft Edge, and by virtue of that browser's large market share, these terms have been synonymous with bookmark since the First Browser War. Bookmarks are normally accessed through a menu in the user's web browser, and folders are commonly used for organization. In addition to bookmarking methods within most browsers, many external applications offer bookmarks management.

A local shared object (LSO), commonly called a Flash cookie, is a piece of data that websites that use Adobe Flash may store on a user's computer. Local shared objects have been used by all versions of Flash Player since version 6.

<span class="mw-page-title-main">Netscape Mail & Newsgroups</span>

Netscape Mail and Newsgroups, commonly known as just Netscape Mail, was an email and news client produced by Netscape Communications Corporation as part of the Netscape series of suites between versions 2.0 to 7.2. In the 2.x and 3.x series, it was bundled with the web browser. In the 4.x series, it was rewritten as two separate programs known as Netscape Messenger and Netscape Collabra.

In HTML, a file-select control is a component of a web form with which a user can select a local file. When the form is submitted, the file is uploaded to the web server. There, when the file arrives, some action usually takes place, such as saving the file on the web server. However, the particular action that takes place is determined by the server-side script to which the form is submitted.

Web storage, sometimes known as DOM storage, is a standard JavaScript API provided by web browsers. It enables websites to store persistent data on users' devices similar to cookies, but with much larger capacity and no information sent in HTTP headers. There are two main web storage types: local storage and session storage, behaving similarly to persistent cookies and session cookies respectively. Web Storage is standardized by the World Wide Web Consortium (W3C) and WHATWG, and is supported by all major browsers.

The Mozilla Archive Format (MAFF) is a legacy Web archive file format that was provided by Firefox through an extension, used to store one or more web pages with their associated audio, video, and other related web resources to a single file. Unlike MHTML, which uses MIME encoding within a single HTML file, MAFF compresses the page into a ZIP container file.

Mozilla is a free software community founded in 1998 by members of Netscape. The Mozilla community uses, develops, publishes and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions. The community is supported institutionally by the non-profit Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.

<span class="mw-page-title-main">PDF.js</span> PDF viewer in JavaScript included in Mozilla Firefox

PDF.js is a JavaScript library that renders Portable Document Format (PDF) files using the web standards-compliant HTML5 Canvas. The project is led by the Mozilla Corporation after Andreas Gal launched it in 2011.

References

  1. 1 2 "Mork What Is It — MDC". Developer.mozilla.org. 2007-09-16. Archived from the original on 2019-10-08. Retrieved 2009-08-19.
  2. "Mork Why — MDC". Developer.mozilla.org. 2007-09-16. Retrieved 2009-08-19.
  3. Zawinski, Jamie. "mork.pl: Perl program to extract metadata from a Mork database". jwz.org. Retrieved 2009-08-19.
  4. 1 2 "Bug 241438 – please make history.dat easier to parse (i.e., not Mork)". Bugzilla.mozilla.org. Retrieved 2009-08-19.
  5. "erys: resume: netscape: mork: jwz". Internet Archive. 2005-05-25. Archived from the original on 2005-05-25. Retrieved 2009-08-19.
  6. "Why has Thunderbird turned into a turkey?". www.theregister.co.uk.
  7. Paul, Ryan (2006-04-30). "Features cut from Firefox 2". Arstechnica.com. Retrieved 2009-08-19.
  8. "Remove Mork from Mozilla-Central".
  9. "Mork to be removed from Firefox 7".
  10. "Thunderbird 3 Planning". Wiki.mozilla.org. 2009-08-10. Retrieved 2009-08-19.
  11. "11050 - Use mozStorage or IndexedDB instead of Mork for the message summary database". bugzilla.mozilla.org. Retrieved 2023-05-04.