Ocsigen - Reference manual

Ocsigen

Persistent data, writing in the logs, configuration file extension


Ocsipersist
Persistent data on hard disk.
Messages
Writing messages in the logs
Parseconfig
Config file parsing
Simplexmlparser
Basic camlp4 parser for xml

Extending Ocsigen


Extensions
Writing extensions for Ocsigen
Ocsiheaders
Getting informations from HTTP header.
Predefined_senders
Functions to create results for various kinds of documents
Http_frame
This table is to store cookie values for each path.
Http_client
Using Ocsigen as a HTTP client
Http_com
Who can raise the exceptions: R: receiver r: receiver stream S: sender

Lwt


Lwt
Module Lwt: cooperative light-weight threads.
Lwt_unix
Module Lwt_unix: thread-compatible system calls
Lwt_chan
Lwt_ssl
Lwt_util
Concurrency
Lwt_timeout
Preemptive
This module allows to mix preemptive threads with Lwt cooperative threads.

Eliom

Main modules


Eliomservices
This module allows to define services.
Eliomparameters
This module defines the values used to declare the type of service parameters.
Eliomsessions
This module contains the functions you need to get (or set) information about the request or the session.
Eliommod
Low level functions for Eliom, exceptions and types.

Generating pages with OcamlDuce


Eliomduce
Xhtml1_strict

Generating pages typed with polymorphic variants


Eliompredefmod.Xhtml
Eliom forms and service registration functions for XHTML
XHTML
Typesafe constructors for XHTML 1.1 documents.
Xhtmltypes
XHTML types with variants.
Eliomtools
Predefined boxes for Eliom

Other kinds of pages


Eliompredefmod
This modules contains predefined modules for generating forms and registering handlers, for several types of pages: XHTML pages typed with polymorphic variants, untyped (text) pages, actions, redirections, files ...

Creating your own kinds of pages


Eliommkforms
This module defines the functor to use to creates modules generating form widgets for your own types of pages.
Eliommkreg
This module defines the functor to use to creates modules generating functions to register services for your own types of pages.
Xhtmlpretty
XHTML pretty printing