WYSIWYM: Difference between revisions
Line 17: | Line 17: | ||
Web page edition is clearly dominated by the [[WYSIWYG]] editing model. But, this model has being criticized<ref>Sauer, C.: WYSIWIKI - Questioning WYSIWYG in the Internet Age. In: Wikimania (2006)</ref><ref>Spiesser, J., Kitchen, L.: Optimization of html automatically generated by wysiwyg programs. In: 13th International Conference on World Wide Web, pp. 355--364. WWW '04. ACM, New York, NY (New York, NY, USA, May 17-20, 2004)</ref>, primarily because of the low quality of the generated code, and there are voices claiming a change to the WYSIWYM model<ref>[http://www.456bereastreet.com/archive/200612/forget_wysiwyg_editors_use_wysiwym_instead/ 456BereaStreet]</ref><ref>[http://www.standards-schmandards.com/2006/wysiwym/ standards-schmandards ]</ref><ref>[http://www.ts0.com/2007/09/semantic-rich-text-editor.asp Thom Shannon's blog]</ref>. |
Web page edition is clearly dominated by the [[WYSIWYG]] editing model. But, this model has being criticized<ref>Sauer, C.: WYSIWIKI - Questioning WYSIWYG in the Internet Age. In: Wikimania (2006)</ref><ref>Spiesser, J., Kitchen, L.: Optimization of html automatically generated by wysiwyg programs. In: 13th International Conference on World Wide Web, pp. 355--364. WWW '04. ACM, New York, NY (New York, NY, USA, May 17-20, 2004)</ref>, primarily because of the low quality of the generated code, and there are voices claiming a change to the WYSIWYM model<ref>[http://www.456bereastreet.com/archive/200612/forget_wysiwyg_editors_use_wysiwym_instead/ 456BereaStreet]</ref><ref>[http://www.standards-schmandards.com/2006/wysiwym/ standards-schmandards ]</ref><ref>[http://www.ts0.com/2007/09/semantic-rich-text-editor.asp Thom Shannon's blog]</ref>. |
||
The first WYSIWYM Web page editor was WYMEditor<ref>[http://www.wymeditor.org/en/ WYMean Editor |
The first WYSIWYM Web page editor was WYMEditor<ref>[http://www.wymeditor.org/en/ WYMean Editor] |
||
</ref>. In this editor the structure of the documents is defined by CSS classes for HTML elements. These classes also contain the information about the final appearance of the document. Although it follows a WYSIWYM model, the document format is always HTML, so the new structures to be defined are limited to add new classes. And the final document will be build by applying presentational elements to these classes. |
</ref>. In this editor the structure of the documents is defined by CSS classes for HTML elements. These classes also contain the information about the final appearance of the document. Although it follows a WYSIWYM model, the document format is always HTML, so the new structures to be defined are limited to add new classes. And the final document will be build by applying presentational elements to these classes. |
||
Revision as of 11:12, 3 March 2008
WYSIWYM is spelt What You See Is What You Mean and refers to the paradigm for document editing. It is an alternative to the better known WYSIWYG paradigm.
In a WYSIWYM editor, the user writes the contents in a structured way, following their semantic value, in spite of designing their aesthetical. For example, the user tells the editor that he is writing a title, a section, or an author. Because of this, one needs to know the structure of the document (contents semantic) before editing it. Moreover, the editor also needs an exporting system that generates the final format of the document, following the used structure and the written text.
The main advantage of this system is the total separation of presentation and content. So the user can concentrate his efforts on writing the contents and structuring them, without concern about the appearance, because it is left to the export system. Another advantage is that the same contents can be exported to different formats.
WYSIWYM Word Processors
The first WYSIWYM word processor (and also first editor) was LyX [1]. LyX is a graphic editor build on top of a LaTeX processor, so it is focused, but not limited, to the edition of scientific documents.
Inside LyX, the structure of the documents if given as LyX document layouts. Each of this layouts rely on a LaTex document class. In its turn, the export process is performed in two steps, first the contents are transformed from an internal format to LaTex, and then, the LaTeX processor generates the document in the requested format (DVI, PDF, etc.)
WYSIWYM in Web Environments
Web page edition is clearly dominated by the WYSIWYG editing model. But, this model has being criticized[2][3], primarily because of the low quality of the generated code, and there are voices claiming a change to the WYSIWYM model[4][5][6].
The first WYSIWYM Web page editor was WYMEditor[7]. In this editor the structure of the documents is defined by CSS classes for HTML elements. These classes also contain the information about the final appearance of the document. Although it follows a WYSIWYM model, the document format is always HTML, so the new structures to be defined are limited to add new classes. And the final document will be build by applying presentational elements to these classes.
There is a project[8] whose objective is defining a new architecture that allows the use of pure WYSIWYM editors. The structure of the documents is defined with a language, called WebCS, specifically designed for this goal. The created contents are saved in XML, tagged with its semantic values. In order to give the contents their final appearance, the WebCS structures have an associated XSL transformation, which guides the conversion of this XML to its final format (XHTML or whatever desired file format).
In this system, the separation of presentation and content if performed by the pair XML-XSL, so it is made in an upper level of the separation given by HTML-CSS. On the other hand, the definition of new structures and transformations are a bit harder, and require more knowledge. Although, implementing final software in not a goal of this project, there is editor (WebCS Editor [9]) available for demonstrating purposes.
See also
External links
- WYMeditor - Standards compliant open source WYSIWYM web-based editor
- LyX - LyX, a WYSIWYM text processor.
References
- ^ Lyx Web site
- ^ Sauer, C.: WYSIWIKI - Questioning WYSIWYG in the Internet Age. In: Wikimania (2006)
- ^ Spiesser, J., Kitchen, L.: Optimization of html automatically generated by wysiwyg programs. In: 13th International Conference on World Wide Web, pp. 355--364. WWW '04. ACM, New York, NY (New York, NY, USA, May 17-20, 2004)
- ^ 456BereaStreet
- ^ standards-schmandards
- ^ Thom Shannon's blog
- ^ WYMean Editor
- ^ WebCS Project
- ^ WebCS Editor