ViolaWWW
Template:Short description Template:Infobox software ViolaWWW is a discontinued web browser, the first to support scripting and stylesheets for the World Wide Web (WWW). It was first released in 1991/1992 for Unix and acted as the recommended browser at CERN,<ref name="faq"/> where the WWW was invented, but eventually lost its position as most frequently used browser to Mosaic.
Viola
Released in 1992,<ref name="about" /> Viola was the invention of Pei-Yuan Wei, a member of the Experimental Computing Facility (XCF) at the University of California, Berkeley.<ref name="faq" /><ref name="about">Template:Cite web</ref> Viola was a UNIX-based programming/scripting language; the acronym stood for "Visually Interactive Object-oriented Language and Application".<ref name="GilliesCailliau2000"/>
Pei's interest in graphically based software began with HyperCard, which he first encountered in 1989. Of that, Pei said, "HyperCard was very compelling back then, you know graphically, this hyperlink thing, it was just not very global and it only worked on Mac... and I didn't even have a Mac". Only having access to X terminals, Pei, in 1990, created the first version of Viola for such terminals: "I got a HyperCard manual and looked at it and just basically took the concepts and implemented them..."<ref name="GilliesCailliau2000">Template:Cite book</ref>
Pei released Viola 0.8 in 1991.<ref name="GilliesCailliau2000" />
History of ViolaWWW
After graduating, Pei developed Viola further while working with the XCF and startups.<ref name="GilliesCailliau2000"/><ref>Template:Cite web</ref> Later, he would be funded by O'Reilly Books, the technical publisher, which used the software to help demonstrate its Global Network Navigator site.<ref>Template:Cite news</ref> His major goal was to create a version of Viola for the Internet:
Released in 1992, ViolaWWW was the first browser to add extended functionality such as embedded scriptable objects, stylesheets, and tables. Early versions were received well at CERN.<ref name="GilliesCailliau2000"/> Ed Krol also highlighted the browser in his popular 1992 text, Whole Internet User's Guide and Catalog.
As ViolaWWW developed, it began to look more like HyperCard:
ViolaWWW was based on the Viola toolkit, which is a tool for the development and support of visual interactive media applications, with a multimedia web browser being a possible application. Viola ran under the X Window System and could be used to build complex hypermedia applications with features like applets and other interactive content as early as 1992.<ref>Template:Cite web</ref>
Firsts
Viola was the first web browser to have the following features:<ref name="timblhistory">Template:Cite web</ref>
- client-side document insertion, predating frames, or syndication via JavaScript output writing, which are used commonly today.
| Viola-style document embedding | Object method |
|---|---|
| <syntaxhighlight lang="xml">
<INSERT SRC="a_quote.html"> </syntaxhighlight> |
<syntaxhighlight lang="html">
<object type="text/html" data="a_quote.html"> This text will appear for browsers that don't support OBJECTs </object> </syntaxhighlight> |
- a simple stylesheet mechanism used for inserting style information such as fonts, color and alignments into a document.<ref>Template:Cite web</ref> This was implemented in Viola well before CSS was developed in 1996:
| A viola-style stylesheet | A CSS stylesheet |
|---|---|
(BODY,INPUT,P FGColor=black
BGColor=grey70
BDColor=grey70
align=left
(H1 FGColor=white
BGColor=red
BDColor=black
align=center
|
<syntaxhighlight lang="css">
body, input, p {
color: black;
background-color: #707070;
text-align: left;
} h1 {
color: white;
background-color: red;
border: solid 1px black;
text-align: center;
} </syntaxhighlight> |
- a sidebar panel used for displaying "meta" information, intra document navigational links, and other information, similar to (but not as sophisticated as) features found in several modern browsers.
- a scripting language that can be accessed from an HTML document,<ref>Template:Cite web</ref> such that an HTML document can embed highly interactive scripts/applets. This can be seen as the precursor to JavaScript and embedded objects.
| ViolaWWW method | JavaScript equivalent | |
|---|---|---|
| Scripting | <syntaxhighlight lang="javascript">
\class {txtDisp} \name {showTime} \script { switch (arg[0]) { case "tick":
set("content"), date());
after(1000, self(), "tick");
return; break;
case "init":
after(1000, self(), "tick");
break;
}
usual();
} \width {100} \height {50} \ </syntaxhighlight> |
<syntaxhighlight lang="javascript">
function showTimeInDoc() { var theTime = document.getElementById('theTime');
var date = new Date();
theTime.innerHTML = date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds();
setTimeout(showTimeInDoc, 1000);
} </syntaxhighlight> |
| Embedding a script into a web page | <syntaxhighlight lang="html">
<HTML> <HEAD> </HEAD> <BODY> And, the time now is: <LINK REL="viola" HREF="showTime.v"> </BODY> </HTML> </syntaxhighlight> |
<syntaxhighlight lang="html">
<html> <head> <script type="text/javascript" src="showTime.js"></script> </head> <body onload="showTimeInDoc()">
</body> </html> </syntaxhighlight> |
- Forms<ref>Template:Cite web</ref>
Competing against Mosaic
While ViolaWWW opened the door to the World Wide Web,<ref name="timblhistory"/> its limitations, including it only being implemented on the X Window System, meant it could not compete with Mosaic, the browser which brought the Web into the mainstream.<ref>Template:Cite web</ref> Among other things, Mosaic was easier to install on the computers most people were using.<ref name="timblhistory"/> Originally developed for UNIX, Mosaic was soon ported to Microsoft Windows,<ref>Freedman, Alan. Computer Desktop Encyclopedia, 9th Edition. New York: Osborne, 2001, p. 629</ref> a platform on which ViolaWWW never ran.
ViolaWWW in patent lawsuits
In 1999, Eolas Technologies and the University of California filed suit in the US District Court for the Northern District of Illinois against Microsoft, claiming infringement of U.S. patent 5,838,906, (covering browser plugins) by the Internet Explorer web browser. Eolas won the initial case in August 2003 and was awarded damages of $Template:Formatprice from Microsoft.<ref>Template:Cite web 99 C 626</ref> The District Court reaffirmed the jury's decision in January 2004.
In March 2005, an appeals court directed that there be a retrial, overturning a decision that Microsoft pay $521 million in damages. The appeals court said that the initial ruling had ignored two key arguments put forward by Microsoft. Microsoft had wanted to show the court that ViolaWWW was prior art, since it was created in 1993 at the University of California, a year before the key patent were filed. Microsoft had also suggested that Michael David Doyle, Eolas' founder and a former University of California researcher, had intentionally concealed his knowledge of ViolaWWW when filing the patent claim.<ref>Court stays $521m Microsoft fine, BBC News, March 3, 2005.</ref> Microsoft subsequently settled with Eolas, in August 2007, without a retrial.<ref>Template:Cite news</ref> Eolas continued to file suits against dozens of other technology companies.
In February 2012 a Texas jury found that two of Eolas' patents were invalid after testimony from several defendants including Tim Berners-Lee and Pei-Yuan Wei, credited as creator of the Viola browser. The testimony professed that the Viola browser included Eolas' claimed inventions before the filing date (September 7, 1993). There is "substantial evidence that Viola was publicly known and used" before the plaintiffs' alleged conception date, it added. The ruling effectively ended a pending lawsuit against 22 companies including Yahoo, Google, and many online retailers.<ref>Template:Cite news</ref>