Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
webapp
README.md
favicon.ico
helloView.rsp.html
theme.css

README.md

Hello RSP

This sample demonstrates how to use HTML-like templates to generate dynamic contents in your web application.

The template engine is called RSP (Rikulo Stream Page). It allows developers to create dynamically generated web pages based on HTML, XML or other document types.

Here is an example:

[!-- View of Hello RSP --]
[:page partOf="hello_rsp"]
<!DOCTYPE html>
<html>
  <head>
    <title>Stream: Hello RSP</title>
    <link href="theme.css" rel="stylesheet" type="text/css" />
  </head>
  <body>
    <h1>Stream: Hello RSP</h1>
    <p>Now is [=new DateTime.now()].</p>
    <p>This page is served by Rikulo Stream [=connect.server.version].</p>
    <p>Please refer to
  <a href="https://github.com/rikulo/stream/tree/master/example/hello-rsp">Github</a> for how it is implemented.</a>
  </body>
</html>