Embed Demo

In order to learn how to embed pliant content into any webpage please visit random.hypervolume.com/embedding.html.

 
Basic Idea for Web Development

The basic idea is to do all computation on the server and treat the web-browser as a graphical dumb terminal. All javascript event handling code is moved to the server, without sacrificing usability.

ovar Int x y
x := 1 ; y := 2
input "" x
text "+"
input "" y
text "="
section "sum"
  void
button "add"
  section_overwrite "sum"
    if x<>undefined and y<>undefined
      text string:(x + y)

+ =

Unlike Apache and other webservers which forget about a request as soon as they serve it, pliant ui engine creates an instance of all transient data for use by the webpage. In this example the data consists of "x" and "y" variables. This data stays active in memory on the server until the user leaves the page.

 view more examples