Writing a client/server Eliom application
The code of this tutorial has been tested with the 2.2 release of +
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Writing a client/server Eliom application
The code of this tutorial has been tested with the 2.2 release of
the Ocsigen bundle.
In this chapter, we will write a collaborative drawing application. It is a client/server Web application diff --git a/2.2/manual/chat.html b/2.2/manual/chat.html index 5cc770ca..5ad5333e 100644 --- a/2.2/manual/chat.html +++ b/2.2/manual/chat.html @@ -44,7 +44,7 @@
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Chat: Design Overview
Chat is a chatting module and application, currently for conversations +
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Chat: Design Overview
Chat is a chatting module and application, currently for conversations between two users each. (Extension for multi-user channels is left as an exercise to the user.)
First of all, diff --git a/2.2/manual/interaction.html b/2.2/manual/interaction.html index d5304189..702988e4 100644 --- a/2.2/manual/interaction.html +++ b/2.2/manual/interaction.html @@ -44,7 +44,7 @@
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Implementing Web Interaction Using Eliom
The code of this tutorial has been tested with the 2.2 release of +
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Implementing Web Interaction Using Eliom
The code of this tutorial has been tested with the 2.2 release of
the Ocsigen bundle.
This chapter is a tutorial explaining how to create a small Web site with several pages, users, sessions, etc. Then, in next chapter, diff --git a/2.2/manual/intro.html b/2.2/manual/intro.html index 0b1af698..3851d7d7 100644 --- a/2.2/manual/intro.html +++ b/2.2/manual/intro.html @@ -44,7 +44,7 @@
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
The code of this tutorial has been tested with the 2.2 release of +
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
The code of this tutorial has been tested with the 2.2 release of
the Ocsigen bundle.
Introduction
This tutorial is an overview of the main features of the Ocsigen framework. It explains how to program Web sites and client-server Web applications in diff --git a/2.2/manual/misc.html b/2.2/manual/misc.html index 69943214..8082e439 100644 --- a/2.2/manual/misc.html +++ b/2.2/manual/misc.html @@ -44,7 +44,7 @@
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Miscellaneous features
The code of this tutorial has been tested with the 2.2 release of +
Tutorial: Your first application
Introduction
Client/server application
Service based Web programming
Miscellaneous features
Examples: Learning by example
Chat
More coming soon ...
Miscellaneous features
The code of this tutorial has been tested with the 2.2 release of
the Ocsigen bundle.
Multi-user collaborative drawing application
We now want to take back our collaborative drawing application and turn it to a multi user one. Each user will have his own drawing, diff --git a/7.1/manual/application.html b/7.1/manual/application.html index c7908de2..66a480e7 100644 --- a/7.1/manual/application.html +++ b/7.1/manual/application.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Writing a client/server Eliom application
In this chapter, we will write a collaborative +
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
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
Writing a client/server Eliom application
In this chapter, we will write a collaborative drawing application. It is a client/server web application displaying an area where users can draw using the mouse, and see what other users are drawing at the same time and in real-time. diff --git a/7.1/manual/basics-server.html b/7.1/manual/basics-server.html index afb36340..593e5d66 100644 --- a/7.1/manual/basics-server.html +++ b/7.1/manual/basics-server.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Server-side website programming guide
While Eliom is well known for its unique client-server programming +
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
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
Server-side website programming guide
While Eliom is well known for its unique client-server programming model, it is also perfectly suited to programming more traditional websites. This page describes how you can generate Web pages in OCaml, and handle links, forms, page parameters, sessions, etc. You will see diff --git a/7.1/manual/basics.html b/7.1/manual/basics.html index 3d14f050..cb6d0585 100644 --- a/7.1/manual/basics.html +++ b/7.1/manual/basics.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Client-server application programming guide
This page describes the main concepts you need to master to become fully operational +
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
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
Client-server application programming guide
This page describes the main concepts you need to master to become fully operational with Ocsigen. Use it as your training plan or as a cheatcheet while programming.
Depending on your needs, you may not need to learn all this. Ocsigen is very flexible and can be used both for Web site programing (see diff --git a/7.1/manual/chat.html b/7.1/manual/chat.html index 1e59dabd..00c2da05 100644 --- a/7.1/manual/chat.html +++ b/7.1/manual/chat.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Chat: Design Overview
Chat is a chatting module and application, currently for conversations +
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
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
Chat: Design Overview
Chat is a chatting module and application, currently for conversations between two users each. (Extension for multi-user channels is left as an exercise to the user.)
You can find the code here. diff --git a/7.1/manual/custom-conf.html b/7.1/manual/custom-conf.html index e5da7ef6..69657bb4 100644 --- a/7.1/manual/custom-conf.html +++ b/7.1/manual/custom-conf.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Custom configuration options
It is not convenient to have to edit the code to change some +
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
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
Custom configuration options
It is not convenient to have to edit the code to change some configurations, like the location where are saved the favorite images in the Graffiti tutorial (see: Saving favorite pictures). diff --git a/7.1/manual/hash-password.html b/7.1/manual/hash-password.html index 493c755d..69b4cb6e 100644 --- a/7.1/manual/hash-password.html +++ b/7.1/manual/hash-password.html @@ -44,7 +44,7 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -
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
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
Protecting your passwords
For protecting the user passwords or other sensitive data, +
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
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
Protecting your passwords
For protecting the user passwords or other sensitive data, we can use ocaml-safepass.
We can now write the encrypted password in our database diff --git a/7.1/manual/how-do-i-create-a-cryptographically-safe-identifier.html b/7.1/manual/how-do-i-create-a-cryptographically-safe-identifier.html index a6e07d2f..1b5d3c7a 100644 --- a/7.1/manual/how-do-i-create-a-cryptographically-safe-identifier.html +++ b/7.1/manual/how-do-i-create-a-cryptographically-safe-identifier.html @@ -44,4 +44,4 @@
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
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
Warning: Reason support is experimental. We are looking for beta-tester and contributors. -