Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

[WIP] Ocsigen (OCaml Web Server + Framework) sample code to illustrate the "Quick HowTo".

branch: master
README.md

Ocsigen-Quick-Howto

Ocsigen is a poweful web server and framework in OCaml. The documentation is providing these sample codes in the "Quick Howto" section.

Test it!

To test these examples, type:

./make.sh example_directory

Replace "example_directory" with one of the following available examples.

This script will generate a Makefile and a configuration file then compile and launch an ocsigen server.

Available examples

Page

The famous "Hello World" in Ocsigen!

Skeletton

Avoid copy-pasting header-footer code by making a page skeletton

CSS

Make your website beautiful by adding some CSS

Elements

So many HTML5 elements available, which one will I choose?

Parameters

Get parameters in your pages services

Js

Need to add an external Javascript script?

Call Js after form submission

Call Javascript right after a form is submitted

Copyright/License

 Copyright 2012 Barbara Lepage

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.

Author

Up to date

Latest version of this project is on GitHub: https://github.com/db0company/Ocsigen-Quick-Howto/

Something went wrong with that request. Please try again.