Roxen (web server)

Roxen is a free software web server produced by Roxen Internet Software, a company based in Linköping, Sweden and named after the nearby lake Roxen. It is released under the GNU General Public License. Roxen originally appeared as Spinner in the mid-1990s and is written in uLPC or Pike. During its heyday, Roxen was used by large companies such as RealNetworks,[1] Granada Media,[2] Xmission[3] and MCI.[4]

Roxen
Original author(s)Per Hedbor
Developer(s)Roxen Internet Software AB
Initial release1996 (1996)
Stable release
6.1.246-release5 / May 7, 2018 (2018-05-07)
Written inPike
TypeWeb server
LicenseGPL
Websitedownload.roxen.com

Roxen was in many aspects ahead of its time,[5] featuring a web-based Graphical user interface (GUI) administration interface,[6] loadable modules that could be written in several languages including Pike and later Java, dynamic content generation with a comprehensive caching system, replication systems for multi-headed servers, and an embedded SQL server for data-heavy server operations (as well as broad support for other databases).[7] Roxen was built to meet the needs of content creators.[8]

RXML

RXML (RoXen Macro Language[9]) is a server-side scripting language integrated into Roxen. This language has capabilities of scripting languages like Perl, but the HTML-like syntax makes it more familiar to content creators. Many Roxen sites were developed using the MVC pattern.

Notable tags include:

  • <if>[10] for conditional content (as well as tags for else, case, for, etc.)
  • <tablify>[11] for automatically transforming data into pretty tables
  • <cache>[12] for controlling the caching of dynamic content to reduce page fetch times/server loading
  • <gbutton>[13] and <gtext>[14] image generation tags
  • <diagram>[15] for converting data into graphical charts/graphs
  • <emit>[16] for generating content based on LDAP, SQL or filesystem queries (its trivial to build your own photo gallery with thumbnails using Roxen)

Roxen modules typically provide their functionality by extending RXML.

All RXML tags contain inline documentation which is used to fill out the online manual that is included on both Roxen's documentation site[17] and with every default server installation.

RXML also provides a variable system; all variables exist within a domain or "scope", e.g. form fields passed to the query are accessible as form.fieldname, user defined variables are stored in the var scope. Unfortunately, in its attempt to explain the two methods of variable instantiation, the documentation confuses most people.

In most cases, variables are referred to by name, but it is also possible to instantiate (insert the value of) a variable anywhere, in- or out-side of tags/markup, using an XML entity-style markup, e.g. &page.path;. Optionally, one can specify encoding/escaping of the instance, e.g. &form.username:mysql; to insert a user-submitted value from a form safely into an SQL database or &page.path:js; to make a variable javascript safe.

See also

References

Further reading

  • Leszek, Pawel (March 18, 2002). "Roxen WebServer 2.2". Linuxjournal.com. Retrieved 11 January 2018.
  • Clyman, John (January 15, 2002). "Roxen WebServer 2.2". PC Magazine. Retrieved 11 January 2018.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.