Posted
almost 9 years
ago
by
Ocsigen team
Ocsigen Js_of_ocaml 1.1 has been released.
It contains several bugfixes and a binding for WebGL (3D graphics, for compatible browsers).
|
Posted
almost 9 years
ago
by
Ocsigen team
We are happy to announce release 2.1 of Ocsigen Eliom.
With Eliom, you can implement client-server Web applications fully in OCaml.
Client parts, delimited by a syntax extension, are automatically extracted
from
... [More]
the application source code and compiled to Javascript using the
Js_of_ocaml compiler.
Eliom also provides very powerful tools to implement classical Web sites, and
makes it possible to mix usual Web interactions with advanced client side
features.
Links:
Main changes in this version
Eliom project's page
Ocsigen tutorial
The example of the tutorial
Ocsigen project
Vincent Balat [for the Ocsigen team]
[Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
Version 2.2 of the OCaml Web framework Ocsigen Eliom has just been
released. Ocsigen Eliom makes it possible to write client/server Web
applications fully in OCaml. This release is mainly a simplification
of the module structure. An update
... [More]
of Js_of_ocaml, Server and TyXML
has also been released.
More information and download from http://ocsigen.org.
The main features of the Ocsigen suite are:
Powerful mechanisms to implement traditional Web interaction very easily
(links, forms, bookmarks, back button ...).
A compiler from OCaml to Javascript to write the client side parts
of your programs in OCaml.
Integrated client/server programming in one single program, with
automatic communication between server and client.
Validation of HTML at compile time.
Powerful session mechanism
Persistant client side programs: you can mix client side features
with traditional Web interaction. The program does not stop when you press
a link!
The Ocsigen framework combines many software projects (all open source),
that can be used independently:
Ocsigen server: an extensible Web server
Eliom: a framework for Web programming in OCaml
Js_of_ocaml: a compiler from OCaml bytecode to Javascript
Lwt: a cooperative threading library
Macaque: a library for type safe database queries
O'Closure: a binding for the Google closure widget library
etc. The full list of our projects is available here.
Links:
Main changes in this version
The full changelog
A map of Eliom's modules
Eliom project's page
Ocsigen tutorial
The example of the tutorial
Ocsigen project
[Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
The Ocsigen cheatsheet is available here.
It summarizes the main notions you need to remember when writing an application with Eliom
and the structure of modules. Keep it within reach while coding!
Writing a client server Web application
... [More]
with Eliom is not difficult:
The powerful service identification mechanism makes straightforward to program traditional Web interaction (links, forms, back button, bookmarks).
It provides a fine control on the shape of your URLs, and makes possible to create dynamically new services dedicated to one user.
Session data is saved on server side in a special kind of references with limited scope (whose value is different for each browser). And it is also possible to limit the scope to one tab of a browser, or to group together several browser session (for example all the sessions for one user).
Eliom makes possible to write client-server Web applications in one piece of code. As you have only one program, the communication between the browser and the server is very easy: for example you can just use server side variables in your client code! This makes possible to write complex distributed programs in very few lines of code.
Eliom applications are fully compatible with traditional Web interaction: the client side program does not stop when you navigate on the Web site!
More information on Ocsigen's Web site.
[Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
A short HOWTO on binding JS libraries for Js_of_ocaml is available
here.
To get more frequent annoucements about Ocsigen, follow us on
Twitter,
Google+, or
Facebook.
|
Posted
almost 9 years
ago
by
Ocsigen team
[Announcement for the french speaking Ocsigen Day dedicated to OCaml
programmers. December 14 at IRILL. English version below]
JFLO’12
Journée Francophone de Leçons sur Ocsigen —
Développement d'applications Web en OCaml
Nous organisons
... [More]
une journée didactique autour d'Ocsigen dédiée aux
programmeurs OCaml. Cette journée aura lieu le 14 décembre à l'IRILL (cf
infos pratiques plus bas). Vous êtes invités à vous inscrire en ici :
Inscription
Au programme, des cours et tutoriels sur les principaux composants du
projet Ocsigen :
Programmation concurrente avec Lwt ;
Programmation côté client avec le compilateur Js_of_ocaml ;
Programmation d'applications Web client-server avec Eliom.
Informations pratiques :
LIEU : Salle ORANGE, 5e étage, Inria, 23, avenue d'Italie,75013 Paris
DATE : Vendredi 14 Décembre de 10h00 à 18h00.
les cours seront en français ;
il est fortement conseillé de venir muni de son ordinateur portable ;
si possible avec une version récente d'Eliom installée.
To get more frequent annoucements about Ocsigen, follow us on
Twitter,
Google+, or
Facebook.
[Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
I'm happy to announce release 1.3 of Js_of_ocaml, a compiler from
OCaml bytecode to Javascript. This release is compatible with OCaml
4.x. It adds WebSocket bindings and fixes a number of bugs.
Links
Project home page
Download
Get source
... [More]
code: darcs get http://ocsigen.org/darcs/js_of_ocaml/
Documentation
Changes
Features/Changes
Runtime and toplevel updates to support OCaml 4.0
Add WebSocket bindings
Added -debuginfo option to output source code location information
(patch by Kensuke Matsuzaki)
Dom_html: added change, input and hashChange event bindings
Bugfixes
Fix array and string blitting with overlapping regions
Url module: fix encoding of '+'
Library: use 'this' instead of 'window' for better portability
Dom_html: fix creation of elements with type or name attribute
under IE 9
Compiler: small fix to bytecode parsing that could result in
incorrect generated code
Dom_html: fix mouse wheel event bindings
Dom: fix the type of item methods
Deriving_json: tail-recursive serialisation of lists (by Hugo Heuzard)
Deriving_json: fix parsing of float arrays and polymorphic variants
(by Hugo Heuzard)
-- Jérôme Vouillon
To get more frequent annoucements about Ocsigen, follow us on
Twitter,
Google+, or
Facebook.
[Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
we are celebrating Ada's birthday by bringing out a major update of
Eliom - the advanced framework for client/server web applications in
OCaml - and some minor updates for Ocsigenserver and Tyxml.
Here is a list of major new features (and
... [More]
short code snippets can be
found at the end of this email):
The tightest integration of client value within the server code
ever made possible in a major statically typed programming
language [1]
Easy access to top-level server values - and (Lwt-)functions -
from within the client code [2]
Access to other users' states of Eliom references
Improved support of Eliom's source files in the compilation tools
eliom{c,opt,dep}
A new tool, eliom-destillery, for creating basic projects fast &
easy
The manual, a cheat-sheet, a comprehensive tutorial, and the
API-documentation of the various Ocsigen projects are available on
http://ocsigen.org.
The probably simplest and most generic way to install Eliom is by
using OPAM. But also Debian packages are already available (in
experimental, thanks Stéphane!), Gentoo-ebuilds are on their way, the
Ocsigen-bundle is still at hand, and the archives can be found at
http://ocsigen.org/eliom/install.
And maybe you may want to become social with us on
Twitter
Google +
Facebook
Enjoy!
-- The Ocsigen-team
[1]
{server{ (* This marks server-side code *)
let value_history_on_client =
{ref string{ ref [] }} (* A client value within the server code *)
let _ = My_app.register_service ~path ~get_params
(fun value () ->
(* Push the GET parameter to the client's history a side effect *)
ignore {unit{
%value_history_on_client := %value :: ! %value_history_on_client
}};
Lwt.return html)
}}
[2]
{server{
let f = server_function Json.t [Less]
|
Posted
almost 9 years
ago
by
Ocsigen team
A beta version of Besport is available for testing. Besport is a social network developed using Ocsigen Eliom in California. Besport helps you connect and share sport with the world.
Links:
Besport
A video presenting Besport
|
Posted
almost 9 years
ago
by
Ocsigen team
[Reposting here the message posted on the Ocsigen list in January]
Small report on the activity of the Ocsigen project in 2013 and forecasts for 2014.
In 2013, Ocsigen has grown a lot, with 5 new projects:
Goji: an OCaml bindings
... [More]
generator for JS libraries
Ojwidgets: native OCaml widgets for js_of_ocaml
Eliom-widgets: client-server widgets for Eliom
Ojquery: a binding for JQuery, JQuery mobile, and JQuery UI
Eliom Base App: A higher level library for Eliom and a template for Eliom
distillery for building applications with user management (registration, pre-
registration, activation links) in 5 seconds.
These projects are still in development and will probably be released in 2014.
In the next few weeks, we will release new major versions of Js_of_ocaml and
Eliom, which will include many contributions from besport.com. Many thanks to
them, and to all other contributors!
Among new features:
A first version of Eliom mobile (writing mobile applications with Eliom and
Apache Cordova)
Reactive DOM (automatic update of the user interface using React)
Reduction of the size of the JS generated by Js_of_ocaml
A few surprises are also coming in the next few weeks. Keep in touch!
[Less]
|