🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fa.caml
Article #97

Re: [Caml-list] An easy tutorial to js_of_ocaml?

#97
From: Barbara Lepage (db0)
Date: Thu, 20 Dec 2012 17:56
21 lines
2026 bytes
Hi,

On Thursday, December 20, 2012 5:41:11 PM UTC+1, bob zhang wrote:
> I am absolutely a newbie in javascript, is there some simple working
> examples online?

You can find several examples of projects using js_of_ocaml on the
documentation page: http://ocsigen.org/js_of_ocaml/
The source code of these examples is availailable on the darcs
repository: http://ocsigen.org/darcsweb/?r=js_of_ocaml;a=tree;f=/examples

If you want to use javascript mixed with standard server-side web
actions, I recommend you to use Eliom too.
The tutorial page (http://ocsigen.org/tutorial/) is a good start. The
first tutorial (http://ocsigen.org/tutorial/application) explains
server and client interactions.

Let me know if that helps,

-- 
db0 sur http://db0.fr/
Technical Details
Message-ID: <7f60bbcb-5a25-4fc9-b878-fc8081cbe8bb@googlegroups.com>
Path: arc1-ca.pugleaf.net!k2ni865qap.0!nntp.google.com!ee4no1207416qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <fa.FJUwiHb9MCpx1s04UJaSR5DeNOI@ifi.uio.no>

Show Full Headers
Complete Article Headers
X-Google-Thread: c0fe4b917e,5f0bbc00731a37de
X-Google-Attributes: gidc0fe4b917e,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
X-Received: by 10.224.207.66 with SMTP id fx2mr4971688qab.7.1356026161559;
        Thu, 20 Dec 2012 09:56:01 -0800 (PST)
Received: by 10.49.35.77 with SMTP id f13mr1536384qej.4.1356026161501; Thu, 20
 Dec 2012 09:56:01 -0800 (PST)
Path: arc1-ca.pugleaf.net!k2ni865qap.0!nntp.google.com!ee4no1207416qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: fa.caml
Date: Thu, 20 Dec 2012 09:56:01 -0800 (PST)
In-Reply-To: <fa.FJUwiHb9MCpx1s04UJaSR5DeNOI@ifi.uio.no>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=46.126.93.2; posting-account=JTN7owoAAADOb0sf-PIFn9TRV1SmwmD4
NNTP-Posting-Host: 46.126.93.2
References: <fa.FJUwiHb9MCpx1s04UJaSR5DeNOI@ifi.uio.no>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7f60bbcb-5a25-4fc9-b878-fc8081cbe8bb@googlegroups.com>
Subject: Re: [Caml-list] An easy tutorial to js_of_ocaml?
From: "Barbara Lepage (db0)" <db0company@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Injection-Date: Thu, 20 Dec 2012 17:56:01 +0000
Content-Type: text/plain; charset=ISO-8859-1