Doc
Home
Doc
Blog
Eliom
Js_of_ocaml
Server
Lwt
Tyxml
Start
Version:
8.0
On this page
Programmer's guide
Introduction. Ocsigen: where to start?
Client-server application programming guide
Server-side website programming guide
Main tutorials
Install Ocsigen
Your first app in 5 minutes
Interactive tutorial: Writing a chat app
Client/server application: Graffiti
Eliom apps basics: writing client-server widgets
Session data: Eliom references
Reactive client-server Web applications
Service based Web programming
Mixing traditional Web interaction with client-server app
5-minute tutorials
Lwt
HTML
Other tutorials: Miscellanous features
Mobile applications with Ocsigen
Custom configuration
RESTful JSON API
Persistent tables with Ocsipersist
Improving Graffiti
Download pictures
Playing music
Reactive media player
HOW-TO
My first steps with Ocsigen
How to make "hello world" in Ocsigen
How to compile my Ocsigen pages
How to configure and launch the Ocsigen Server
How does a client-server app source code look like?
How to put some elements in my page ?
How to make a page skeleton
How to use GET parameters (parameters in the URL)
How to add CSS stylesheet
How to add a Javascript script
How to add a div
How to add lists in pages?
How to add an image
How to write titles and paragraphs
How to set and id, classes or other attributes to HTML elements
How to add select (or other form element)
How to insert "raw" form elements (not belonging to a form towards a service)
How to make responsive CSS
Services
How to do links to other pages
How to write forms
How to register a service that decides itself what to send
How to create link to a current page (without knowing its URL)
How to create form wizard (sequence of pages depending on data entered on previous ones)
How to write a JSON service
How to send a file (download)
How to send a file (upload)
Js_of_ocaml
How to attach OCaml values to DOM elements
How to know whether the browser window has the focus or not
How to build js object
How to stop default behaviour of events
How to call an OCaml function from js code
Eliom client-server applications
How to call a server-side function from the client side
How to make the client side program get an HTML element from the server and insert it in the page
How to attach OCaml values to the HTML nodes sent to the client
How to iterate on all sessions for one user, or all tabs
How to implement a notification system
How to send a file to server without stopping the client process
How to detect channel disconnection
How to detect on client side that the server side state for the process is closed
Eliom Server side
How do I create a Cryptographically safe identifier
Protecting passwords
How do I create a cryptographically safe identifier?
Ocsigen_lib.make_cryptographic_safe_string