Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Business Industries Finance Tax

Home > RTML


RTML was a proprietary programming language used by Yahoo!'s Yahoo! Store and Yahoo! Site hosting products.

1 History

The language originated at Viaweb , a company founded by Paul Graham and Robert T. Morris, as a template language for their e-commerce platform. Viaweb was bought by Yahoo! for $40 million in 1998 and renamed Yahoo! Store. RTML was offered as an option for users (usually small business owners) who wanted to customize their sites more than the default templates allowed. The default templates were written in RTML, and provided a starting point for most people who learned the language. Yahoo's RTML-based content management system was later offered as a hosting platform without the shopping cart under the name Yahoo! Site.

In 2003, Yahoo began phasing out their RTML-based hosting products, offering new customers more standard PHP/ Perl environments instead. RTML is still in use, however, powering many legacy websites hosted on what is now called the Yahoo! Small Business platform. [1]

2 Language

Although Yahoo's documentation does not mention it, RTML is actually implemented on top of a Lisp system. The language is somewhat unique in that the programmer cannot edit the source code directly as text. Instead, keywords are presented as hyperlinks in a browser-based interface. Clicking on a keyword selects it, and its attributes can be edited. Blocks of code can be pushed and popped from a clipboard, using the stack metaphorA stack is a data structure that works on the principle of Last In First Out (LIFO). This means that the last item put on the stack is the first item that can be taken off, like a physical stack of plates. A stack-based computer system is one that is base. The editor maintains the code's s-expressionAn S-expression (S stands for symbolic) is a convention for representing data or an expression in a computer program in a text form. S-expressions are used in the Lisp programming language and Lisp-derived languages such as Scheme and DSSSL, and as mark-u structure automatically, and represents it in the web interface using indentation instead of Lisp's parenthesis. Most of the keywords correspond to HTMLHyperText Markup Language (HTML) is a markup language designed for creating web pages, that is, information presented on the World Wide Web. Defined as a simple "application" of SGML, which is used by organizations with complex publishing requirements, HT elements, but there are also conditionals, recursionIn mathematics and computer science, recursion is a particular way of specifying (or constructing) a class of objects (or an object from a certain class) with the help of a reference to other objects of the class: a recursive definition defines objects in, and other control flowIn computer science and in computer programming, statements in pseudocode or in a program are normally obeyed one after the other in the order in which they are written (sequential flow of control). Most programming languages have control flow statements features that make it a "real" programming language.

RTML templates are evaluated dynamically for each pageview during editing, but for the live site a "publish" process generates static HTML files from them.

3 Hello World

This is the Hello World program provided in the documentation:

Hello () TEXT "Hello world!"

4 Acronym

Yahoo's documentation used to say that RTML was an acronym for "Real Time Markup Language," but Graham admitted that "we made up various explanations for what RTML was supposed to stand for, but actually I named it after Robert Morris, the other founder of Viaweb, whose username is rtm."

5 External links

Domain-specific programming languages Yahoo!



Non User