ocsigen / eliomlang

Runtime and tools for the eliom language
ISC License
9 stars 1 forks source link

Runtime for converters with one-page application #15

Open Drup opened 8 years ago

Drup commented 8 years ago

This is a schematic implementation of global and request fragments given converters:

type%server 'a frag = Global of int | Request of int
type%server fragment = { clojure_id : string ; args : poly array } 

Two tables, on both side

On the server side:

The tables are built during execution of Eliom_runtime.fragment. On the first request, both tables are sent. On subsequent requests, only request_fragments is sent.

On the client side,