Document Update Markup Language

Document Update Markup Language
Logo duml 180px.png

Document Update Markup Language (DUML) is an XML specification created by Brian Kardell to enable server-side logic DOM manipulation outside the context of conventional JavaScript functions.

DUML supports a simpler approach to AJAX. With most current approaches, DOM manipulation is accomplished through arbitrarily complex client-side JavaScript. With the DUML approach, the browser makes a standard AJAX call to the server. Then DOM manipulation instructions (such as appending nodes, replacing nodes, etc.) are generated server-side as a DUML document, delivered to the browser, and finally interpreted by a simple DUML interpreter running on the web page.

This diagram illustrates the interaction between the web browser and the web application, and the role that DUML plays.

The net effect is to move complex DOM manipulation logic out of the web page (and out of any associated JavaScript files) and onto the server. This may be desirable in cases where a development team wishes to put this sort of logic in the hands of the software developers rather than having the web designers handle this.

DUML itself is very simple, supporting a set of nine manipulations: appendChild, insertBefore, insertAfter, replace, remove. replaceContent, set-attribute, executeScript and queueScript. Since instructions map more or less directly to universally supported methods, the interpreter is correspondingly simple.

The DUML specification itself is generic and not tied directly to HTML based applications and therefore can be used with any XML/DOM based user interface language as long as the client supports a language in which an interpreter can be implemented.

History

The name "DUML" originated with Kardell's son, who remarked that writing DOM manipulation code using complicated client-side JavaScript was "dumb".

External links


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Document Type Definition — (DTD) is a set of markup declarations that define a document type for SGML family markup languages (SGML, XML, HTML). DTDs were a precursor to XML schema and have a similar function, although different capabilities. DTDs use a terse formal syntax …   Wikipedia

  • Document Object Model — Not to be confused with Domain Object Model. HTML HTML and HTML5 Dynamic HTML XHTML XHTML Mobile Profile and C HTML Canvas element Character encodings Document Object Model Font family HTML editor HTML element HTML Fr …   Wikipedia

  • List of XML markup languages — This page aims to list articles related XML markup languages. This is so that those interested in the subject can monitor changes to the pages by clicking on Related changes in the sidebar and on the bottom of the page.The list is not necessarily …   Wikipedia

  • Portable Document Format — PDF redirects here. For other uses, see PDF (disambiguation). Portable Document Format Adobe Reader icon Filename extension .pdf Internet media type application/pdf application/x pdf application/x bzpdf application/x gzpdf …   Wikipedia

  • XML Query Language — XQuery steht für XML Query Language und bezeichnet eine vom W3C spezifizierte Abfragesprache für XML Datenbanken. XQuery benutzt eine an XSLT, SQL und C angelehnte Syntax und verwendet XPath sowie XML Schema für sein Datenmodell und seine… …   Deutsch Wikipedia

  • Groovy (programming language) — Infobox programming language name = Groovy paradigm = object oriented, scripting year = 2003 designer = JCP developer = Guillaume Laforge (Project Manager and JSR 241 Spec Lead) latest release version = 1.5.7 latest release date = release… …   Wikipedia

  • C Sharp (programming language) — The correct title of this article is C# (programming language). The substitution or omission of the # sign is because of technical restrictions. C# Paradigm(s) multi paradigm: structured, imperative …   Wikipedia

  • HTML — For the use of HTML on Wikipedia, see Help:HTML in wikitext. HTML (HyperText Markup Language) Filename extension .html, .htm Internet media type text/html Type code TEXT …   Wikipedia

  • Microsoft Silverlight History — Microsoft Silverlight is an application framework for writing and running rich internet applications. This is a technical overview of the platform s history. Contents 1 Silverlight 1 2 Silverlight 2 3 Silverlight 3 …   Wikipedia

  • XML — Infobox file format name = Extensible Markup Language icon = logo = extension = .xml mime = application/xml, text/xml (deprecated) type code = uniform type = public.xml magic = owner = World Wide Web Consortium genre = Markup language container… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”