What Is SpaceScript?
SpaceScript is a scripting language that makes it easy to embed XML-based information in HTML documents on the fly. SpaceScript helps HTML authors publish documents on the Web or corporate intranet using Invisible Worlds' XML based information management systems.
Invisible Worlds technology relies on the flexibility of generic XML for the creation of structured databases. However, even the latest Web browser cannot read and display generic XML data, and HTML is not very good at handling data structure and generic formatting. SpaceScript bridges the gap between XML data and HTML publishing by providing a set of instructions authors can use to tell HTML how to format the XML based data - what data to use, how to display it, and in what order.
SpaceScript is modeled after JavaScript, the most popular programming language among HTML authors. Anyone familiar with using JavaScript will quickly be able to put SpaceScript to work creating documents populated with XML-based data on the fly, without the need to know the data retrieved or the fine details of how it is stored.
What Do I Need To Write SpaceScript?
To write (and run) SpaceScript you need:
- A SpaceScript Form
- A SpaceScript Template
- A Web Server configured to run SpaceScript
- A Blocks Server
The SpaceScript Form is an HTML document containing a special type of query that sets up the environment in which SpaceScript is executed. When the SpaceScript Form is submitted it delivers a set of parameters to the SpaceScript Server where a CGI script is invoked. These parameters determine what data we get back from the server and how it will be formatted in the result page.
|
 |  |
SpaceScript Form |
 |
An EDGARspace example of a SpaceScript query form. |
 |
 |  |
|
 |  |
SpaceScript Template |
 |
The raw code underlying the EDGARspace results template that is returned upon submitting the EDGARspace query form. |
 |
 |  |
|
 |  |
Rendered HTML |
 |
The EDGARspace results template full rendered in HTML. |
 |
 |  |
|
Next »SpaceScript Sequence Tags.
|