caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Barbara Lepage (db0)" <db0company@gmail.com>
To: fa.caml@googlegroups.com
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] An easy tutorial to js_of_ocaml?
Date: Thu, 20 Dec 2012 09:56:01 -0800 (PST)	[thread overview]
Message-ID: <7f60bbcb-5a25-4fc9-b878-fc8081cbe8bb@googlegroups.com> (raw)
In-Reply-To: <fa.FJUwiHb9MCpx1s04UJaSR5DeNOI@ifi.uio.no>

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/

       reply	other threads:[~2012-12-20 17:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.FJUwiHb9MCpx1s04UJaSR5DeNOI@ifi.uio.no>
2012-12-20 17:56 ` Barbara Lepage (db0) [this message]
2012-12-20 16:41 bob zhang
2012-12-20 20:31 ` Pierre-Etienne Meunier
2012-12-21  3:58   ` Hongbo Zhang
2012-12-21  9:45     ` Çagdas Bozman
2012-12-21 16:56       ` Ashish Agarwal
2012-12-21 17:05       ` Gabriel Scherer
2012-12-21 20:55       ` bob zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7f60bbcb-5a25-4fc9-b878-fc8081cbe8bb@googlegroups.com \
    --to=db0company@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=fa.caml@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).